Keil Logo

µVISION DEBUGGER: I/O PINS DON'T TOGGLE DURING COMMUNICATION


Information in this article applies to:

  • µVision Version 3

QUESTION

I have used the built-in Logic Analyzer to verify the I/O port pin toggling of the serial UART data output. First, I thought that my program was having a problem, but when I tried it in real hardware, it worked fine. Does the port pin not toggle in the simulation?

ANSWER

The µVision simulator simulates the timing and logical behavior of serial communication protocols like UART, I2C, SPI, and CAN. But it 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.

MORE INFORMATION

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Wednesday, June 30, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

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.