??? 01/10/06 07:07 Read: times |
#106951 - UART Rx parity (and other errors) on PC Responding to: ???'s previous message |
On PC, the 16C450-compatible UART receives the byte, puts it in the receive buffer/FIFO regardless of errors occurred (PE/FE/break) and sets the appropriate flags in Line Status Register. It is then the responsibility of the application (in case of Win, driver+application) to cope with the errors. I'll bet most of the terminal programs simply ignore the errors (although I know at least of one which seems to flush the receive buffer on error) hence it presents the received byte regardless of the error.
Jan Waclawek |
Topic | Author | Date |
Parity code | 01/01/70 00:00 | |
Not necessarily your problem! | 01/01/70 00:00 | |
hyperterminal | 01/01/70 00:00 | |
serial watcher | 01/01/70 00:00 | |
Serial watcher | 01/01/70 00:00 | |
as stated in the crossposting | 01/01/70 00:00 | |
parity even or odd | 01/01/70 00:00 | |
Rotten program | 01/01/70 00:00 | |
serial watcher | 01/01/70 00:00 | |
UART Rx parity (and other errors) on PC | 01/01/70 00:00 | |
Comparing with google entries | 01/01/70 00:00 | |
7 bits | 01/01/70 00:00 | |
7bit ASCII in 8bit frame? | 01/01/70 00:00 | |
still same problem... | 01/01/70 00:00 | |
Make the parity check by yourself![]() | 01/01/70 00:00 |