![Page 1: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/1.jpg)
Usi
Ping SC
in F
PSIMCI for W
2833x
Ja
- 1 -
M TutWavefo
x/F280
anuary 2015
toriaorm M
03x Ta
5
al Monitor
rget
Powwww.powersi
ring
wersim Inc. mtech.com
![Page 2: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/2.jpg)
With the run codeCommuncapabilityextremelyway.
This tutoand in ha
To illustrthe foldeF2833x TTarget inExperimeNumber
To keep folder as
1. SCI
PSIM sup
F2
TI dif
For
-
-
For
- - - -
For
-
F2
Tco
- -
PSIM
SimCoder Ms for DSP bo
nication Intery to display y easy to tes
orial describeardware to ac
rate the procr “3-ph sine Target” for tn the PSIM denter's Kit TTMDSDOC
the original the working
in TI F28
pports DSP
2833x Targe
F2833x serifferent GPIO
r SCIA:
GPIO28 a(Tx, or ouGPIO35 a
r SCIB:
GPIO9 asGPIO14 aGPIO18 aGPIO22 a
r SCIC:
GPIO62 a
2803x Targe
TI F2803x serommunicatio
GPIO28 aGPIO7 as
M supports on
Using SCI f
Module and oards that usrface (SCI) bwaveforms
st, debug, an
es the SCI blchieve the re
cess, we will wave with S
the F2833x Tdirectory. WeTMS320F283CK28035).
example ung folder in th
833x/F2803
Oscilloscop
et
ies DSP has O ports for co
as the SCI rutput) pin. as the receiv
s the receivinas the receivas the receivas the receiv
as the receiv
et
ries DSP hason, as listed
as the SCI res the receivin
nly one of th
for Waveform
the F2833x/se TI F2833xblocks in theand change pd adjust DSP
locks, SCI caeal-time mon
use the circSCI” as an eTarget, and “e will genera335 (Part Nu
changed, wehis tutorial.
3x
e for F2833x
3 SCI ports:ommunicatio
receiving (R
ing pin, and
ng pin, and Ging pin, and ing pin, and ing pin, and
ing pin, and
s 1 SCI portbelow:
eceiving pin,ng pin, and G
he above SC
Monitoring in
- 2 -
/F2803x Harx/F2803x sere F2833x/F2parameters iP control co
able, and thenitoring.
uit “3-ph sinxample. Thi“examples\Sate the code umber TMD
e will copy t
x and F2803
SCIA, SCIBon, as listed b
Rx, or input)
GPIO36 as
GPIO11 as thGPIO15 as GPIO19 as GPIO23 as
GPIO63 as
: SCIA. It c
, and GPIO2GPIO12 as th
I port combi
n F2833x/F28
rdware Targeries DSP. By
2803x Targetinside the Dde in a non-
e setup proce
ne wave withis folder is lo
SimCoder\F2from this ciSDOCK283
the whole fo
3x Targets.
B, and SCICbelow :
) pin, and G
the transmit
he transmittithe transmitthe transmitthe transmit
the transmit
can use differ
29 as the SCIhe transmitti
inations at a
803x Target
et, PSIM cany using the St library, PSSP in real timdisruptive an
edure in the
h SCI monitocated in “ex2803x Targeircuit and run335) or TMS
older to “c:\T
C. Each SCI
GPIO29 as t
tting pin.
ing pin. tting pin. tting pin. tting pin.
tting pin.
rent GPIO p
I transmittining pin.
any time as R
Powewww.powersim
n generate reSerial IM offers thme. This mand non-intru
PSIM schem
oring.psimscxamples\Simt” for the F2n it on the T
S320F28035
TI SCI”, and
port can use
the SCI tran
ports for
ng pin.
RS-232.
ersim Inc. mtech.com
eady-to-
he akes it usive
matic
ch" in mCoder\ 2833x I (Part
d use this
e
nsmitting
![Page 3: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/3.jpg)
2. RS-2
To commcomputerfor groun
A 9-pin Dserial porconnecto
The figurDSP end(female) USB/RS-
A pictureOn the E
T
232 Cable
municate withr. This cablend (Gnd). Th
DB-9 connecrt. If a comp
or (male) nee
re below shoconsists of to connect t-232 serial a
e of the TI EExperimenter
Rx
Tx V33 Gnd
Tb
TI kit board
O
TI kit
Using SCI f
e
h the compue needs 3 wirhe connectio
Tx
Rx
Gnd
ctor (femaleputer does noeds to be use
ows the conna 4-pin head
to the compuadapter with
Experimenterr kit, the 4-pi
Tx
Rx
Gnd
To DSP board
On DSP board
for Waveform
uter, a RS-23res: One for ns on each e
) is used on ot have the seed.
nection diagrder connectouter serial pothe DB-9 co
r kit, the cabin connector
side
4-pin connecfor the cable
Monitoring in
- 3 -
32 cable is nereceiving (R
end of the ca
the cable soerial port, an
ram of the car, and the co
ort. If a comonnector (ma
le, and the Ur is labelled a
Cable
ctor
n F2833x/F28
eeded to conRx), one for able are show
that it can bn USB/RS-2
able made foomputer end
mputer does nale) can be u
USB/RS-232as "Tx V33
On co
Cable
803x Target
nnect the DStransmitting
wn below:
Rx
Tx
Gnd
be connected232 serial ada
or the TI evad uses a 9-pinnot have a seused.
2 serial adaptGnd Rx".
omputer side
Powewww.powersim
SP board to tg (Tx), and a
d to the compapter with th
aluation kitsn DB-9 connerial port, an
tor is shown
To comUSB/Radapto
USB / RS232 adap
ersim Inc. mtech.com
the another
puter he DB-9
. The nector n
n below.
mputer or RS-232 or
S-ptor
![Page 4: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/4.jpg)
t if the USB/or download
e USB/RS-23r Device Mare shows tha
are multiple sand plug it bwhen defini
ting the Co
f the commuif the comm
st 1: DSP O
will run the
F2833x TargDSP RxTx Te
The DSP The DSP The baud
F2033x targeDSP RxTx Te
The DSP
Using SCI f
/RS-232 adathe latest dr
32 adaptor danager from at the RS-232
serial deviceack in to fining the comm
ommunica
unication betwmunication do
nly
program DS
et, this progrest". The test
external freqinner frequerate of RS-2
et, this progrest". The test
uses the inn
for Waveform
aptor is usedriver from th
driver is instathe Control 2 serial port
es connectedd out the por
munication w
ation betw
ween DSP aoes not work
SP_Rx_Tx_T
ram is locatet program m
quency is 30ency is 150M232 commun
am is locatet program m
ner clock and
Monitoring in
- 4 -
, one needs the adaptor m
alled, plug inPanel to findis COM3.
d to the comprt number. R
with DSP.
ween DSP a
and the compk, perform th
Test.out on D
ed in the PSImakes the fol
0MHz. MHz (PLL isnication is 1
d in the PSIMmakes the fol
d the frequen
n F2833x/F28
to first instalmanufacturer
n the adaptord the RS-232
puter, try to Remember th
and Comp
puter works,he three tests
DSP board.
IM folder "elowing assu
s 10 times) 15200bps.
M folder "exlowing assu
ncy is 60MH
803x Target
ll the driver website.
r to the comp2 port numb
unplug the Uhis port num
puter
or to isolates below.
examples\Simumptions:
xamples\Simumptions:
Hz.
Powewww.powersim
that comes w
puter and opber, as shown
USB/RS-232mber as it is n
e and debug
mCoder\F28
mCoder\F280
ersim Inc. mtech.com
with the
pen n below.
2 needed
the
833x
03x
![Page 5: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/5.jpg)
-
Please coinner clo
This progthe data wsuccessfu
Follow th
-
-
-
The f
-
- - -
If the comControlC
The baud
ontact Powerck frequency
gram sends owill be loopeul, it means t
he steps belo
Connect tpower on Connect t"Tx V33 GUse a wirshown he
following ste
Launch Cbeen creaTartget Ccreate a nthe "Targfile (.ccxmSelect RuSelect RuSelect Ru
mmunicationCard will be o
Using SCI f
rate of RS-2
rsim for an ay.
out the data ted back and that the seria
ow to perform
the TI Experthe Experim
the 4-pin conGnd Rx") onre to short tre:
eps are differ
CCS. Assumated in CSS.Configuratinew target cget Configurml) and selecun >> Conneun >> Load un >> Free R
n works, the on. The loca
for Waveform
232 commun
alternative te
through the the DSP wil
al communic
m the test:
rimenter's kmenter's kit. nnector end n the Experimthe Rx pin
rent dependi
me that the ta If there is ion in Tutoconfigurationations" panect Launch Sect Target t>> Load Pr
Run to run t
two red LEDations of thes
Monitoring in
- 5 -
nication is 1
est program i
DSP SCI poll receive thecation on the
it to the com
of the RS-2menter kit b(pin 2) and
ing on the C
arget configno target co
orial - Auton. In CCS, sel, right clicSelected Conto connect torogram to lohe program
D lights LD2se two LED'
n F2833x/F28
15200bps.
if the DSP y
ort. The RS-2e same data e DSP side is
mputer throu
232 cable to oard. Tx pin (pin
CCS version.
guration for onfiguration o Code Genselect View ck at the cornfigurationo the target boad “DSP_Rin the target
2 and LD3 o's are shown
803x Target
you are using
232 cable wthat it sendss working.
ugh the USB
the 4-pin co
n 3) of the
If CCS v5.5
F28335 or suit your ta
neration for>> Target
rresponding in the pop-u
board RxTx_Test.ot board.
on the F2833n below (circ
F2
F
Powewww.powersim
g has a differ
ill be shorteds out. If the t
B cable. Turn
onnector (lab
DB-9 conne
5 is used:
F28035 hasarget, refer tr F2833x Ta
Configurattarget confi
up menu.
ut” file.
35/F28035 cled in red):
28335 contro
F28035 contr
ersim Inc. mtech.com
rent
d so that test is
n on the
belled as
ector, as
already to 4. Set
Target to tions. In guration
olCard
rolCard
![Page 6: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/6.jpg)
3.2 Tes
This test The RS-2the samethe comp
Follow th
-
- -
-
3.3 Tes
This test sent by Dthe DSP.computer
Follow th
-
- -
If Test 1 problems
-
-
-
4. Setti
In PSIM,SCI", as
st 2: Compu
will run a pr232 cable widata that it
puter side is w
he steps belo
Connect tUSB adapUse a wirLaunch PSet the baClick on tsuccessfu
st 3: DSP an
will run botDSP will be r If the test isr is working
he steps belo
Set up in DB-9 conadapter toRun the teOn the DSred LED and the co
and Test 2 as:
RS-232 Cthe compcomputer DSP cloc30 MHz. Baud rate115200 bp
ing up in P
, load the schshown on th
Using SCI f
uter Only
rogram on thill be shortedsends out. Ifworking.
ow to perform
the USB adapter. re to short thPSIM. Selectaud rate as 1the Test but
ul".
nd Compute
th the DSP tereceived by s successful,.
ow to perform
the same wnnector, conno the computest program SP Oscillosclights on theomputer prog
are successfu
Cable: Doubluter side is side is connk frequencyIf it is not 30
e: The baud ps.
PSIM
hematic file he left below
for Waveform
he computerd so that the f the test is su
m the test:
apter to the c
he Rx pin andt Utilities >>15200, and ptton. If the c
er
est program the compute it means tha
m the test:
way as in Tenect the DBter. in Test 1.
cope, click oe DSP contrgram will re
ul, but Test 3
le check to mconnected t
nected to they: The test pr0 MHz, the crate on the
“3-ph sine ww.
Monitoring in
- 6 -
r to send out data will beuccessful, it
computer, an
d Tx pin of t> DSP Oscilparity as No
communicati
and the comer, and data sat the serial
st 1. But ins-9 connector
on the Test brolCard will eport "The te
3 is unsucces
make sure thto the Tx pi Rx pin on throgram assucommunicatcomputer in
wave with SC
n F2833x/F28
the data throe looped backt means that
nd the DB-9
the 4-pin conlloscope. Setne. ion works, th
mputer test prsend by the ccommunicat
stead of shor to the USB
button. If theblink for ar
est is success
ssful, there a
hat the cable in on the Dthe DSP sideumes that thetion will not n PSIM's D
CI monitorin
803x Target
ough the comk and the cothe serial co
9 end of the
nnector of tht the correct
he dialog wi
rogram at thcomputer wition between
rting the RxB adapter, an
e communicaround 3 sec. sful".
are several li
is crossed sSP side, and
e. e DSP boardwork. SP Oscillos
ng.psimsch”
Powewww.powersim
mputer seriaomputer will ommunicatio
RS-232 cab
he RS-232 cat serial port
ill show "Th
he same timeill be receiven the DSP an
x and Tx pinnd connect t
ation works,before they
ikely causes
so that the Rd the Tx pin
d clock frequ
cope must b
” in the folde
ersim Inc. mtech.com
al port. receive
on on
ble to the
able. number.
he test is
e. Data ed by nd the
ns of the the USB
, the two y are off,
of the
Rx pin on n on the
uency is
be set to
er "C:\TI
![Page 7: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/7.jpg)
In the cirSCI Inpubelow. TF2803x T
4.1 SC
The SCI
-
rcuit, there aut (highlightehese elemenTarget.
CI Configur
Configuratio
SCI Port:
Fo
Using SCI f
re 3 types ofed in grey), ants can be ac
ration
on element h
For F2833x
- - - - - - -
or F2803x, d
- -
for Waveform
f SCI libraryand SCI Outpccessed by go
has four para
x, defines th
SCIA (GPIOSCIA (GPIOSCIB (GPIOSCIB (GPIOSCIB (GPIOSCIB (GPIOSCIC (GPIO
defines the S
SCIA (GPIOSCIA (GPIO
Monitoring in
- 7 -
y elements: Stput (highlighoing to Elem
ameters:
he SCI port f
O28, GPIO2O35, GPIO3O9, GPIO11O14, GPIO1O18, GPIO1O22, GPIO2O62, GPIO6
CI port from
O28, GPIO2O7, GPIO12
n F2833x/F28
SCI Configurhted in yello
ments >> Sim
from the foll
29) 36) ) 5) 9) 3)
63)
m the followi
29) 2)
803x Target
ration (highow), as explamCoder >>
lowing list:
ing list:
Powewww.powersim
hlighted in grained in the F2833x Ta
For F2
For F2
ersim Inc. mtech.com
reen), sections arget or
28335
28035
![Page 8: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/8.jpg)
-
-
-
4.2 SCI
To adschemschemwill bwill bthe D
In a s
4.3 SCI
To monitOutput elused in bsubcircuievent or
In a sche
The SCI out. If thebe sent fr
To calculand otherone byte
With the parity chwill be 1
The time
For examout one dto 1/0.00
Speed (bp
Parity Ch
Output Bu
I Input
djust a parammatic. The Smatic and sube used untilbe sent to the
DSP at run tim
schematic, up
I Output
tor and displlement on th
both the mainits. The wavinterrupt sub
matic, up to
Output eleme Data Pointrom DSP to
late the timer informationof data, one
parity chececk bit, and 0 (1 start bit
e that it takes
mple, if the Sdata point wi0694 = 1440
Using SCI f
ps):
heck:
uffer Size:
meter inside SCI Input eleubcircuits. Anl it is changee DSP throume.
p to 127 SCI
lay the wavehe schematicn schematic eform of a Sbcircuit.
127 SCI Ou
ment has onet Step is set tthe compute
e that it takesn take 2 byte
e start bit and
ck, the total b1 stop bit), a
t, 8 data bits,
s to send one
SCI communill take 10 * 0 data points
for Waveform
Define A list o38400, speed m
Define commu
Define The buelemenwords (
the DSP at rement behaven initial valued. Users cangh the SCI c
I Input elem
eform of a sic. The SCI Oand subcircu
SCI Output e
utput elemen
parameter: to 5, for examer.
s to send onees, making itd one stop bi
bit lenght forand without , and 1 stop b
e data point c
Total Bit
nication spee8 / 115200,
s in one seco
Monitoring in
- 8 -
the SCI comof preset spee
19200, or 9manually.
the parity chunication. It
the size of tffer is locate
nt stores one (that is, 6 by
run time, onees as a signaue can be setn change thecommunicati
ments can be
gnal inside tOutput elemeuits other thaelement will
nts can be us
Data Point Smple, only 1
e data point, t 8 bytes in tit, and possib
r one data bythe parity chbit).
can be calcu
Length * 8
ed is 115200 or 0.000694
ond.
n F2833x/F28
mmunicationeds is provid600 bps. Or
heck setting can be None
the data buffed in the RAdata point w
ytes, or 48 bi
e can use a Sal source, ant for the SCIe parameter oion, and the
used.
the DSP at ruent behaves aan event subbe incorrect
sed.
Step. It defin1 points out o
a data pointtotal for one bly one parit
yte will be 1heck, the tot
ulated as foll
/ SCI Speed
bps, and no4 sec. In anot
803x Target
n speed, in bpded at 20000one can spe
for error che, Odd, or Ev
fer allocated AM area, andwhich consisits, per data p
SCI Input eled can be use
I Input elemeon the compparameter w
un time, oneas an output bcircuits andt if the eleme
nes how freqof every ava
t has 6 bytes data point. Wty check bit,
1 (1 start bittal bit lenght
ows:
d
o parity checkther word, D
Powewww.powersim
ps (bits per s00, 115200, 5ecify any oth
eck in ven.
in DSP for d each bufferts of three 1point).
ement in theed in both thent, and this uter. The ch
will be updat
e can place aprobe, and c
d interrupt ent is inside
quent the datailable 5 poin
s, and the comWhen sendin, need to be a
t, 8 data bitst for one data
k is used, seDSP can send
ersim Inc. mtech.com
second). 57600,
her
SCI. r 6-bit
e e main value
hange ted on
a SCI can be
an
ta is sent nts will
mmand ng out added.
s, 1 a byte
ending d out up
![Page 9: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/9.jpg)
5. Gen
One can values of
To gener
- -
-
-
-
-
-
6. Mon
As the cofollowing
-
- -
Also, set element iNone.
Under ODSP to thsend out will be le
nerating an
simulate thef SCI Input e
rate the code
Generate Connect tExperimecomputer Also, maksome reasCodeComStart CCSproject frschematicFinish to the ProjecRight clicfrom the pSelect VicorresponconfiguraCode Genyour projeClick on upload prfunction.
nitoring W
ode is now rug the steps b
Connect tother endIn PSIM, Under PoFor exam
the baud ratin PSIM. In
peration mohe computerall the data,
ess than 100%
Using SCI f
nd Runnin
e circuit by selements wil
e, and upload
code by selethe DSP bo
enter's Kit hadirectly wit
ke sure that son, if the c
mposerStudioS. Select Prorom the subc folder in thtransfer CC
ct Explorer. ck on the prpop-up menuiew >> Targnding user deation suit youneration forect. the project
rogram to theSelect Run
Waveforms
unning in thebelow. Note t
the RS-232 . If the compselect Utilit
ort settings, ple, if the se
te and the pathis example
ode, choose r continuouslsome data w
%.
for Waveform
ng Code on
selecting Simll be fixed at
d and run it o
ecting Simulard to the cas an onboarthout an exte
the USB/Rcomputer is o cannot estaoject >> Imbfolder “3-phe pop-up di
CS v3.3 proje
oject name u to build thget Configuefined configur target, refr F2833x Ta
name in thee target. Aft>> Free Ru
s and Adju
e DSP, we cthat the DSP
cable to theputer does noties >> DSP
set the serierial port is C
arity check toe, the baud r
Continuously. In the caswill be lost a
Monitoring in
- 9 -
n DSP
mulate >> Rt their initial
on the DSP u
late >> Gencomputer wird XDS100 Uernal JTAG e
RS-232 adaptconnected toablish the co
mport Legacph sine wavialog windowect to CCS v
in the Projeis example.
urations to guration (.ccfer to 4. Setarget to crea
e Project Exer the progra
un to run the
usting Par
can monitor wP will not sen
e DSP boarot have the sOscilloscopal port num
COM3, set th
o be the samrate is set to
. In the Conse where the
and the Data
n F2833x/F28
Run Simulatvalues.
under CCS v
nerate code.ith the USBUSB emulatemulator. tor is discono the DSP b
onnection wicy CCSv3.3 ve with SCw. In the diav5.5. The pr
ect Explorer
open the tarcxm file) to t Target Coate a new tar
xplorer panelam is upload
e program.
rameters
waveforms and out any d
rd on one enserial port, upe. The dialo
mber to be thhe serial por
me as defined115200bps,
tinuous opere communica
Integrity (sh
803x Target
tion. In the s
v5.5, follow
B cable. In th
tor, and can
nnected fromboard via thith the DSP.
project andCI monitorinalog windowroject name
panel and s
rget configuthis project.
onfigurationrget configu
l, and selectded, CCS wi
and change pdata until it is
nd, and to thuse an USB/Rog window ihe same as ort number to
d in the SCI and the pari
ration mode,ation speed ihown at the
Powewww.powersim
simulation, th
the steps be
his examplebe connecte
m the compue RS-232 ca
d load the geng (C code)w, click on N
will be disp
select Build
uration, and . If there is nn in Tutoriauration and l
t Run >> Dill stop at th
parameters s requested.
he computeRS-232 adapis shown belone found in
3.
Configuratity check is
, data are senis not fast enlower left co
ersim Inc. mtech.com
he
low:
e, the TI ed to the
uter. For able, the
enerated )” of the Next and played in
Project
link the no target al - Auto link it to
Debug to e main()
r on the pter. ow.
n Step 2.
tion set to
nt from nough to orner)
![Page 10: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/10.jpg)
ther hand, inthe completee sent out, thaptured every
Click on tIf connecside of the
If connect
Make sureMake suOscilloscoMake sureIf an USBas instruc
Using SCI f
n the Snap-she data set wihe buffer wily time.
the Connectction is succe window, a
tion cannot b
e that the serre that the ope are the se that the RS
B/RS-232 adted.
for Waveform
hot operationill be displayll be refilled
t button in thcessful, all oas shown in t
be establishe
rial port numcommunic
same as in thS-232 cable daptor is use
Monitoring in
- 10 -
n mode, everyed on the Dd. In this mod
he lower leftoutput and inthe figure be
ed, please ch
mber is correcation speedhe SCI Confis connected
ed, make sur
n F2833x/F28
ry data poinDSP Oscilloscde, the data i
t corner to conput variabl
elow.
heck the follo
ect. d and parityfiguration ed properly onre that neces
803x Target
nt in the DSPcope. After ais not contin
onnect the coles will be d
owing:
ty check seelement in PSn both ends. ssary driver
Powewww.powersim
P buffer will all the data i
nuous, but a s
omputer to tdisplayed in
ettings in thSIM.
is installed p
ersim Inc. mtech.com
be sent in the snap-
the DSP. n the left
he DSP
properly
![Page 11: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/11.jpg)
-
- -
-
-
-
-
-
-
Make surDSP ClocMake sureIf the prob
To displaythe variabto the Seldisplayed
To removclick on thChange inDSP codeInput elemvariable (To changThe new changed fCheck daIntegritysuccessfuIf the datafact that resource tData Poinneed to befrom Con
Using SCI f
e that the DSck element ie that the DSblem still pe
y waveformbles from theected variab
d in the scope
ve a variablehe << buttonnput variable. Input variament Anglesuch as the v
ge an input vvalue will b
from 1 to 0.5ata integrity. If the data
ully transmitta integrity isthe requesteto send it. Ifnt Step valuee transmitted
ntinuous to S
for Waveform
SP external n PSIM. SP code is ruersists, please
s of output ve All Variabbles columne, as shown b
e from displn. les. Input vaables are defStep in thisvariable Ampvariable, entebe sent to DS5, the frequen. The lowera integrity isted and displs less than 1ed data amof this occurse in the SCId and display
Snap-shot.
Monitoring in
- 11 -
clock on the
unning. e run the tes
variables defbles column,n. The wavefbelow.
lay, highligh
ariables are fined either s example), p in this exaer the new vSP. For examncy of the wr left corners 100%, it mlayed. 00%, it mea
ount is too s, show a feI Output elemyed. Alterna
n F2833x/F28
e DSP hardw
sts as describ
fined by the and click on
forms of the
ht it in the S
the parametby the SCI or if a par
ample). value in the mple, when
waveforms wr of the oscmeans that a
ans that somlarge and th
ewer numberments, so thatively, one
803x Target
ware is same
bed in Sectio
SCI Outpun the >> butselected var
Selected var
ters that canInput elemerameter is d
edit box, anthe input va
will be reducecilloscope alall the data
me data pointhe DSP doer of waveforhat fewer nucan change
Powewww.powersim
e as the settin
on 3.
t elements, stton to moveriables will b
riables colu
n be changents (such asdefined as a
nd click on ariable Angled by half. lso shows thcollected ha
ts are lost dues not have rms, or incr
umber of datthe Operatio
ersim Inc. mtech.com
ng in the
select e them be
umn, and
ed in the the SCI a global
Update. leStep is
he Data ave been
ue to the enough
rease the ta points on Mode
![Page 12: P SIM Tutoria l - Powersim · Code Gen elect View ck at the cor figuration the target b ad “DSP_R in the target and LD3 o s are shown 03x Target ou are using 32 cable w that it](https://reader034.vdocuments.mx/reader034/viewer/2022042419/5f363ba9d262e738997f9eab/html5/thumbnails/12.jpg)
-
7. Deci
There arecontinuoucommundata dispconsidera
In the snatime. Newavailablepoint, DSbuffer are
In the snabuffer at other hanavailable
To calculData Poinnumber osecond, a
For exampoints thasamplingthe requi
If the bubelow:
"Cco".
When CCgenerated
Click on disconnec
iding the S
e two operatus mode, theication speed
played in the ation of the s
ap-shot modw data will c
e. This will hSP will stop e sent out.
ap-shot moda time, if th
nd, the buffee in the DSP.
late the propnt Step of thof data pointand Nbuffer be
mple, if the bat SCI can s
g rate fs is 10red buffer si
uffer size is t
C:\TI SCI\ode)\F2833.ebss"
CS reports a d code in the
Using SCI f
the Pause ct the compu
SCI Comm
ion modes ine buffer sized. However,DSP Oscillo
snap-shot m
de, data are scontinue to bhappen if thecollecting th
de, since the e buffer sizer size canno.
per buffer sizhe SCI outputs one intende the buffer s
baud rate is 1end out in on
0 kHz, and thize as:
too big to be
\3-ph sine 35_RAM_Lnk.
link error like "Flash Rele
for Waveform
button to huter from the
munication
n DSP Oscil does not ma, in the snap-oscope. Therode.
saved to the Dbe saved to te rate of recehe data, and
DSP Oscilloe is too smallt be too larg
ze, assume thut block, fs beds to display,size, we have
buffer NN
115200 bps, ne second is
he number of
10bufferN
allocated in
wave with.cmd", lin
ke this, try tease" mode.
Monitoring in
- 12 -
halt the datae DSP.
n Buffer S
lloscope: conatter as the d-shot mode, refore, the b
DSP buffer, the availableeiving data isit will resum
oscope will dl, the display
ge as it is lim
hat there is oe the samplin, Nsci be nume:
1( display
NN
based on thes Nsci = 1440f points for d
100
1451(00
n the RAM m
h SCI monitne 47: erro
o reduce the
n F2833x/F28
a acquisition
Size
ntinuous modata integritythe buffer si
buffer size sh
and are sente buffer cellss faster than me data colle
display onlyyed wavefor
mited by the p
only one varng frequency
mber of data
)
s
scistep
f
NN
e calculation0. Also, if thedisplay Ndisp
281)000
440
memory, CC
toring (C or: run p
e buffer size,
803x Target
n, or the Di
ode and snapy is determinize determinhould be sele
t to the comps until no mothe rate of s
ection after a
y the completrm will be vephysical RA
riable to dispy of the varipoints that S
1
n in Section 4e Data Pointplay is 1000, w
81
CS will repor
placement f
, or compile
Powewww.powersim
isconnect b
p-shot mode. ned by the nes the amouected based o
puter at the sore free cellssending dataall the data in
te set of dataery short. On
AM memory
play. Let Nste
iables, Ndispla
SCI sends ou
4.3, the numt Step Nstep iswe can calcu
rt a link error
fails for
and run the
ersim Inc. mtech.com
button to
In the
unt of on the
same s are . At this n the
a in the n the
ep be the ay be the ut in one
mber of s 5, the ulated
r as
object