Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

Serial Transmission Using Transfer Function

Last Updated:03/08/2018

Question:

Regarding 10-byte SCI transmission using DTC function, even when performing 10-byte data transfer to TDR in SCI using DTC, only 9 bytes of data can be sent from SCI.  What could be the possible cause?

Answer:

The SCI transmission/reception part is a double-buffer configuration. Therefore, at the time that a TXI interrupt is generated after 10-byte data transfer with DTC has completed, the 10th byte of data has not yet been sent from SCI. Perform the following steps in order to clear TE.
Prohibit TXI interrupts during the TXI interrupt generated after 10-byte data transfer with DTC has completed, and allow TEI interrupts. After the 10th byte of data is successfully transmitted, a TEI interrupt will be generated, so clear TE during the interrupt.
Suitable Products
RX Family