Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

How to Clear SCI TE/RE Bit

Last Updated:03/08/2018

Question:

Once SCIx.TE or SCIx.RE has been set to "1", they do not go back to "0". How can I put them back to "0"?

Answer:

The following restrictions are described in the user's manual.

SCI and SCIa
A 1 can be written only when TE = 0 and RE = 0. 
After setting TE or RE to 1, only 0 can be written in TE and RE.

SCIb
While the SMR.CM bit is 1, 1 can be written only when TE = 0 and RE = 0. 
After setting TE or RE to 1, only 0 can be written in TE and RE.
While the SMR.CM bit is 0, bits are writable at any timing.

SCIc, SCId, SCIe, SCIf, SCIg, SCIh, and SCIi
1 can be written only when TE = 0 and RE = 0, while the SMR.CM bit is 1. 
After setting TE or RE to 1, only 0 can be written to TE and RE. While the SMR.CM bit is 0 and the SIMR1.IICM bit is 0, writing is enabled under any condition.

Due to the above restrictions, to set TE or RE back to 0, it is necessary to set both TE and RE to 0 at the same time.
Follow the restrictions on the user's manual strictly for SCIx.TE and SCIx.RE settings.

Suitable Products
RX Family
  • Was this article helpful?