Skip to main content
Knowledgebase
Home
Renesas Singapore - Knowledgebase

Is there specific point that needs to pay attention to when using DTC?

Latest Updated:09/09/2011

Question:

When I transmit the RSPI using DTC, the transmitted data are reduced from the set value by one piece.
Is there any specific point that I need to pay attention for using DTC?

Answer:

DTC final transfer doesn't clear the RSPI transmit buffer empty flag (SPTEF flag). It is necessary to clear SPTEF flag by the RSPI transmit buffer empty interrupt.
Without that process, the final transmit data is not transferred from the buffer to the shift register, which results in transmitted data with one missing piece.
Suitable Products
SH7214, SH7216
SH7239, SH7237