UART DMA received data skip issue

 Issue : There is a problem that some of the data received through UART is missing

UART 로 받은 Data 중 일부가 skip되는 현상이 발생했습니다.

As a result of analyzing the phenomenon when a problem occurs, it was confirmed that the NERR Bit is set to 1

Data skip error가 발생할 때면, 항상 NERR Flag가 1로 Set 되어 있었습니다.

The NERR Bit is analyzed as follows
NERR Bit가 무엇인지 아래와 같이 분석했습니다.



NERR과 DMA동작 사이의 관계를 확인하기 위해, 기술문서를 확인했습니다. 그 결과 아래와 같은 결론을 내릴 수 있었습니다.

To confirm the relationship between NERR and DMA operation, we checked the technical documentation. As a result, the following conclusions could be drawn.



NERR과 DDRE, DMA에 대한 분석을 한 결과 아래와 같은 결론을 내렸습니다.

As a result of analyzing NERR, DDRE, and DMA, the following conclusions were obtained