LPC11u12 USART inverted bits

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC11u12 USART inverted bits

649 Views
rudomanenko
Contributor II

Hi everyone ! How can I config usart on lpc11u12 to send/recieve inverted order of bits? I didn't see anything in any register.
Thanks

Labels (4)
Tags (3)
1 Reply

574 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Anton Rudomanenko,

     The LPC11U12 UART  hardware don't have the inverted order bits function.

     So, if you really need to do the inverted, I suggest you to realize it with the software, take an example:

   Send, the data which you want to send out, do the inverted at first, then put it to the UART send buffer.

   Receive, when you receive the data, then use the software to do the invert function at first, then save that inverted received data to your according storage buffer.

Wish it helps you!

If you still have question about it, please kindly let me know.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------