| ??? 12/18/03 00:53 Read: times |
#60910 - RE: PC 9th bit Responding to: ???'s previous message |
Can someone advise how I send 9 bits to SBUF from any Windows application eg Terminal? If you set your Windows app for 8 Data bits + Parity, the Parity bit will be the 9th bit. But the PC does not have direct access to the parity bit, because parity generation & checking is handled inside the PC UART's hardware. Therefore the PC has to deduce the state of the received Parity bit by knowing the current Parity-check setting and examining the Parity Error flag on a byte-by-byte basis. To control the transmitted Parity bit, you would have to choose Mark or Space parity on a byte-by-byte basis. The trouble with most Windows serial IO packages seems to be that they don't give you this necessary byte-by-byte access; especially for the received parity - they just tell you that a Parity Error occurred somewhere in the last received characters. :-( |
| Topic | Author | Date |
| SBUF & SCON | 01/01/70 00:00 | |
| RE: SBUF & SCON | 01/01/70 00:00 | |
| RE: SBUF & SCON | 01/01/70 00:00 | |
| Not really - Mode 3 = Multiprocessor | 01/01/70 00:00 | |
| RE: Not really - Mode 3 = Multiprocessor | 01/01/70 00:00 | |
| RE: PC 9th bit | 01/01/70 00:00 | |
RE: SBUF & SCON | 01/01/70 00:00 |



