Usi
Ping SC
PSIMCI for W
Ja
- 1 -
M TutWavefo
anuary 2016
toriaorm M
6
al Monitor
Powwww.powersi
ring
wersim Inc. mtech.com
With the generate DSP. By the capabit extremway.
This tutoand in ha
To illustrthe foldeF2833x TTI Exper
To keep folder as
The sameas for the
1. SCI
PSIM’s D
F2
TI fol
For
-
-
For
- - - -
For
-
F2
Tco
- -
SimCoder Mready-to-runusing the Se
bility to dispmely easy to t
orial describeardware to ac
rate the procr “3-ph sine Target” for trimenter's Ki
the original the working
e example ale F2833x Ta
in TI F28
DSP Oscillo
2833x Targe
F2833x serilowing 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
Module and n codes for Derial Commu
play wavefortest, debug, a
es the SCI blchieve the re
cess, we will wave with S
the F2833x Tit TMS320F
example ung folder in th
lso exists forarget.
833x/F2803
scope suppo
et
ies DSP has O ports for c
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 the SCI res the receivin
Using SCI fo
the F2833x/DSP boards tunication Intrms and chanand adjust D
locks, SCI caeal-time mon
use the circSCI” as an eTarget. We w28335 (Part
changed, wehis tutorial.
r F2803x/F2
3x/F2802x
orts F2833x/F
3 SCI ports:communicati
receiving (R
ing pin, and
ng pin, and Ging pin, and ing pin, and ing pin, and
ing pin, and
s one SCIA
eceiving pin,ng pin, and G
or Waveform
- 2 -
/F2803x/F28that use TI Fterface (SCInge paramete
DSP control c
able, and thenitoring.
uit “3-ph sinxample. Thi
will generateNumber TM
e will copy t
2802x/F2806
x/F2806x
F2803x/F28
SCIA, SCIBion:
Rx, or input)
GPIO36 as
GPIO11 as thGPIO15 as GPIO19 as GPIO23 as
GPIO63 as
port. It can u
, and GPIO2GPIO12 as th
Monitoring
802x/F2806xF2833x/F280I) blocks in ters inside thcode in a non
e setup proce
ne wave withis folder is loe the code froMDSDOCK2
the whole fo
6x Targets, a
802x/F2806x
B, and SCIC
) pin, and G
the transmit
he transmittithe transmitthe transmitthe transmit
the transmit
use the follo
29 as the SCIhe transmitti
x Hardware T03x/F2802x/the Target libhe DSP in rean-disruptive
edure in the
h SCI monitocated in “exom this circu28335).
older to “c:\T
and the way
x Targets.
C. Each SCI
GPIO29 as t
tting pin.
ing pin. tting pin. tting pin. tting pin.
tting pin.
owing GPIO
I transmittining pin.
Powewww.powersim
Targets, PSI/F2806x serbrary, PSIMal time. Thise and non-int
PSIM schem
oring.psimscxamples\Simuit and run i
TI SCI”, and
to run it is t
port can use
the SCI tran
ports for
ng pin.
ersim Inc. mtech.com
IM can ies
M offers s makes trusive
matic
ch" in mCoder\ t on the
d use this
the same
e the
nsmitting
F2
Tco
- - -
F2
TG
Fo
-
-
Fo
- - - -
PSIM
2. Com
There areis used bycable. In described
DependinHoweverExperimecommun
TI E
F283
F280
F280
F280
Aftecomputer
2802x Targe
TI F2802x serommunicatio
GPIO28 aGPIO7 asGPIO18 a
2806x Targe
TI F2806x serGPIO ports fo
or SCIA:
GPIO28 a(Tx, or ouGPIO15 a
or SCIB:
GPIO19 aGPIO23 aGPIO41 aGPIO44 a
M supports on
mmunicati
e two ways ty Code Comthis section,
d.
ng on the DSr, hardware menter Kit andication:
Experimenter
335 controlC
035 controlC
027 controlC
069 controlC
er these chanr to the Expe
et
ries DSP hason:
as the SCI res the receivinas the receiv
et
ries DSP hasor communic
as the SCI rutput) pin. as the receiv
as the receivas the receivas the receivas the receiv
nly one of th
on via US
to communicmposer Studi, the first app
SP hardwaremust be confd controlCA
r Kit: Sho
CARD: Set
CARD: Set
CARD: Rem
CARD: No
nges on the Terimenter Ki
Using SCI fo
s one SCIA
eceiving pin,ng pin, and Ging pin, and
s 2 SCI portcation:
receiving (R
ing pin, and
ing pin, and ing pin, and ing pin, and ing pin, and
he above SC
B Cable
cate with theo to upload proach is de
e board desigfigured for th
ARD as an ex
ortcircuit Jum
t Switch SW
t Switch SW
move Resist
change as s
TI Experimenit via a USB
or Waveform
- 3 -
port. It can u
, and GPIO2GPIO12 as th
GPIO19 as
s: SCIA and
Rx, or input)
GPIO14 as
GPIO18 as GPIO22 as GPIO40 as GPIO58 as
I port combi
e DSP. One icode to DSPscribed. In th
gn, SCI portshe communi
xample, the f
mper J9 (by
1 to off (by
1 to off (by
or R10 (by d
eparate SCI
nter Kit and cable, and t
Monitoring
use the follo
29 as the SCIhe transmittithe transmit
d SCIB. Each
) pin, and G
the transmit
the transmitthe transmitthe transmitthe transmit
inations at a
is to use the P. The other he next secti
s can be acceication to wofollowing se
default, J9 i
default, it is
default, it is
default, R10
ports are no
controlCARthe hardware
owing GPIO
I transmittining pin. tting pin.
h port can us
GPIO29 as t
tting pin.
tting pin. tting pin. tting pin. tting pin.
any time as R
USB cable, is to use a sion, the seco
essed via theork. If we ta
ettings must b
is open).
s on).
s on).
is present).
ot accessible
RDs, one cane is ready for
Powewww.powersim
ports for
ng pin.
se the follow
the SCI tran
RS-232.
the same caeparate RS-2ond approach
e USB cableake the TI be made for
.
n connect ther communic
ersim Inc. mtech.com
wing
nsmitting
able that 232 h is
e.
USB
e cation.
3. Com
Alternaticommunnot acces
Before usconfigura
TI E
F283
F280
F280
To commcomputerfor groun
A 9-pin Dserial porconnecto
The figurDSP end(female) USB/RS-
A pictureOn the E
T
mmunicati
ively, one caication. Notessible from t
sing this appations are se
Experimenter
335 controlC
035 controlC
027 controlC
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 Exp. Kit
O
on via RS
an use the dee that this aphe Experime
proach for cot on the TI E
r Kit: Lea
CARD: Set
CARD: Set
CARD: Ma
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
Using SCI fo
-232 Cabl
edicated connpproach doesenter Kit.
ommunicatioExperimente
ave Jumper J
t Switch SW
t Switch SW
ake sure Resi
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
or Waveform
- 4 -
le
nector J3 on s not work fo
on, make surer Kit and co
J9 open (by
1 to on (by d
1 to on (by d
istor R10 is p
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
Monitoring
the TI Expefor F28069 c
re that the foontrolCARDs
default, J9 i
default, it is
default, it is
present (by
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
erimenter KicontrolCARD
ollowing hars, as shown
s open).
on).
on).
default, R10
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
it for D as SCI por
rdware below:
0 is present).
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
ersim Inc. mtech.com
rts are
the another
puter he DB-9
. The nector n
n below.
mputer or RS-232 or
Note thatadaptor o
After thecomputerThe figur
t if the USB/or download
e USB/RS-23r Device Mare shows tha
TI kit
/RS-232 adathe latest dr
32 adaptor danager from at the RS-232
Using SCI fo
aptor is usedriver from th
driver is instathe Control 2 serial port
4-pin connecfor the cable
or Waveform
- 5 -
, one needs the adaptor m
alled, plug inPanel to findis COM3.
ctor
Monitoring
to first instalmanufacturer
n the adaptord the RS-232
Cable
ll the driver website.
r to the comp2 port numb
Powewww.powersim
that comes w
puter and opber, as shown
USB / RS232 adap
ersim Inc. mtech.com
with the
pen n below.
S-ptor
If there aadaptor ain PSIM
4. Test
To test ifproblem
The test idifferent.
3.1 Tes
This test
For the FTarget\D
- - -
For the FTarget\D
- -
Please coinner clo
This progthe data wsuccessfu
Follow th
-
-
-
The f
-
are multiple sand plug it bwhen defini
ting the Co
f the commuif the comm
is written for.
st 1: DSP O
will run the
F2833x TargDSP RxTx Te
The DSP The DSP The baud
F2033x targeDSP RxTx Te
The DSP 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 C
serial deviceack in to fining the comm
ommunica
unication betwmunication do
r the RS-232
nly
program DS
et, this progrest". The test
external freqinner frequerate of RS-2
et, this progrest". The test
uses the innrate 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.Configurati
Using SCI fo
es connectedd out the por
munication w
ation betw
ween DSP aoes not work
2 cable appro
SP_Rx_Tx_T
ram is locatet program m
quency is 30ency is 150M232 commun
am is locatet program m
ner clock and232 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 Tuto
or Waveform
- 6 -
d to the comprt number. R
with DSP.
ween DSP a
and the compk, perform th
oach. For 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 frequennication 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 - Auto
Monitoring
puter, try to Remember th
and Comp
puter works,he three tests
e USB cable
DSP board.
IM folder "elowing assu
s 10 times) 15200bps.
M folder "exlowing assu
ncy is 60MH15200bps.
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 Gen
unplug the Uhis port num
puter
or to isolates below.
e approach, p
examples\Simumptions:
xamples\Simumptions:
Hz.
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
Powewww.powersim
USB/RS-232mber as it is n
e and debug
procedure m
mCoder\F28
mCoder\F280
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
ersim Inc. mtech.com
2 needed
the
may be
833x
03x
rent
d so that test is
n on the
belled as
ector, as
already to 4. Set
Target to
- - -
If the comControlC
3.2 Tes
This test The RS-2the samethe comp
Follow th
-
- -
create a nthe "Targfile (.ccxmSelect RuSelect RuSelect Ru
mmunicationCard will be o
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 ba
new target cget Configurml) and selecun >> Conneun >> Load un >> Free R
n works, the on. The loca
uter Only
rogram on thill be shortedsends out. Ifworking.
ow to perform
the USB adapter. re to short thPSIM. Selectaud rate as 1
Using SCI fo
configurationations" panect Launch Sect Target t>> Load Pr
Run to run t
two red LEDations of thes
he computerd so that the f the test is su
m the test:
apter to the c
he Rx pin andt Utilities >>15200, and p
or Waveform
- 7 -
n. In CCS, sel, right clicSelected Conto connect torogram to lohe program
D lights LD2se two LED'
r to send out data will beuccessful, it
computer, an
d Tx pin of t> DSP Oscilparity as No
Monitoring
select View ck at the cornfigurationo the target boad “DSP_Rin the target
2 and LD3 o's are shown
the data throe looped backt means that
nd the DB-9
the 4-pin conlloscope. Sene.
>> Target rresponding in the pop-u
board RxTx_Test.ot board.
on the F2833n below (circ
ough the comk and the cothe serial co
9 end of the
nnector of thet the correct
F2
F
F
F
Powewww.powersim
Configurattarget confi
up menu.
ut” file.
35/F28035 cled in red):
mputer seriaomputer will ommunicatio
RS-232 cab
he RS-232 cat serial port
28335 contro
F28035 contr
F28027 contr
F28069 cont
ersim Inc. mtech.com
tions. In guration
al port. receive
on on
ble to the
able. number.
olCard
rolCard
rolCard
trolCard
-
3.3 Tes
This test sent by Dthe DSP.computer
Follow th
-
- -
If Test 1 problems
-
-
-
5. Setti
In PSIM,SCI", as
Click 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
the Test butul".
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
Using SCI fo
tton. 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.
or Waveform
- 8 -
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
Monitoring
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
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
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
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
In the cirSCI Inpubelow. T
4.1 SC
The SCI
-
-
-
-
4.2 SCI
To adjustThe SCI subcircuiis changethrough t
In a sche
4.3 SCI
To monitOutput elused in bsubcircuievent or
In a sche
rcuit, there aut (highlightehese elemen
CI Configur
Configuratio
SCI Port:
Speed (bp
Parity Ch
Output Bu
I Input
t a parameteInput elemeits. An initiaed. Users canthe SCI com
matic, up to
I Output
tor and displlement on th
both the mainits. The wavinterrupt sub
matic, up to
re 3 types ofed in grey), ants can be ac
ration
on element h
ps):
heck:
uffer Size:
er inside the ent behaves aal value can bn change the
mmunication,
127 SCI Inp
lay the wavehe schematicn schematic eform of a Sbcircuit.
127 SCI Ou
Using SCI fo
f SCI libraryand SCI Outpccessed by go
has four para
For F283
- SCIA - SCIA - SCIB - SCIB - SCIB - SCIB - SCIC
For F28
Define A list o38400, speed m
Define commu
Define The buelemenwords (
DSP at run tas a signal sobe set for thee parameter o and the para
put elements
eform of a sic. The SCI Oand subcircu
SCI Output e
utput elemen
or Waveform
- 9 -
y elements: Stput (highlighoing to Elem
ameters:
33x, defines
A (GPIO28, GA (GPIO35, G
(GPIO9, GP (GPIO14, G (GPIO18, G (GPIO22, G (GPIO62, G
803x/F2802x
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
time, one canource, and cae SCI Input eon the compameter will b
s can be used
gnal inside tOutput elemeuits other thaelement will
nts can be us
Monitoring
SCI Configurhted in yello
ments >> Sim
s the SCI por
GPIO29) GPIO36) PIO11) GPIO15) GPIO19) GPIO23) GPIO63)
x/F2806x, th
mmunicationeds is provid600 bps. Or
heck setting can be None
the data buffed in the RAdata point w
ytes, or 48 bi
n use a SCI an be used inelement, and
puter. The chbe updated o
d.
the DSP at ruent behaves aan event subbe incorrect
sed.
ration (highow), as explamCoder >>
rt from the f
he listing wil
n speed, in bpded at 20000one can spe
for error che, Odd, or Ev
fer allocated AM area, andwhich consisits, per data p
Input elemen both the md this value whange will beon the DSP a
un time, oneas an output bcircuits andt if the eleme
Powewww.powersim
hlighted in grained in the F2833x Ta
following list
ll be differen
ps (bits per s00, 115200, 5ecify any oth
eck in ven.
in DSP for d each bufferts of three 1point).
ent in the schmain schematwill be used e sent to the at run time.
e can place aprobe, and c
d interrupt ent is inside
ersim Inc. mtech.com
reen), sections arget.
t:
nt.
second). 57600,
her
SCI. r 6-bit
hematic. tic and
d until it DSP
a SCI can be
an
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
6. Gen
One can values of
To gener
- -
-
-
-
-
-
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
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.
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
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
Using SCI fo
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
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
or Waveform
- 10 -
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 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
Monitoring
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
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 program.
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
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
Powewww.powersim
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
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
ersim Inc. mtech.com
ta is sent nts will
mmand ng out added.
s, 1 a byte
ending d out up
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()
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%
ther hand, inthe completee sent out, thaptured every
Click on tIf connecside of the
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
%.
n the Snap-she data set wihe buffer wily time.
the Connectction is succe window, a
Using SCI fo
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
hot operationill be displayll be refilled
t button in thcessful, all oas shown in t
or Waveform
- 11 -
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 mode, everyed on the Dd. In this mod
he lower leftoutput and inthe figure be
Monitoring
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
ry data poinDSP Oscilloscde, the data i
t corner to conput variabl
elow.
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
nt in the DSPcope. After ais not contin
onnect the coles will be d
Powewww.powersim
parameters s requested.
he computeRS-232 adapis shown belone found in
3.
Configuratity check is
, data are senis not fast enlower left co
P buffer will all the data i
nuous, but a s
omputer to tdisplayed in
ersim Inc. mtech.com
r on the pter. ow.
n Step 2.
tion set to
nt from nough to orner)
be sent in the snap-
the DSP. n the left
- -
- -
-
- -
-
If connect
Make sureMake suOscilloscoMake sureIf an USBas instrucMake surDSP ClocMake sureIf the prob
To displaythe variabto the Seldisplayed
tion cannot b
e that the serre that the ope are the se that the RS
B/RS-232 adted. e that the DSck element ie that the DSblem still pe
y waveformbles from theected variab
d in the scope
Using SCI fo
be establishe
rial port numcommunic
same as in thS-232 cable daptor is use
SP external n PSIM. SP code is ruersists, please
s of output ve All Variabbles columne, as shown b
or Waveform
- 12 -
ed, please ch
mber is correcation speedhe SCI Confis connected
ed, make sur
clock on the
unning. e run the tes
variables defbles column,n. The wavefbelow.
Monitoring
heck the follo
ect. d and parityfiguration ed properly onre that neces
e DSP hardw
sts as describ
fined by the and click on
forms of the
owing:
ty check seelement in PSn both ends. ssary driver
ware is same
bed in Sectio
SCI Outpun the >> butselected var
Powewww.powersim
ettings in thSIM.
is installed p
e as the settin
on 3.
t elements, stton to moveriables will b
ersim Inc. mtech.com
he DSP
properly
ng in the
select e them be
-
-
-
-
-
-
8. Deci
There arecontinuoucommun
To removclick on thChange inDSP codeInput elemvariable (To changThe new changed fCheck daIntegritysuccessfuIf the datafact that resource tData Poinneed to befrom ConClick on disconnec
iding the S
e two operatus mode, theication speed
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 Sthe Pause
ct the compu
SCI Comm
ion modes ine buffer sized. However,
Using SCI fo
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. button to h
uter from the
munication
n DSP Oscil does not ma, in the snap-
or Waveform
- 13 -
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
halt the datae DSP.
n Buffer S
lloscope: conatter as the d-shot mode,
Monitoring
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
a acquisition
Size
ntinuous modata integritythe buffer si
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
n, or the Di
ode and snapy is determinize determin
Powewww.powersim
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
isconnect b
p-shot mode. ned by the nes the amou
ersim Inc. mtech.com
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
button to
In the
unt of
data 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
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
DSP Oscillosnap-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
Using SCI fo
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.
or Waveform
- 14 -
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
Monitoring
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,
hould 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
ected 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
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