Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

START Bit in RCR2 Register Not Clearing

Last Updated:06/08/2017

Question:

Sometimes, after writing "0" to the START bit in the RCR2 register, it does not actually change to "0".  As a result, it generates an endless loop. What are the possible causes?

Answer:

You must wait 6 clock cycles after changing any count sources for the RTC before writing to the START bit of the RCR2 register. After a count source operation, wait for 6 or more clock cycles from the count sources, then write into the RCR2 register.
Calculate with the count source after stable oscillation for any time longer than 6 clocks. Please note that setting the wait control register or other count source items affects this.
Suitable Products
RX Family
  • Was this article helpful?