Renesas RL78/I1D Application Note page 6

Hide thumbs Also See for RL78/I1D:
Table of Contents

Advertisement

RL78/I1D
4. Software explanation
4.1. Outline of operation
In this sample code, the operation state of RL78/I1D is switched by the button pressing (INTP0 interrupt generation).
There are 8 kinds of operation states with combination of the flash operation mode and the regulator mode. After 8-time
external interrupt INTO0 generations, it returns back to the state same as after reset. The operation state is displayed by
the combination of turning on, turning off, and blinking LED. The fixed periodical interrupt processing triggered by the
12-bit interval timer updates the LED display. The transition to HS (high speed main) mode is executed when the VDD
voltage is 2.4V or more. In the case of VDD below 2.4V, the transition to the HS mode is not executed. LED is blinked
to inform the error.
Table 4.1 shows operation state detail and operation state transition.
Transition
State
state
0
LV mode
(after
reset)
1
LS mode
(Normal
setting)
2
LS mode
(low
consumption
setting)
3
LS mode
(Normal
setting)
4
HS mode
4-Error
LS mode
(Normal
setting)
5
LS mode
(Normal
setting)
6
LP mode
7
LS mode
(Normal
setting)
R01AN3597EJ0100 Rev.1.00
Jan. 31, 2017
Table 4.1
Operation state detail and operation state transition
LED1
LED2
Turning off
Turning on
Turning on
Turning off
High-speed
Turning off
blinking
Turning on
Turning off
Turning on
Turning on
Super-high-speed
Super-high-speed
blinking
blinking
Turning on
Turning off
Low-speed
Turning off
blinking
Turning on
Turning off
Operation state switching IAR
Operation clock
Range
operation
voltage
HOCO: 4MHz
1.6V~3.6V
HOCO: 8MHz
1.8V~3.6V
MOCO: 4MHz
1.8V~3.6V
HOCO: 8MHz
1.8V~3.6V
HOCO: 16MHz
2.4V~3.6V
HOCO: 8MHz
1.8V~3.6V
HOCO: 8MHz
1.8V~3.6V
MOCO: 1MHz
1.8V~3.6V
HOCO: 8MHz
1.8V~3.6V
of
Status of the
next
transition
1
2
3
4 or
4-Error
5
5
6
7
0
Page 6 of 42

Advertisement

Table of Contents
loading

Table of Contents