Hi,
I am looking for an external uart that supports 9bit addressing. Such a uart will use the partity bit to indicate the byte is address or data, and will cause a recive interupt if the parity bit is set.
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am looking for an external uart that supports 9bit addressing. Such a uart will use the partity bit to indicate the byte is address or data, and will cause a recive interupt if the parity bit is set.
Thanks
Hi James,
You can use LCR[5] - the Force Parity or Stick Parity bit in the LCR register - as the 9th bit.
There is an example in an archived Electronic Design article: http://electronicdesign.com/print/embedded/use-the-pc-s-uart-with-9-bit-protocols6245.aspx
Best Regards,
Joe