RENESAS RX113 User Manual

RENESAS TECHNICAL UPDATE
TOYOSU FORESIA, 3-2-24, Toyosu, Koto-ku, Tokyo 135-0061, Japan Renesas Electronics Corporation
Date: Mar. 2, 2021
Product
Category
Title
Applicable
Product
This document describes corrections to the “Realtime Clock (RTC)” chapter in User’s Manual: Hardware for the applicable
products.
Page and section numbers are based on the manual for the RX113 Group. Refer to the table on the last page for the
MPU/MCU
RX113 Group, RX130 Group Errata to User’s Manual: Hardware Regarding the Realtime Clock (RTC)
Lot No.
RX113 Group, RX130 Group
All
Document
No.
Information
Category
Reference Document
TN-RX*-A0238B/E
Technical Notification
RX113 Group User’s Manual: Hardware Rev.1.20 (R01UH0448EJ0120) RX130 Group User’s Manual: Hardware Rev.3.00 (R01UH0560EJ0300)
Rev.
2.00
©2021. Renesas Electronics Corporation, All rights reserved. Page 1 of 8
RENESAS TECHNICAL UPDATE TN-RX*-A0238B/E
Date: Mar. 2, 2021

Page 650 of 1491

A note is added to the START and CNTMD bits in the table for section 24.2.18, RTC Control Register 2 (RCR2) as follows.
Before correction
24.2.18 RTC Control Register 2 (RCR2)
Address(es): RTC.RCR2 0008 C424h
b7 b6 b5 b4 b3 b2 b1 b0
CNTM
HR24 AADJP AADJE RTCOE ADJ30 RESET START
D
Value after reset:
Bit Symbol Bit Name Description R/W
b0 START Start 0: Prescaler and counter are stopped.
b1 RESET RTC Software Reset • In writing
b2 ADJ30 30-Second Adjustment*
b3 RTCOE RTCOUT Output Enable 0: RTCOUT output disabled.
b4 AADJE Automatic Adjustment Enable*
b5 AADJP Automatic Adjustment Period
b6 HR24 Hours Mode*
b7 CNTMD Count Mode Select 0: The calendar count mode.
xxxx000x
x: Undefined
1: Prescaler and counter operate normally.
0: Writing is invalid. 1: The prescaler and the target registers for RTC softwar
set*
re
• In reading 0: In normal time operation, or an RTC software reset ha
completed.
ring an RTC software reset
1: Du
Select*
2
3
2, *3
•In writing 0: Writing is invalid. 1: 30-second adjustment is executed.
• In reading 0: In normal time operation, or
completed.
1: Du
ring 30-second adjustment
1: RTCOUT output enabled.
3
0: Automatic adjustment is disabled. 1: Automatic adjustment is enabled.
0: The RADJ.ADJ[5:0] setting value is adjusted from the count
value of the prescaler every minute (every 32 seconds in binary counter mode).
1: The RADJ.ADJ[5:0] setting value is adjusted from the count
value of the prescaler every 10 seconds (every 8 seconds in binary counter mode).
0: The RTC operates in 12-hour mode. 1: The RTC operates in 24-hour mode.
1: The binary count mode.
1
are initialized
R/W
R/W
e
s
R/W
30-second adjustment has
R/W
R/W
R/W
R/W
R/W
Note 1. R64CNT, RSECAR/BCNT0AR, RMINAR/BCNT1AR, RHRAR/BCNT2AR, RWKAR/BCNT3AR, RDAYAR/BCNT0AER,
RMONAR/BCNT1AER, RYRAR/BCNT2AER, RYRAREN/BCNT3AER, RADJ, RCR2.ADJ30, RCR2.AADJE, RCR2.AADJP Note 2. This bit is reserved in binary counter mode. The write value should be 0. Note 3. After writing to this bit, confirm that its value has actually changed before proceeding with further processing.
Refer to section 24.5.5, Notes When Writing to and Reading from Registers for notes on accessing registers.
Page 2 of 8
RENESAS TECHNICAL UPDATE TN-RX*-A0238B/E
Date: Mar. 2, 2021
After correction
24.2.18 RTC Control Register 2 (RCR2)
Address(es): RTC.RCR2 0008 C424h
b7 b6 b5 b4 b3 b2 b1 b0
CNTM
HR24 AADJP AADJE RTCOE ADJ30 RESET START
D
Value after reset:
Bit Symbol Bit Name Description R/W
b0 START Start*
b1 RESET RTC Software Reset • In writing
b2 ADJ30 30-Second Adjustment*
b3 RTCOE RTCOUT Output Enable 0: RTCOUT output disabled.
b4 AADJE Automatic Adjustment Enable*
b5 AADJP Automatic Adjustment Period
b6 HR24 Hours Mode*
b7 CNTMD Count Mode Select*
xxxx000x
x: Undefined
3
0: Prescaler and counter are stopped. 1: Prescaler and counter operate normally.
0: Writing is invalid. 1: The prescaler and the target registers for RTC softwar
set*
re
• In reading 0: In normal time operation, or an RTC software reset ha
completed.
ring an RTC software reset
1: Du
2
•In writing 0: Writing is invalid. 1: 30-second adjustment is executed.
• In reading 0: In normal time operation, or
completed.
1: Du
ring 30-second adjustment
1: RTCOUT output enabled.
3
0: Automatic adjustment is disabled. 1: Automatic adjustment is enabled.
Select*
3
0: The RADJ.ADJ[5:0] setting value is adjusted from the count
value of the prescaler every minute (every 32 seconds in binary counter mode).
1: The RADJ.ADJ[5:0] setting value is adjusted from the count
value of the prescaler every 10 seconds (every 8 seconds in binary counter mode).
2, *3
0: The RTC operates in 12-hour mode. 1: The RTC operates in 24-hour mode.
3
0: The calendar count mode. 1: The binary count mode.
1
are initialized.
30-second adjustment has
R/W
R/W
e
s
R/W
R/W
R/W
R/W
R/W
R/W
Note 1. R64CNT, RSECAR/BCNT0AR, RMINAR/BCNT1AR, RHRAR/BCNT2AR, RWKAR/BCNT3AR, RDAYAR/BCNT0AER,
RMONAR/BCNT1AER, RYRAR/BCNT2AER, RYRAREN/BCNT3AER, RADJ, RCR2.ADJ30, RCR2.AADJE, RCR2.AADJP Note 2. This bit is reserved in binary counter mode. The write value should be 0. Note 3. After writing to this bit, confirm that its value has actually changed before proceeding with further processing.
Refer to section 24.5.5, Notes on Writing to and Reading from Registers, regarding changes to the values of the AADJE,
AADJP, and HR24 bits.
Page 3 of 8
RENESAS TECHNICAL UPDATE TN-RX*-A0238B/E
Date: Mar. 2, 2021

Page 651 of 1491

Description of the CNTMD bit in section 24.2.18, RTC Control Register 2 (RCR2) is corrected as follows.
Before correction
CNTMD Bit (Count Mode Select)
This bit specifies whether the RTC count mode is operated in calendar count mode or in binary count mode.
When setting the count mode, execute an RTC software reset and start again from the initial settings.
This bit is updated synchronously with the count source, and its value is fixed before the RTC software reset is
completed.
For details on initial settings, refer to section 24.3.1, Outline of Initial Settings of Registers after Power On.
After correction
CNTMD Bit (Count Mode Select)
This bit specifies whether the RTC count mode is operated in calendar count mode or in binary count mode.
After setting the count mode, execute an RTC software reset and start again from the initial settings.
The CNTMD bit is updated in synchronization with the count source, so when the value of the CNTMD bit has been
changed, check that the value of the bit has actually been updated before applying the RTC software reset. The count
mode changes to that which was specified beforehand in the CNTMD bit after the RTC software reset is applied.
For details on initial settings, refer to section 24.3.1, Outline of Initial Settings of Registers after Power On.
Page 4 of 8
Note 1. This step is not necessary if the count mode has been set concurrently with setting the START bit to 0.
A value corresponding to the count mode setting must be written to the RCR2.CNTMD bit.
START = 0
Set the START bit to 0
No
Yes
Wait for the RCR2.START bit to become 0
Select count mode
Supply 6 clocks of the count source
Set the RCR3 register
Wait for the RCR2.RESET bit to become 0
RESET = 0
No
Yes
Set the sub-clock oscillator
Execute RTC software reset
RCR2.CNTMD bit setting
*1
Write 1 to the RCR2.RESET bit
RENESAS TECHNICAL UPDATE TN-RX*-A0238B/E
Date: Mar. 2, 2021

Page 655 of 1491

The setting procedure described in Figure 24.3, Clock and Count Mode Setting Procedure is corrected as follows.
Before correction
Figure 24.3 Clock and Count Mode Setting Procedure
Page 5 of 8
Note 1. This step is not necessary if the count mode has been set concurrently with setting the START bit to 0.
A value corresponding to the count mode setting must be written to the RCR2.CNTMD bit.
START = 0?
Set the START bit to 0
No
Yes
Wait for the RCR2.START bit to become 0
Select count mode
Supply 6 clocks of the count source
Set the RCR3 register
Wait for the RCR2.RESET bit to become 0
RESET = 0?
No
Yes
Set the sub-clock oscillator
Execute RTC software reset
RCR2.CNTMD bit setting
*1
Write 1 to the RCR2.RESET bit
Wait until the RCR2.CNTMD bit has the newly set value
CNTMD = the set value?
No
Yes
RENESAS TECHNICAL UPDATE TN-RX*-A0238B/E
After correction
Date: Mar. 2, 2021
Figure 24.3 Clock and Count Mode Setting Procedure
Page 6 of 8
START = 0
Set the START bit to 0
No
Yes
Wait for the RCR2.START bit to become 0
Supply 6 clocks of the count source
Set the sub-clock oscillator
RCR2.CNTMD bit setting
*1
Wait for the RCR2.RESET bit to become 0
RESET = 0
No
Yes
Execute RTC software reset
Disable the interrupt request
Write 0 to the RCR1.AIE, CIE, and PIE bits
Select count mode
Note1. This step is not necessary if the count mode has been set concurrently with setting the START bit to 0.
Set the RCR3 register
Write 1 to the RCR2.RESET bit
RENESAS TECHNICAL UPDATE TN-RX*-A0238B/E
Date: Mar. 2, 2021

Page 666 of 1491

The initialization procedure described in Figure 24.12 of section 24.5.7 Initialization Procedure When the Realtime
Clock is Not to be Used is corrected as follows.
Before correction
Figure 24.12 Initialization Procedure
Page 7 of 8
RCR2 = 00h?
Set the RCR2 register to 00h
No
Yes
Wait for the RCR2 register to become 00h
Supply 6 clocks of the count source
Set the sub-clock oscillator
Wait for the RCR2.RESET bit to become 0
RESET = 0?
No
Yes
Execute RTC software reset
Disable the interrupt request
Write 0 to the RCR1.AIE, CIE, and PIE bits
Set the RCR3 register
Write 1 to the RCR2.RESET bit
RENESAS TECHNICAL UPDATE TN-RX*-A0238B/E
After correction
Date: Mar. 2, 2021
Figure 24.12 Initialization Procedure
Page Number, Section/Figure/Table Number
Item
Table for RTC Control Register 2 (RCR2)
Descriptions of the CNTMD bit
Figure of the clock and count mode setting procedure
Figure of the initialization procedure when the realtime clock is not to be used
Page 650
24.2.18 Page 651
24.2.18 Page 655
Figure 24.3
Page 666 Figure 24.12
Page Number, Section/Figure/Table Number
RX113 Group RX130 Group
Page642
24.2.18 Page 643
24.2.18 Page 647
Figure 24.3
Page 658 Figure 24.12
Page 8 of 8
Loading...