Hello, in my project, I would like to detect parity error in order to implement a retransmission protocol.
So, my USART interface is configured as below :
Then, I've an interrupt handler where when Primer2 receives something, it checks parity_error flag :
When my receiver detect a reception, what should I use : RXNE or IDLE ? I do not understand IDLE signal neither.
Is it the good way to detect parity error ?
Can you help me to understand how to implement retransmission in case of parity error ?
Last edited by matmout (2010-06-01 10:20:50)