User`s manual

4-4 Suite56 DSP Tools User’s Manual Motorola
Developing Real-Time Applications
4.1.3 Simulating Communication between Multiple Devices
Use simulated input to simulate communication between multiple devices. In fact, you can
simulate tying pins together and connecting to different memory locations.
To tie pins together (so that the output from one pin becomes
input to another pin), from the File menu, select Input,and
then choose Pins. A dialogue box appears for you to indicate
which pins to tie together. In the same dialogue box, you also
indicate devices by number, so that you can tie together pins
on the same device or on different devices (if you are
working on a simulation of multiple devices).
To connect one memory location to another (so that the value read from one location
becomes the value written to another), from the File menu, choose Input, and then select
Address. A dialogue box opens for you to indicate which memory locations to connect.
Again, the locations may be on the same device or on different devices, so you can also
indicate the device of the source location.
4.2 Developing Real-Time Applications
This section suggests ways in which Suite56 tools assist in the following tasks, typical of
real-time applications:
generating interrupts and real-time stimuli of pins;
exercising peripherals;
generating output with time-critical information;
simulating communication between serial devices.
4.2.1 Generating Interrupts and Real-Time Stimuli of Pins
To simulate interrupts to your target digital signal processor, apply a pin file to the
interrupt pin. A pin file contains ordinary ASCII text of zeroes and ones to represent low
and high signals. To ease the chore of creating and maintaining such a file, a Suite56
simulator accepts certain syntax, documented in the Motorola Simulator Reference
Manual, so that
(01), for example, means “repeat zero followed by one continuously,
and
(01)#5 means “repeat zero followed by one five times.” The same manual also
documents the format of input files to simulate more complicated real-time stimuli.
To see a list of valid pin names for the current device in a Suite56 simulator, type the
command
help pin on the command line in the Command window. The list then
appears in the Session window.