This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear team:
My customer has some quesstions about SCI recive error.
1, When a receive error occurs in the SCI, if SW RESET is not performed, the RX ERROR bit will always be 1. At this time, if RXERRINTENA is enabled, the interrupt should be continuously entered. Why can't the interrupt be entered in the actual situation, even if the correct data is sent, the interrupt cannot be entered?
2, In the query mode, a receiving error occurs (for example, the receiving bus keeps low level), if the RX ERROR is not reset, can the data be received normally after the bus returns to normal?
Best regards
Hi Green,
1, When a receive error occurs in the SCI, if SW RESET is not performed, the RX ERROR bit will always be 1. At this time, if RXERRINTENA is enabled, the interrupt should be continuously entered. Why can't the interrupt be entered in the actual situation, even if the correct data is sent, the interrupt cannot be entered?
You mention that the interrupt is being continuously entered when there is an error but the SW reset is not performed, this makes sense since RXERRINTENA is enabled. However, what do you mean by the ISR is not entered when there is data (I thought the ISR was always being called, or is this in a non-error case)? Did the customer enable the RXFFIENA bit?
2, In the query mode, a receiving error occurs (for example, the receiving bus keeps low level), if the RX ERROR is not reset, can the data be received normally after the bus returns to normal?
Yes, the error conditions should not stop the sci module from continuously detecting what is on the RX pin and gathering data when the bus returns to normal.
Best Regards,
Marlyn