User manual
UM0036 Simulator features
Doc ID 7705 Rev 11 205/385
Trigger a periodic binary signal with or without a time delay
1. Select View>I/O Stimulation from the main menu bar.
The I/O Stimulation window opens, showing all I/O pins for your selected MCU.
2. Click on the pin name to select it.
3. Double-click in the value field corresponding to the pin that you want to simulate a
signal on.
The I/O Stimulation dialog box opens.
4. Select Periodic.
5. Click on the radio button for VDD (1) or GND (0).
6. To specify a time delay, enter a value in the Delay Time field.
Time delays are measured in CPU cycles.
7. Enter a value in the Period field.
The period is defined in CPU cycles. It defines the duration of the specified signal and
the duration between occurrences of the signal.
8. Click on OK.
Figure 153. Define a periodic signal
Periodic signal example
P
in
= PA1, Value= VDD, Delay= 10, Period= 1
The application runs for 10 CPU cycles before starting the periodic signal. After 10 CPU
cycles, PA1 receives a signal at VDD (1) that lasts one CPU cycle then returns to GND (0)
for one CPU cycle. This pattern of signals at one CPU cycle continues as long as the
application runs or until you define a new signal on PA1.