r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 146

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
9.2
9.2.1
Notes:
1. The CM05 bit stops the XIN clock when the high-speed on-chip oscillator mode or low-speed on-chip oscillator
2. During external clock input, only the clock oscillation buffer stops and clock input is acknowledged.
3. Only when the CM05 bit is set to 1 (XIN clock stops) and the CM13 bit in the CM1 register is set to 0 (P4_6 and
4. When the MCU enters stop mode, the CM06 bit is set to 1 (divide-by-8 mode).
5. To use P4_3 and P4_4 as input ports, set the CM04 bit to 0 (I/O ports) and the CM03 bit to 1(XCIN clock stops).
6. The CM04 bit can be set to 1 by a program but cannot be set to 0.
7. To use the XCIN clock, set the CM04 bit to 1 and the XCSEL bit in the PINSR register to 1. Also, set ports P4_3
8. Set the CM07 bit to 1 (XCIN clock) from 0 after setting the CM04 bit to 1 (XCIN-XCOUT pin) and allowing XCIN
After Reset
Bit
b0
b1
b2
b3
b4
b5
b6
b7
Address 0006h
mode is selected. This bit cannot be used to detect whether the XIN clock has stopped. To stop the XIN clock,
set the bits in the following order:
(a) Set bits OCD1 to OCD0 in the OCD register to 00b.
(b) Set the OCD2 bit to 1 (on-chip oscillator clock selected).
P4_7), P4_6 and P4_7 can be used as I/O ports.
The P4_3 pin is shared with the XCIN pin, and the P4_4 pin is shared with the XCOUT pin. These pins cannot be
used as I/O ports when using the on-chip oscillation circuit.
and P4_4 as input ports without pull-up.
clock oscillation to stabilize.
Set the PRC0 bit in the PRCR register to 1 (write enabled) before rewriting the CM0 register.
Symbol
Registers
Symbol
CM02 Wait mode peripheral function clock
CM03 XCIN clock stop bit
CM04 Port/XCIN-XCOUT switch bit
CM05 XIN clock (XIN-XOUT) stop bit
CM06 CPU clock division select bit 0
CM07 XIN, XCIN clock select bit
Bit
System Clock Control Register 0 (CM0)
CM07
Reserved bits
stop bit
b7
0
CM06
b6
0
Bit Name
CM05
b5
1
(8)
(5, 6)
(4)
CM04
(1, 3)
b4
0
Set to 0.
0: Peripheral function clock does not stop in wait mode
1: Peripheral function clock stops in wait mode
0: XCIN clock oscillates
1: XCIN clock stops
0: I/O ports P4_3 and P4_4
1: XCIN-XCOUT pin
0: XIN clock oscillates
1: XIN clock stops
0: Bits CM16 and CM17 in CM1 register enabled
1: Divide-by-8 mode
0: XIN clock
1: XCIN clock
CM03
b3
1
CM02
b2
0
(2)
(7)
Function
b1
0
9. Clock Generation Circuit
b0
0
Page 114 of 740
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W

Related parts for r5f21346mnfp