User manual
UM0036 Simulator features
Doc ID 7705 Rev 11 203/385
4. To view/change the configuration settings, click on the Conf... button.
The configuration setup window shown in Figure 151 is displayed. Here you can enable
or disable the stack pointer control.
Figure 151. Configuration setup window
5. Click on OK when you have set up the stack control parameters as you want.
6.2 Using the input pin stimulator
The input pin stimulator allows you to simulate an analog or digital signal on a selected
input pin of your target microcontroller. This allows you to test the application software’s
response to an input as if the signal were coming from your application hardware.
During a debugging session, you can generate input signals on-the-fly or with a time delay
using the I/O Stimulation window. You can also create a script of signal inputs in a text file
called a stimuli file that you import prior to running your simulation, which tells the simulator
when and on what pins to generate input signals.
You can view and define input signals from the I/O Stimulation window. This window shows
all I/O pins for your selected MCU. In this window, the input pins for your target
microcontroller are listed in the Name column. The current input signal is displayed in the
Current Value field. When you define an input signal, the value that you have specified for
the signal appears in the New Value field.
From this window you can:
● Trigger an analog or digital signal with a delay
● Trigger a periodic binary signal with or without a time delay
● Trigger a binary signal on-the-fly
● Create and load a stimuli file
When defining the signal, digital signals can have a value of 1 (VDD) or 0 (GND). Analog
signals have any value between 0 and 6.5V TTL. Times for delay and periodicity are
specified in CPU cycles.
If you enter an input signal while your application is running, the signal is sent, or the count
down for the delay begins once you have defined the signal to send. If you enter an input