Hello, In 8051 or the new Philips 8751MX, there aren't dedicated bits in any SFRs that set the parity for UARTs. Does any one know how to send (and receive) serial data with even or odd parities without doing it manually? Thanks for you help. Deyon
To send serial data with the parity bit, you need to use the P bit in the Program Status Word register (PSW). Then configure your serial transmission in 9 bits mode to send 8 data bits. Or in 8 bits mode to send 7 data bits
Take also a look to: http://www.keil.com/support/docs/1619.htm