Do you know how to use any digital or analog signal to trigger your trace?All you need is an iC5000 on-chip debugger with an I/O module!
Connect the signal you like to trigger on to one of the input lines (digital in, analog in) of the I/O module. Configure those lines in winIDEA Hardware/Options/I/O tab.
Next step is to configure an appropriate trace trigger.
- Open the "Analyzer Configuration List".
- Press the "New" "Trace" button.
- Give it desciptive name e.g. "StartTraceOnButtonPress".
- Select the I/O module tab.
- Check the "Trigger".
- Specify the signal to start the trace with.
- If you use a digital signal, two combinations of digital inputs can be defined - mask 1 and mask 2. The trigger will be generated if either mask1 or mask 2 match. Within a mask, all checked signals must match the high/low configuration.
- If you use an analog trigger, the trigger is generated if the measured voltage is lower/higher that the specified threshold.
- To specify the trace content use the "Wizard" button at the bottom or set it manually in the "Trigger" tab.
That's all!
Find further information in iC5000 I/O module.pdf
Comments