|
|||||||||||
Technical Support On-Line Manuals µVision3 User's Guide µVision3 Overview User Interface Creating Applications Utilities Debugging Debug Commands Debug Functions Simulation Digital Input Push Button Interrupt Signal Impulse Patterns Analog Input Square Wave Signal Saw Tooth Signal Sine Wave Noise Signal Signal Combination UART Communication CAN Communication Dialog Pages Virtual Simulation Registers (VTREG) Simulate Incoming Messages Process Outgoing Messages Send Periodic Messages I²C Simulation I²C Concepts I²C Simulation Virtual Simulation Registers (VTREG) Simulating an I²C Device Application Examples SPI Simulation Flash Programming Dialogs Example Programs Command Line Appendix |
SimulationThe µVision3 Debugger incorporates a C script language you can use to create Signal Functions. Signal functions let you simulate analog and digital input to the microcontroller. Signal functions run in the background while µVision3 simulates your target program. The µVision3 simulator simulates the timing and logical behavior of serial communication protocols like UART, I²C, SPI, and CAN. But µVision3 does not simulate the I/O port toggling of the physical communication pins on the I/O port. To provide fast simulation speed and optimum access to communication peripherals, the logic behavior of communication peripherals is reflected in virtual registers that are listed with the DIR VTREG command. This has the benefit that you can easily write debug functions that stimulate complex peripherals. The chapter contains several Signal function temples that you may use to simulate: | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.