|
|||||||||||
|
Technical Support Support Resources
Product Information |
µVISION DEBUGGER: Simulating ASC1 OF Infineon XC16X DevicesInformation in this article applies to:
QUESTIONMy application uses the second serial interface (ASC1) of the Infineon XC167. When I run my program in the simulator, all the SFR's (baudrate, serial interrupt flags, and so on) have the correct values. However, I do not see the output in the serial window. I want to use the serial window as a terminal attached to ASC1. How can I do this? ANSWERBy default, ASC0 is attached to Serial Window 1 and ASC1 is attached to no window. To view the serial I/O for ARC1, you must use the ASSIGN command in the µVision debugger to direct the ASC1 communication to Serial Window 2. For example:
The ASSIGN command displays and changes the input and output sources for the specified serial channel. For example, to direct ASC1 to Serial Window 2:
This sets the channel WIN2 (Serial Window 2) to receive input from inreg S1IN (ASC1) and send output to outreg S1OUT (ASC1).
Note:
MORE INFORMATION
SEE ALSOLast Reviewed: Sunday, February 7, 2021 | ||||||||||
|
|||||||||||
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.