Dear c2000 expert,
I'm using F28023's UART peripheral, and configure the baud rate as 600 bits/s, 8bit data, one bit parity, and one stop bit.
But I found that sometimes if the other device send data 0x00, that will cause BRKDT bit set. Sometimes it's normal that RXRDY get set, but NO BRKDT.
Below is the waveform of what I have got:
1. BRKDT bit set after receiving 10 consecutive low bits(1 start bit + 8 data bit + 1 parity bit), but RXRDY is not get set.
CH1(Blue): TX pin, CH4(Green): IO shows RXRDY, CH3(Purple): IO shows BRKDT
2. BRKDT bit is not set after receiving 10 consecutive low bit(1 start bit + 8 data bit + 1 parity bit), but RXRDY get set.
CH1(Blue): TX pin, CH4(Green): IO shows RXRDY, CH3(Purple): IO shows BRKDT
0x00 will have 10 consecutive low bits(1 start bit + 8 data bit + 1 parity bit), is it the condition that BRKDT bit get set?
Can you please help me understand why there are differences between those 2 waveform?
I would like to know how can I make the device receive correct 0 value with parity bit. Thanks...
Regards,
Jack