??? 10/15/08 06:23 Read: times |
#159071 - No, it doesn't Responding to: ???'s previous message |
Praveen Kumar said:
SCON Register in my code, if i configure this for mode 3 (SM0-1 & SM1-1) & TB8 - 0, this configures even parity No, I'm afraid it does not! Look again at Figure 11 at the top of page 10 in Chapter 3 of the so-called "bible" for the 8051: 80C51 Family Hardware Description said:
TB8: The 9th data bit that will be transmitted in Modes 2 and 3. Set or clear by software as desired. (my emphasis)
http://www.nxp.com/acrobat_d...WARE_1.pdf Mode-3 is actually intended for use in Multiprocessor comms, where the 9th bit is used to flag bytes as either address or data - see the descriptions on pages 9 and 11. You can use this 9th bit as a parity bit, but it is then up to you to compute the setting, and set the bit accordingly - again, the 8051 UART does not do automatic parity generation or checking in hardware! |
Topic | Author | Date |
Even Parity | 01/01/70 00:00 | |
Welcome | 01/01/70 00:00 | |
Again Even Parity | 01/01/70 00:00 | |
No, it doesn't | 01/01/70 00:00 | |
have you tried ...![]() | 01/01/70 00:00 | |
welcome, are you also ... | 01/01/70 00:00 | |
Cross-post | 01/01/70 00:00 |