RA2L1_SCI_UART_RDR_Clean

Hi Renesas Expert,

My customer feedback that, after they read RDR, if they read RDR again, the read value is same with last read value. Which means, RDR will not be cleaned after read.

Would you kindly help to check is that true? I can find no infomation about this in UM.

And my customer need RDR to be cleared after read. Is there any way to clear it?

Looking forward for your reply.

BR

sophie

Parents
  • Read the RDR register only once after a receive data full interrupt (SCIn_RXI) occurs.

    When a data is received, the received data is transferred from RSR register to RDR register, then the next SCIn_RXI interrupt will occur.

    Does your customer use FSP to configurate the SCI_UART driver? By using FSP, your customer can handle the received data in the corresponding callback function. 

  • Hi Xu

    感谢回复!

    您说的是对的。但是UM里没有提到RDR读数之后是否会清空?由于某种原因,客户需要RDR读数之后被清空。如果RDR不能实现这个功能,可以用Fifo实现这个功能吗?

    BR

    Sophie

Reply Children