REA_78K0_Low_Power - Renesas e
Download
Report
Transcript REA_78K0_Low_Power - Renesas e
Renesas Ultra-Low Power 78K0 8-bit
Microcontroller Family
Renesas Electronics America Inc.
July 2010
© 2010 Renesas Electronics America Inc. All rights reserved.
1-A
Introduction
Purpose
This course provides an introduction to the Ultra-Low Power 78K0
Family of microcontrollers (MCUs) designed and offered by Renesas
Electronics Corporation for cost-sensitive, low power 8-bit embedded
applications.
Objectives
Review the requirements of low power 8-bit embedded system
applications.
Understand how the 78K0 Family of MCU addresses the requirements of
low power applications.
Learn about key features and benefits these MCUs provide and how
they facilitate low power system development.
Content
29 pages
3 quiz questions
Learning Time
35 minutes
2
© 2010 Renesas Electronics America Inc. All rights reserved.
Renesas MCU/MPU Portfolio
78K0
8-bit | 10MHz
3
© 2010 Renesas Electronics America Inc. All rights reserved.
Low Power MCU Selection Criteria
Power consumption in active and standby modes
Multiple operating and standby modes
High peripheral integration
Peripherals built into chip to simplify designs and reduce leakage current draw
from external devices.
Current consumption can be optimized by enabling only required peripherals and
disabling unused peripherals.
Flexible clocking scheme and various selectable clock sources
Using most efficient clock source for CPU and peripherals can optimize required
performance, required operation and current consumption.
Flexible wakeup schemes from standby to active modes
4
Set to different operating and standby modes for optimization of current
consumption based on required operations.
Minimal wakeup time from standby to active can optimize current consumption
based on required operation and performance.
© 2010 Renesas Electronics America Inc. All rights reserved.
Top 8 Reasons to Select Ultra-Low Power 78K0
MCUs
1
8 Short Time
to Market
Scalable
Architecture
78K Platform
Renesas’ own outstanding
development environment
7
Trusted &
Reliable
Low Power
78K0
Low Power
Multiple operating and standby
modes
RAM data retention in standby
Flexible clocking schemes
Flexible wakeup schemes
Cost
5
Advanced
Analog
16-bit delta sigma ADC
Op-amp and PGA
5
3 Designed for
4 Low-System
Reliability
Numerous fail-safe features
Ultra-Low
Power
Low current consumption
in active and standby
modes
Robust and secured
flash technology
Various programming
options
6
2
© 2010 Renesas Electronics America Inc. All rights reserved.
High peripheral integration
Segment LCD
78K0 Ultra-Low Power 8-bit MCU Family Line-up
78K0/Lx3
48- to 80-pin
60 KB
48 KB
32 KB
General Purpose
24 KB
16 KB
8 KB
4 KB
78K0/Kx2-L
16SSOP 20SSOP 30SSOP 44/48LQFP 52LQFP
64LQFP
80LQFP
16- to 48-pin
Broad line-up
From 4 KB to 60 KB Flash
16- to 80-pin packages
Extensive product offering
1
Scalable
Architecture
6
General purpose and LCD controllers
© 2010 Renesas Electronics America Inc. All rights reserved.
Ultra-Low Power 78K Platform
Upward Compatibility
Common instructions
78K0 Family belongs
to ’78K Platform’
1
78K0R
16-bit
78K0
8-bit
1 MB space
3-stage pipeline
2-channel DMA
16 to 128 KB flash
20 MHz
16- to 80-pin
4 to 60 KB flash
10 MHz
Scalable
Architecture
7
© 2010 Renesas Electronics America Inc. All rights reserved.
Common instructions
– 78K0 and 78K0R
share common 53
instructions
– 78K0R have
extended 16-bit
instructions
Multitude of options
and levels of
integration
Common development
environment
78K0: 8-bit CPU Core
Core
Fast Interrupt
- 8-bit CISC Architecture
- Dedicated Interrupt Vector Table + 4 Priority Levels
16-bit (Register Pair)
Register Bank 3
Register Bank 2
Register Bank 1
ALU
Bit
8
Register Bank 0
Stack
Pointer
A
A
B
BX
D
DC
H
HE
L
X
X
C
A
C
A
E
BX
E
L
B
DC
L
Bank 3
D
HE
Bank 2
H
L
Bank 1
Bank 0
8-bit 8-bit
Program
Counter
© 2010 Renesas Electronics America Inc. All rights reserved.
Program
Status Word
Address/Data Bus
System Bus
Interface
Address Bus
Control Signals
Program
Status Word
Interrupt
Controller
Ultra-Low Power Consumption
General-Purpose (78K0/Kx2-L)
General Purpose w/ LCD Controller (78K0/Lx3)
Kx2-L
1.9mA
@10MHz
2.41uA
220uA/ MHz
220uA/ MHz
2.2mA
@10MHz
1.13uA
Lx3
Kx2-L
0.3uA
Active
High Speed, 3V
Ultra-Low
Power
2
9
1uA
Lx3
HALT Mode
(32kHz + RTC), 3V
Kx2-L
STOP Mode, 3V
Typical current consumption values are shown
© 2010 Renesas Electronics America Inc. All rights reserved.
Lx3
Multiple Operating and Standby Modes
Active
HALT
STOP
RAM
Retain
Retain
CPU Clock
Retain
Sub-system Clock
Retain
Retain
Port I/O
Retain
Retain
CPU
Flash Memory
16-bit timer
8-bit timer
Real-Time Counter
Count clock
w/ 32kHz clock
w/ 32kHz clock
w/ 32kHz clock
Analog Peripherals
UART
CSI
I2C
Safety-Features
POC, LVI
8-bit timer
serial clock
w/ ext.
clock
Wakeup by
addr match
Watchdog Timer
Ext. Interrupts
How to set modes
Designed
3
for Low Power
10
© 2010 Renesas Electronics America Inc. All rights reserved.
Stop peripherals that
HALT
cannot operate in STOP,
instruction
STOP instruction
Flexible Peripherals Enable/ Disable
Peripherals - Enabled/ disabled by register settings
Watchdog timer, int. low-speed oscillator, LVI default
setting, on-chip debug – Enabled/ disabled by option bytes
TMC00
register
16-bit Timer
TMC5x,
TMHMDx
registers
8-bit Timer
ADMx
registers
10-bit ADC
ASIMx
registers
UART
CSIMxx
registers
CSI/ SPI
CKS
register
Clock Output
LVIM
registers
LVI
RCM register,
Int. low-speed
Option byte
oscillator
(0080H)
RCM
register
Option byte
(0084H)
OCD
Option byte
(0080H)
WDT
AMPxM
register
Op-Amp
RTC00
register
Real-Time
Counter
IICACTLx
register
3
Designed
for Low Power
11
Int. 4 or 8MHz
oscillator
© 2010 Renesas Electronics America Inc. All rights reserved.
I2C
ADDCTLx
register
LCDM
register
16-bit ADC
LCD Controller
Select 8MHz
or 4MHz
by option byte
fxh Peripheral Clock fprs
Switch
Ext. Clock
(EXCLK)
Int. Oscillator
8MHz
or
fih
Main System
Clock Switch
4MHz
fprs
fxp
fsub/2
Peripheral
LCD Driver
Prescaler
fcpu
CPU
or
32kHz
Ext. 32kHz Clock
(EXCLKS)
Int. Low-speed
Oscillator
30kHz
fsub
fil
240kHz
Designed
for Low Power
12
Prescaler
fxp/16
fxp/8
fxp/4
fxp/2
Subsystem 32kHz
Ext. 32kHz Crystal
(XT1, XT2)
3
fxp
fprs/13
Selector
1-10MHz
Ext. Crystal
(X1, X2)
Selector
Flexible Clocking Schemes
© 2010 Renesas Electronics America Inc. All rights reserved.
Real-time Counter,
Clock Output,
LCD Driver
Watchdog Timer,
8-bit Timer H1,
LCD Driver
Flexible Wakeup Schemes
Methods to Wakeup from Standby Modes
(HALT, STOP)
Interrupt
Reset
– In reset, both CPU and subsystem clocks stop
– Reset released, CPU run with internal high-speed
oscillator
– After reset, wakeup time dependent on external crystal,
external clock or internal oscillator stabilization time.
HALT mode
CPU clock (external system clock or internal oscillator)
continue to run
Subsystem clock continue to run
STOP mode
CPU clock (external system clock or internal oscillator) stop
Subsystem clock continue to run
3
Designed
for Low Power
13
© 2010 Renesas Electronics America Inc. All rights reserved.
Designed for Low-System Cost:
High Peripheral Integrations
Timers
Communications
16-bit timer TM00
1 ch
UART
1 - 2 ch
8-bit timer TM5x
1 - 3 ch
8-bit timer TMHx
1 - 3 ch
Real-time counter
Calendar function
Clock output
31.25 kHz - 10 MHz
Buzzer output
610 Hz – 9.77 kHz
Watch dog timer
Memory
System
CSI (SPI)
0 - 2 ch
Power-on-clear
Multi-master I2C
0 - 1 ch
Low voltage indicator
78K0
8-bit
CPU
16 selectable
voltages
10 MHz
1.8V
- 5.5V
On-chip debug/
-40 to +85C
programming
Clocks
Internal OSC
4 MHz or 8 MHz
External clock
1 MHz to 10 MHz
Flash size: 4 KB-60 KB
Int. WDT OSC
30 kHz or 240 kHz
RAM size: 384B-2 KB
Sub-clock
32.768 kHz
4 Low-System
Cost
14
© 2010 Renesas Electronics America Inc. All rights reserved.
Remote control
receiver
Analog
10-bit SAR ADC
0 - 11 ch
Op-amps
0 - 2 ch
16-bit delta-sigma ADC
0 - 3 ch
LCD Driver
Up to 288 segments
78K0/Kx2-L Series Block Diagram
Timers
Communications
16-bit timer TM00
1 ch
UART
1 ch
78K0 8-bit CPU
10 MHz
1.8V - 5.5V
-40 to +85C
8-bit timer TM5x
1 - 2 ch
8-bit timer TMHx
1 - 2 ch
System
Real-time counter
Calendar function
Power-on-clear
1.61V
Watch dog timer
Low voltage indicator
1.91V - 4.22V
Clocks
On-chip debug/
programming
Memory
Int. WDT OSC
30 kHz
Flash size: 4 KB-32 KB
Sub-clock
32.768 kHz
RAM size: 384B-1 KB
4 Low-System
Cost
15
Multi-master I2C
1 ch
Analog
Clock output
31.25 kHz - 10 MHz
Internal OSC
4 MHz or 8 MHz
CSI (SPI)
0 - 2 ch
© 2010 Renesas Electronics America Inc. All rights reserved.
10-bit SAR ADC
4 - 11 ch
Op-amps
1 - 2 ch
Digital I/O
External interrupt pins
2 - 12 lines
Key interrupt pins
0 - 6 lines
GP I/O Pins
12 - 42 I/O lines
78K0/Lx3 Series Block Diagram
Timers
16-bit timer TM00
1 ch
Communications
78K0 8-bit CPU
10 MHz
1.8V - 5.5V
-40 to +85C
8-bit timer TM5x
3 ch
8-bit timer TMHx
3 ch
Buzzer output
610 Hz – 9.77 kHz
Real-time counter
Calendar function
System
Power-on-clear
1.59V
Low voltage indicator
1.93V - 4.24V
Watch dog timer
On-chip debug/
programming
Clocks
Manchester code
generator
Internal OSC
8 MHz
Memory
Int. WDT OSC
240 kHz
Flash size: 8 KB-60 KB
Sub-clock
32.768 kHz
RAM size: 512B-2 KB
4 Low-System
Cost
16
© 2010 Renesas Electronics America Inc. All rights reserved.
UART
2 ch
CSI (SPI)
1 - 2 ch
Remote control
receiver
Analog
10-bit SAR ADC
0 - 8 ch
16-bit delta-sigma ADC
0 - 3 ch
Digital I/O
External interrupt pins
5 - 7 lines
Key interrupt pins
3 - 8 lines
GP I/O pins
30 - 62 I/O lines
LCD Driver
Up to 288 segments
Real-Time Counter (Calendar Function)
RTCC0
RTCC1
RTCC2
32 kHz
Clock
Year
Month
Week
Day
Week Alarm
Hour Alarm
Min Alarm
Free running in STOP mode
without CPU intervention
Hour
Min
Sec
Consumes 0.15 uA
Counters for year, month,
week, day, hour, minute and
second. Counting up to 99
years.
AM/PM setting function
Alarm interrupt function:
1 Hz
week, hour or minute
512 Hz/ Clock outputs of 1 Hz, 512 Hz,
16.384 kHz or 32.768 kHz
16 kHz/32 kHz
Constant-period interrupt
function (0.5 seconds to 1
month)
4 Low-System
Cost
17
© 2010 Renesas Electronics America Inc. All rights reserved.
INT
Advanced Analog
16-bit delta-sigma ADC (78K0/Lx3)
ADC reference
16-bit
delta-sigma
ADC
Differential
ADC Input
3-ch
AVref
Sampling Clock/ Conversion
Time 16-bit
Differential
Input
3.5V – 5.5V
1.25 MHz / 52.42 ms min.
2.7V – 3.5V
625 kHz/ 104.85 ms min.
Single Input
2.85V – 5.5V
625 kHz/ 104.85 ms min.
2.7V – 2.85V
525 kHz/ 124.83 ms min.
Op-Amp and Programmable Gain Amplifier (78K0/Kx2-L)
PGA
(x4 – x32 gain)
10-bit ADC
4 to 11-ch
Op-Amp
or
ADC Inputs
4 Low-System
Cost
18
Op-Amp
or
ADC Inputs
ADC Inputs
5
Advanced
Analog
© 2010 Renesas Electronics America Inc. All rights reserved.
Reliable: Safety Features
6
Reliable
19
© 2010 Renesas Electronics America Inc. All rights reserved.
Secure and Reliable Flash Features
Flash Security Setting Bits
Block n
Individually Selectable by Security Set Command
Disable batch erase (chip erase) *cannot be changed
Disable block erase
Disable write
Each Block = 1 KB
Disable rewriting to boot cluster 0
Boot Size = 4 KB
……
Block
Block
Block
Block
Block
Block
Block
Block
Block
8
7
6
5
4
3
2
1
0
Program
Area
Boot
Cluster 1
Boot
Cluster 0
Boot Swap: Secure Self-Flash Programming
Set Boot Flag
Boot
Cluster 1
Boot
Cluster 0
New Boot
New Boot
New Boot
New Boot
Boot0
Boot0
Boot0
Boot0
Erase Boot0
New Boot
New Boot
New Boot
New Boot
Boot0
Boot0
Error Correction Code (ECC)
6-bit ECC on every 32-bit word
Correct 1-bit error out of every 32-bit word
Data write and read
Trusted
&
No impact
on read/ write performance
Reliable
7
20
© 2010 Renesas Electronics America Inc. All rights reserved.
Boot Swap
Power Loss
New Boot
New Boot
New Boot
New Boot
Boot0
Boot0
Boot0
Boot0
Reset
New
New
New
New
Boot
Boot
Boot
Boot
General 78K0 MCU Software and Hardware Tools
CubeSuite
Integrated Development
(Free up to 32KB)
Software
Compiler, Assembler
Debugger
Flash Writer
Code Generator
Pin Configurator
On-Chip
Debug
Emulator
Hardware
MINICUBE2
In-Circuit
Emulator
Evaluation/
Demonstration/ Target
Boards
8
Flash
Short Time
Programmer
to Market
21
© 2010 Renesas Electronics America Inc. All rights reserved.
IECUBE
IECUBE Adapters and Sockets
Eval/ Demo Board
(different eval/ demo board for
different MCU device family)
PG-FP5
Target Board
(different target board for
different MCU device family)
MINICUBE2
Ultra-Low Power 78K0/Kx2-L Line-Up
78K0/Kx2-L Line-Up
78K0/KB2-L
General Purpose:
78K0/Kx2-L
78K0/KC2-L
44-/48-pin
32 KB
78K0/KY2-L
16 KB
78K0/KB2-L
30-pin
78K0/KA2-L
8 KB
20-pin
78K0/KC2-L
UPD78F0578*
UPD78F0588*
UPD78F0573
UPD78F0583
UPD78F0577*
UPD78F0587*
UPD78F0572
UPD78F0582
78K0/KA2-L
UPD78F0557*
UPD78F0567*
UPD78F0552
UPD78F0562
UPD78F0556*
UPD78F0566*
UPD78F0576*
UPD78F0586*
UPD78F0551
UPD78F0561
UPD78F0571
UPD78F0581
UPD78F0555*
UPD78F0565*
UPD78F0550
UPD78F0560
78K0/KY2-L
16-pin
4 KB
16SSOP
22
© 2010 Renesas Electronics America Inc. All rights reserved.
20SSOP
30SSOP
44/48LQFP
*with op-amp included
Ultra-Low Power 78K0/Lx3 Line-Up
78K0/Lx3 Line-Up
Segment LCD:
78K0/Lx3
78K0/LF3
80-pin
78K0/LE3
64-pin
78K0/LD3
52-pin
78K0/LC3
48-pin
23
© 2010 Renesas Electronics America Inc. All rights reserved.
Ultra-Low Power 78K0’s Possibilities
CO2 Sensor
Ear Thermometer
Blood Glucose Meter
Battery-Powered
Smoke Detector
LED Flashlight
(Ambient Sensor)
24
© 2010 Renesas Electronics America Inc. All rights reserved.
Irrigation Control
Thermostat
Blood Pressure
Monitor
Renesas Resources
.com Online Training
Online Design
Community
Tool downloads,
e-mail alerts,
and more
25
© 2010 Renesas Electronics America Inc. All rights reserved.
Thank You
Renesas Electronics America Inc.
© 2010 Renesas Electronics America Inc. All rights reserved.