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.
Hi Friends, As I had tried with U0THR(Transmit Hold Register) to send the hex value like 0x4B by using LPC2129 but UART architecture is converting hex value to ASCII value and displaying as ASCII 'K' in serial simulator window. Is there a possibility to send hex values through serial port using LPC2129 if so How can I send hex values through serial port using LPC2129.
Thanks & Regards Kirupakaran Viswanathan
Hey my dearest friends.
I have the Same probLEm. bUT i only want to transmit the binary value 0x39. whaT Advice can you give for the lpc2138.
No, that has nothing to do with the UART!
The UART knows nothing about ASCII - it just sends whatever bit pattern you give it.
This is purely a matter of how the receiver (in your case, the uVision Serial Window) happens to interpret those bits.
The uVision Serial Window can be configured to display received bytes as ASCII, Hex - or a mix of both. For details, see the Manual:
http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_serialwin.htm
See also: http://www.keil.com/support/man/docs/gsac/
"it just sends whatever bit pattern you give it"
Which also means that it knows nothing about Hex or Decimal...