R5F21162SP#U0 Renesas Electronics America, R5F21162SP#U0 Datasheet - Page 251

IC R8C MCU FLASH 8K 20SSOP

R5F21162SP#U0

Manufacturer Part Number
R5F21162SP#U0
Description
IC R8C MCU FLASH 8K 20SSOP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/16r
Datasheets

Specifications of R5F21162SP#U0

Core Processor
R8C
Core Size
16-Bit
Speed
20MHz
Connectivity
I²C, SIO, UART/USART
Peripherals
LED, POR, Voltage Detect, WDT
Number Of I /o
13
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-SSOP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
R8C/16 Group, R8C/17 Group
Rev.2.10
REJ09B0169-0210
20. Precautions
20.1
20.1.1
20.1.2
When entering stop mode, set the FMR01 bit to “0” (CPU rewrite mode disabled) and the CM10 bit to
“1” (stop mode). An instruction queue pre-reads 4 bytes from the instruction which sets the CM10 bit
in the CM1 register to “1” (stop mode) and the program stops. Insert at least 4 NOP instructions after
inserting the JMP.B instruction immediately after the instruction which sets the CM10 bit to “1”.
Use the next program to enter stop mode.
• Program to enter stop mode
When entering wait mode, set the FMR01 bit to “0” (CPU rewrite mode disabled) and execute the
WAIT instruction. An instruction queue pre-reads 4 bytes from the WAIT instruction and the program
stops. Insert at least 4 NOP instructions after the WAIT instruction.
Also, the value in the specific internal RAM area may be rewritten when exiting wait mode if writing to
the internal RAM area before executing the WAIT instruction and entering wait mode. The area for a
maximum of 3 bytes is rewritten from the following address of the internal RAM in which the writing is
performed before the WAIT instruction. The rewritten value is the same value as the one which was
written before the WAIT instruction. If this causes a problem, avoid by inserting the JMP.B instruction
between the writing instruction to the internal RAM area and WAIT instruction as shown in the
following program example.
• Example to execute the WAIT instruction
When accessing any area other than the internal RAM area between the writing instruction to the
internal RAM area and execution of the WAIT instruction, this situation will not occur.
Program Example
Stop Mode and Wait Mode
Jan 19, 2006
Stop Mode
Wait Mode
Page 236 of 254
LABEL_001 :
LABEL _001 :
MOV.B
...
JMP.B
BCLR
BSET
BSET
JMP.B
NOP
NOP
NOP
NOP
BCLR
FSET
WAIT
NOP
NOP
NOP
NOP
1,FMR0
0,PRCR
0,CM1
LABEL_001
1,FMR0
#055h, 0601h
LABEL_001
I
; CPU rewrite mode disabled
; Protect disabled
; Stop mode
; CPU rewrite mode disabled
; Write to internal RAM area
; Enable interrupt
; Wait mode
20. Precautions

Related parts for R5F21162SP#U0