We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
In the debugger of uVision I would like to simulate the incomming of one data on the serial port. The problem is: when I change the value of SBUF, the debugger thinks that I want to send a data because the debugger automatically set the TI bit. So I would like to know how I can simulate a data reception with uVision 2 debugger ? Thanks
Take a look at the VTREGs for SIN and SOUT. If you want to simulate an input to the serial port, set SIN = 'A'. This simulates reception of the character A. Keil Support