pin connect plug-in simulator allows you to simulate and monitor external interrupt signals the...

9
Pin Connect Plug-in Pin Connect Plug-in Simulator allows you to Simulator allows you to simulate and monitor simulate and monitor external interrupt signals external interrupt signals The plug-in enables you to The plug-in enables you to specify the interval at specify the interval at which selected external which selected external interrupts will occur. interrupts will occur. CCS Tools Menu Pin CCS Tools Menu Pin Connect Connect

Upload: cassandra-martin

Post on 29-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Pin Connect Plug-in  Simulator allows you to simulate and monitor external interrupt signals  The plug-in enables you to specify the interval at which

Pin Connect Plug-inPin Connect Plug-in

Simulator allows you to simulate and Simulator allows you to simulate and monitor external interrupt signalsmonitor external interrupt signals

The plug-in enables you to specify the The plug-in enables you to specify the interval at which selected external interval at which selected external interrupts will occur.interrupts will occur.

CCS Tools Menu Pin ConnectCCS Tools Menu Pin Connect

Page 2: Pin Connect Plug-in  Simulator allows you to simulate and monitor external interrupt signals  The plug-in enables you to specify the interval at which

How to simulate?How to simulate?

Create a data file that specifies Create a data file that specifies interrupt intervals.interrupt intervals.

Start the Pin Connect tool. From the Start the Pin Connect tool. From the Tools menu, choose Pin Connect.Tools menu, choose Pin Connect.

Connect your data file to an external Connect your data file to an external interrupt pin.interrupt pin.

Load your program.Load your program. Run your program.Run your program.

Page 3: Pin Connect Plug-in  Simulator allows you to simulate and monitor external interrupt signals  The plug-in enables you to specify the interval at which

Pin Connect File FormatPin Connect File Format

clock cycle [rpt { n| EOS}]clock cycle [rpt { n| EOS}] Absolute clock cycleAbsolute clock cycle

12 34 5612 34 56 Relative clock cycleRelative clock cycle

12 +34 5512 +34 55

Repetition of PatternsRepetition of Patterns5 (+10 +20) rpt 25 (+10 +20) rpt 2

5, 15, 35, 45, 65 5, 15, 35, 45, 65 5 (+10 +20) rpt 5 (+10 +20) rpt EOSEOS

5, 15, 35, 45, 65, 75, 95…5, 15, 35, 45, 65, 75, 95…

Page 4: Pin Connect Plug-in  Simulator allows you to simulate and monitor external interrupt signals  The plug-in enables you to specify the interval at which

Port Connect Plug-inPort Connect Plug-in

Tool to access a file through a memory Tool to access a file through a memory address. address.

By connecting to the memory (port) By connecting to the memory (port) address, you can read data in from a address, you can read data in from a file, and/or write data out to a file.file, and/or write data out to a file.

Page 5: Pin Connect Plug-in  Simulator allows you to simulate and monitor external interrupt signals  The plug-in enables you to specify the interval at which

Port Connect Plug-inPort Connect Plug-in

Where can you use it?Where can you use it?

DSP DMA Serial PortDXR

DRR

Codec /…

Page 6: Pin Connect Plug-in  Simulator allows you to simulate and monitor external interrupt signals  The plug-in enables you to specify the interval at which

Connecting a fileConnecting a file

Click CCS Tools => Port ConnectClick CCS Tools => Port Connect Click Connect button the plug-inClick Connect button the plug-in

Enter values for Address, Length, Enter values for Address, Length, choose page type(if applicable), choose choose page type(if applicable), choose read/write/type. read/write/type.

Click OKClick OK

Page 7: Pin Connect Plug-in  Simulator allows you to simulate and monitor external interrupt signals  The plug-in enables you to specify the interval at which

Connecting a file(Contd.)Connecting a file(Contd.)

Browse and select file to be connected Browse and select file to be connected and Click Open button.and Click Open button.

Page 8: Pin Connect Plug-in  Simulator allows you to simulate and monitor external interrupt signals  The plug-in enables you to specify the interval at which

Disconnecting a fileDisconnecting a file

In Port Connect window, select the line In Port Connect window, select the line that contains the file and port address that contains the file and port address you want to disconnect.you want to disconnect.

Double click on the line or click the Double click on the line or click the Disconnect button.Disconnect button.

This action disconnects the memory This action disconnects the memory address from the data file and removes address from the data file and removes that information from the Port Connect that information from the Port Connect window. window.

Page 9: Pin Connect Plug-in  Simulator allows you to simulate and monitor external interrupt signals  The plug-in enables you to specify the interval at which

More info on Pin Connect and More info on Pin Connect and Port Connect Plug-insPort Connect Plug-ins

Online helpOnline help Click CCS Help Menu => Contents, Go to Pin/Port Connect Click CCS Help Menu => Contents, Go to Pin/Port Connect

topic topic OROR Click anywhere on the plug-in and press Click anywhere on the plug-in and press F1F1

Simulator User guideSimulator User guide spru546.pdf -- C6000 Simulatorspru546.pdf -- C6000 Simulator spru517.pdf -- C5500 Simulatorspru517.pdf -- C5500 Simulator

There are few limitations. Refer to user There are few limitations. Refer to user guide.guide.