1 this presentation is for internal rta sales training only. under no circumstances should this...
TRANSCRIPT
1
This presentation is for internal RTA sales training only. Under no circumstances should this information be provided to
customers or otherwise distributed outside of Renesas.
RTA is not be responsible for disclosures of the information contained in this
presentation. The individual or entity making the disclosure will be solely
responsible for any damages or legal liability resulting therefrom.
Renesas Electronics America Inc.
SuperH SH-2A MCU/MPUs
For Internal Sales & Reps TrainingFebruary 2010
Mark Rootz(Nilesh Rajbharti)June 2010, v1.0
3
REA C&I MCU Marketing Organization
Peter CarboneSr. Director
Ritesh TyagiDirector
MCU PM & Solutions Marketing
Mark RootzSr. Manager
32-bit groupRx-BDM, Medical GSL
Ikutaro OkudaDirectorLiaison
Nelson QuintanaSr. Manager8/16 bit groupWhite Goods
Rich FlairTactical Marketing Manager
Baltazar MercadoTM
R8C/M16C
Jessie ChangTM
RX, SH
Phil OyosTM
Open ReqTM
(S. Nomoto replacement)
Sridhar LingamPMM
M16C/R32C, H8S/SX
Mike ClodfelterPMM
K0R/Medical
Julie HuangPMM
K0R/Lighting
Axel WolfPMMTools
Nilesh RajbhartiPMM
SH & BAS GSL
Bobby WongPMMV850
Stevan DobrasevicPMM
RX/Distribution
Carmelo SansonePMM
RX 600/Infrastructure
4
Topics
General SH-2A MCU Positioning Strategy
SH MCU Architecture & Peripherals SH7216 MCU SH7264 MPU
What, Where & How SH-2A Competes
SH-2A Promotion Offer & Solutions
SH-2A MCU Roadmap & New Products
5
WiFiSH, RX, R8C
High-end Connectivity
V850ESV850ES50MHz50MHz
RX600RX600100MHz100MHz
SH-2ASH-2A200MHz200MHz
Ultra Low Power
78K078K010MHz10MHz
78K0R78K0R20MHz20MHz
V850ESV850ES20MHz20MHz
R8CR8C20MHz20MHz
M16CM16C32MHz32MHz
Application Focused Solutions
TFT LCD Control
H8S/SXH8S/SX50MHz50MHz
RX600RX600100MHz100MHz
SH-2ASH-2A200MHz200MHz
General Purpose 1
6-b
it
32
-bit
MCU and MPU Solutions
32
-bit
32
-bit
32
-bit
8-b
it
16
-bit
Application Processor
SH-3SH-3200MHz200MHz
SH-4SH-4240MHz240MHz
SH-4ASH-4A600MHz600MHz3
2-b
it
Motor ControlSH, RX, R8C
Capacitive Touch
R8C
Industrial CANR8C, R32C, SH
Lighting78K0
R32CR32C64MHz64MHz 8
-bit
6
SH7125SH7125
Full SH-2/SH-2A Family Line-up
SH7080SH7080
General Purpose/
Motor/Inverter
Pins: 100 - 176Flash: 256/512 KBRAM: 16/32 KB
Pins: 64Flash: 16 - 128 KBRAM: 4/8 KB
SH7124SH7124Pins: 48/52Flash: 16 - 128 KBRAM: 4/8 KB SH7280
USB, CAN
SH7280USB, CAN
Pins: 100 - 176Flash: 128K - 1MBRAM: 8 - 32KB
SH7216Ethernet, USB,
CAN, FPU
SH7216Ethernet, USB,
CAN, FPU
Connectivity
Pins: 176Flash: 512K-1MBRAM: 64K – 128KB
ContactMarketing
SH7264LCD, USB,
CAN, FPU, Audio
SH7264LCD, USB,
CAN, FPU, Audio
HMI
Pins: 176/208Flash: 0RAM: 640K/1MB
SH7267LCD, USB
CAN, FPU, Audio
SH7267LCD, USB
CAN, FPU, Audio
Pins: 144/176Flash: 0 KBRAM: 1.5MB
SH7147CAN
SH7147CAN
CAN
Pins: 100Flash: 256 – 512 KBRAM: 12/16 KB
SH7137CAN
SH7137CAN
Pins: 80/100Flash: 128/256 KBRAM: 8/16 KB
SH7670Ethernet, USB,
FPU, Audio
SH7670Ethernet, USB,
FPU, Audio
Pins: 256Flash: 0RAM: 32KBSH7239
CAN, FPU
SH7239CAN, FPU
Pins: 120Flash: 256/512 KBRAM: 32/64 KB
10Kami alternative
7
Evolution of SuperH Core
Without MMU(Managed by
Nilesh Rajbharti)
With MMU(Managed by
Brian Davis’ Team)
1993 1995 2000 2008
SH-1SH-1
SH-4ASH-4A
SH-2ASH-2A
Digital Audio, Automotive, Industrial, Consumer, Embedded microcontroller
Mobile, CIS, Industrial, Network, Digital AV Embedded processor
SH-2SH-2
SH-3SH-3
SH-4SH-4
Dual Core
Dual Core
Automotive Grade SuperH parts are managed by ABU
8
What is unique about SuperH MCUs?
Ultra fast performance Up to 400 DMIPS at 200MHz & 9 cycles of Interrupt Latency
Industry’s fastest 10nS flash memory technologyNo performance degradation as CPU runs faster; No need to execute from RAM
Large on-chip Memories & External Memory InterfacesUp to 1MB Flash with 128KB RAM; SDRAM, NAND Flash & Serial Flash Interfaces
Rich Connectivity peripherals10/100Mbps Ethernet, USB HS/FS Host/Device, I2S, CAN
Advanced Display Capability using low cost BOMAdd QVGA display without external frame memory (VGA in Q4/10)
Supported by leading Third Party SW & ToolsCMX, Eclipse, Express Logic, GNU Tool suite, Jungo, IAR, Micrium, Segger, Swell
SH-2A contains the highest performance
embedded flash MCUs
SH-2A contains the highest performance
embedded flash MCUs
Available Double-precision 64-bit FPUOnly general purpose MCU with 64-bit FPU – precise & efficient processing
9
Target Applications
Factory AutomationPrecision Motion ControlIndustrial Connectivity
Fast I/O Control
Operator Panels
Scientific & MedicalSignal Analysis
Quiet Motor ControlConnectivity
Operator Panels
Building AutomationHigh-end Security Systems
Image ProcessingSpeech, Connectivity
Thermostat, Control Panel
Control Panels
Office AutomationImage Processing
Precise Stepper ControlConnectivity
Operator Panels
White GoodsEnergy Efficient Motor Control
Information DisplaysConsumerMedia Players
User Interfaces
10
Competitive Landscape
SAM3 (Cortex-M3)SAM7 (ARM7TDMI)SAM9 (ARM926E)
AVR32 (UC3A)
STR7 (ARM7TDMI)STR9 (ARM966E)
STM32 (Cortex-M3)
PIC32 (MIPS M4K)
TMS320F (C2000)Stellaris (Cortex-M3)
LPC2xxx (ARM7TDMI)LPC1xxx (Cortex-M3)LPC3xxx (ARM926E)
MCF52xx (ColdFire V2)
Only SH-2A offer up to 400DMIPS of performance Nearest competition offers about 106DMIPS
SH-2A MCUs use world’s fastest 100MHz single cycle flash Nearest competition uses 50MHz
Only SH-2A MCUs offer double precision (64-bit) FPU Very few offer FPU and that is single precision (32-bit) only
SH-2A MCUs shine when customer needs
performance & high-throughput
SH-2A MCUs shine when customer needs
performance & high-throughput
11
Tools Ecosystem
C/C++ Compilers
KPIT GNU Tools
FREE
RTOS & Middleware
Eval Boards
SH7216 Motor Control
Emulators
E10A-USB E200F
FREE
IDEs
FREE
Sample Code & Libraries from RenesasFREE
SH7216 RDK
= Device Specific
FREE
up to
256KB
12
Pop Quiz
What makes SH MCUs unique in the industry? Superscalar & 100MHz Single Cycle Flash
Can SH-2A MCUs run Windows CE, Linux and VxWorks? No. Windows CE requires MMU and SH MCUs don’t have MMU
Name 3 third parties RTOS supporting SH MCUs. uC/OS-II by Micrium, ThreadX by Express Logic, CMX-RTX by
CMX, emOS by Segger
13
Summary
SH MCUs offer the best performance & memory compared to against high-end Cortex-M3, ARM9, TI C2000 DSC & PIC32
SH MCUs offer rich peripheral & performance mix to support wide variety of applications
SH MCUs are supported by Leading Third Party Vendors
TMS320C2000
Renesas Electronics America Inc.
SH-2A Architecture
15
SH-2A Executes 2 Instructions/Clock
ShiftPipeline
BranchPipeline
MultiplierPipeline
MemoryPipeline
Inst Queue 1
Inst Queue 2
Inst Decode 1
Inst Decode 2
Load/Store Pipeline
Arithmetic Pipeline
Integer Unit 32/64-bit Floating Point Unit
2.0DMIPS/MHz (v2.1) when executing from Flash
200MHz, 5-stage Pipeline Core
2 Instructions per Clock
Separate FPU Pipeline
IntegerPipeline 1
IntegerPipeline 2
8 Individual Pipelines
1. SH-2A executes 2 instructions/clock2. SH-2A delivers 2x
performance than traditional flash MCUs
1. SH-2A executes 2 instructions/clock2. SH-2A delivers 2x
performance than traditional flash MCUs
16
SH-2A offers the Highest DMIPS/MHz
Benefit: Do more work at same clock OR lower the clock & lower the power consumption
Source: Respective vendor’s web sites.
2
1.65 1.561.3 1.25 1.2
0.9
0
0.5
1
1.5
2
2.5
SH-2A RX600 PIC32 SH-2 Cortex-M3 AVR32UC3A
ARM7TDMI
DM
IPS
/MH
z
17
0
20
40
60
80
SH2(Flash,50MHz)
SH2A(Flash,160MHz)
SH2A(Flash,100MHz)
TI (RAM,150MHz)
TI (Flash,150MHz)
Tim
e (
uS
)
Arithmetic operations Bit Manipulation Motor Control Logic
SH MCUs are faster than TI 150MHz DSP.
Reasons: 100MHz Flash Vs 30MHz Flash & HW MUL, Bit manip. Instructions
SH7047F(40MHz)
TI DSPC240x
(40MHz)
Existing Design TMS320F28235(150MHz)
100MHz
Even SH-2 @ 50MHzbeats TI DSP @ 150MHz!
18
Pop Quiz
What is SH MCU DMIPS/MHz performance when executing from RAM? 2.4 DMIPS/MHz
What is the SH MCU DMIPS/MHz performance when executing from Flash? 2.0 DMIPS/MHz
SH-2A executes 3 instructions per clock – TRUE or FALSE? FALSE. It executes 2 Instructions per clock
19
SH-2A Uses Fastest Flash (10ns read time)
SH7216 STM32F LPC24xxAVR32 UC3A
PIC32 LM3STMS320F2
8
Max Freq (MHz) 200 72 72 66 80 100 150
Flash Speed (MHz) 100 24 20 33 30 50 27
MCU operating frequency
Pro
cess
ing
perf
orm
an
ce
Competing MCU with 30 MHz flash
SH7216 with 100 MHz
flash
100 MHz
1 wait cycle
DIF E WBDIF E WBIF
2 wait cycles
DIF E WBDIF E WB
IF
3 or more
30 MHz
DIF E WBDIF E WBIF
Processing performance gap
Other vendors employ wide-bus & prefetch buffers but they still
cannot match 100MHz flash performance
20
Fast Flash = More RAM for Application
Code or Frequently used Tables in RAM to achieve full speed
CPUCode
RAMSlow Flash
Data
Code/Tables
Competitor MCUWith Slow Flash
Slower Access
Fastest Access
Less RAM for
Data
More RAM for
Data
CPUCode
RAMFast Flash
Data
Fast Access
Fastest Access
Result: SH MCUs can execute similar application with lesser RAM
Always clarify why customer needs more RAM
Always clarify why customer needs more RAM
21
SH-2A Offers Fast Interrupt Response
Drawing not to scale
9 Cycles
9 cycles
CPULatency
SaveContext
(By Complier)User Code
RestoreContext
Typical MCUs
INTTrigger
Latency
CPULatency +
Save ContextUser Code
RestoreContext
SH-2A MCU
15Reg.
BanksLIFO
HW saves the context in register bank LIFO
OnePrimary
Reg.Bank
+
SH7216 Cortex-M3 ARM7TDMI PIC32
MCU Interrupt Latency 9 18+ 24 – 42 18 – 40+
22
High EMI/EFT Immunity
Benefits:1. Simplify the board design2. Reduce the number of
external protective components
3. Increased product reliability
23
Pop Quiz
What is one key advantage of fast flash? Higher performance at higher frequency
How many register banks SH-2A contain and why does it matter? 16. It reduces the interrupt latency to just 9 cycles.
24
Summary
SH MCUs beat STM32 and TI DSPs in performance
SH MCUs use Industry’s fastest flash memory Fast flash increases system performance Fast flash eliminates additional RAM for code execution
SH-2A MCUs offer just 9 cycles of interrupt latency Nearest ARM MCU offer 25+ cycles of latency
Renesas Electronics America Inc.
MCUs for Fast Real-time Systems & Advanced GUI – SH7216 & SH7264
26
Key Features & Benefits of SH7216
Hardware Floating Point UnitFaster & more precise algorithm execution
Ethernet, CAN, USB, Data Flash, Two Motor Timer Units & MoreSingle chip system with performance to manage all at once
2 Instructions/clock Superscalar CoreMore performance per clock than traditional cores
100MHz Embedded FlashCode from flash executes up to 5x faster than competition with 20MHz flash
9 cycles of Interrupt LatencyBetter real-time performance even at lower frequency
SH-2A + FPU100/200MHz
ExternalMemory I/F
8/16/32-bit
DMAC(8 Ch)
Flash(512K/768K/1MB)
RAM(64K/96K/128KB)
WDT
USART(5 ch)
I2C, SPI
Multi FunctionTimer2 Unit(16-bit x 6 ch)
Multi FunctionTimer2S Unit
(16-bit x 3 ch)
Compare Timer(16-bit x 2 ch)
12-bit ADC(4ch x 2 units)
I/O Ports
USB 2.0 FSDevice
CAN
Ethernet10/100 MAC
DTC
Data Flash(32KB)
SH-2A + FPU100/200MHz
ExternalMemory I/F
8/16/32-bit
DMAC(8 Ch)
Flash(512K/768K/1MB)
RAM(64K/96K/128KB)
WDT
USART(5 ch)
I2C, SPI
Multi FunctionTimer2 Unit(16-bit x 6 ch)
Multi FunctionTimer2S Unit
(16-bit x 3 ch)
Compare Timer(16-bit x 2 ch)
12-bit ADC(4ch x 2 units)
I/O Ports
USB 2.0 FSDevice
CAN
Ethernet10/100 MAC
DTC
Data Flash(32KB)
27
SH7216 LandscapeKey Suppliers
Renesas: SH7216 Freescale: ColdFire MCF52 ST: STR9 TI: TMS320 NXP: LPC17xx, LPC29xx Microchip: PIC32 Atmel: SAM9
SH7216 – Key Differentiators
100/200MHz Superscalar Performance (Not
the typical 32-bit MCU architecture) Available Floating Point Unit (One of only
two suppliers) 100MHz Embedded Flash (Competition
ranges from 20 to 33MHz) 9 cycles of interrupt latency (Nearest
competition is 25+ cycles) 5V analog input (Others offer 3V input) Up to 1MB Flash & 128KB RAM
USBCANFPU
Ethernet
512K/64K
768K/96K
1M/128K
72165AD72165AD72146GD72146GD
72166AD72166AD72166GD72166GD
72167AD72167AD72167GD72167GD
176-pin Packages LQFP 20x20x0.4 LQFP 24x24x0.5 BGA 13x13x0.8
RSK: R0K572167S000BE
100MHz 200MHz
RDK: YRDKSH7216
28
SH7216 - New Lower Prices for 100MHz versions
USBCANFPU
Ethernet
512K/64K
1M/128K
72165AD72165AD72146GD72146GD
72167AD72167AD72167GD72167GD
100MHz 200MHz
$7.60 Flat for 512KB, FPU, Ethernet, USB & CAN (R5F72146GDFA#V0)$11.60 Flat for 1MB, FPU, Ethernet, USB & CAN (R5F72167GDFA#V0)
Flat resale price for
10k to 100k EAU
29
SH7216 – 105C temp option
USBCANFPU
Ethernet
512K/64K
1M/128K
72165AD72165AD72146GD72146GD
72167AD72167AD72167GD72167GD
100MHz 200MHz
-40 to 85C100 & 200MHz -40 to 85C
100 & 200MHz
-40 to 105C80MHz
Now July
Price & part numbers are not yet determined
30
NEW: RSK+ for SH7216
Documentation Quick Start Guide, User Manuals, tutorials
Tools (Evaluation version of compiler) HEW IDE SH-Compiler, linker, debugger
E10A Debugger and cables Ethernet, USB, CAN, 16MB SDRAM,
LCD
Part number: R0K572167S000BEMSRP: $762
Example drivers and project tutorials including: USB – CDC, HID, MSD, Custom CAN API, Flash API ADC, WDT, Timer etc peripherals
Additional SW downloadable uIP TCP/IP Stack Micrium, CMX, Segger,
ExpressLogic demos
50% OFF Promotion*
* Available via distribution partner
31
Key Features & Benefits of SH7264
Hardware Floating Point UnitFaster vector graphics and audio processing
USB HS (480Mbps) Host/Device, CAN, I2S, SPDIF, NAND Flash Controller & MoreRich Digital Media interfaces
2 Instructions/clock Superscalar CoreMore performance per clock than traditional cores
Up to 1MB On-chip RAMEliminates external Display Frame Buffer and Code Memory.Boot from SPI Flash or NAND
Up to VGA Display Controller & Video InputRender faster alpha-blending & video overlays
SH-2A + FPU144MHz/288DMIPS
ExternalMemory I/F
SRAM, SDRAM, PCMCIA
DMAC(16 Ch)
I-Cache8KB
URAM64KB
WDT
USART w/ FIFO(8 ch)
3x I2C, 2x SPI
Multi FunctionTimer2 Unit(16-bit x 5 ch)
PWM16 ch
Compare Timer(16-bit x 2 ch)
10-bit ADC(8ch)
I/O Ports
Video InLCDC
2x CAN
USB HSHost/Device
NANDFlash Ctrl
RAM640K/1MB
D-Cache8KB
RTC
SPDIF SRC
SDHI
4x SSI (I2S)
CDROMDecoder
IEBus
Decompression
SH-2A + FPU144MHz/288DMIPS
ExternalMemory I/F
SRAM, SDRAM, PCMCIA
DMAC(16 Ch)
I-Cache8KB
URAM64KB
WDT
USART w/ FIFO(8 ch)
3x I2C, 2x SPI
Multi FunctionTimer2 Unit(16-bit x 5 ch)
PWM16 ch
Compare Timer(16-bit x 2 ch)
10-bit ADC(8ch)
I/O Ports
Video InLCDC
2x CAN
USB HSHost/Device
NANDFlash Ctrl
RAM640K/1MB
D-Cache8KB
RTC
SPDIF SRC
SDHI
4x SSI (I2S)
CDROMDecoder
IEBus
Decompression
32
SH7264 LandscapeKey Suppliers
Renesas: SH7262/4 Freescale: i.MX21, 27L (ARM9) ST: SPEAr Basic300
(ARM9) TI: TMS320DM335
(ARM9) NXP: LPC3230 (ARM9/FPU) Atmel: SAM9G45 (ARM9)SH7264 – Key Differentiators
144MHz Superscalar Performance with
8KB I and 8KB D Cache (Higher DMIPs
at lower clock freq., quieter) Double Precision Floating Point Unit
(One of only two suppliers) 4 x I2S and SPDIF, 64KB Audio buffer
(Competition normally 2x I2S) 1MB (roadmap to 2.5MB) Embedded
VRAM (Unique Selling Point) Video Input, Alpha Blending and
Chrome shift (Unique Selling Point) QFP packaging (Most Comp. in BGA)
USBSDMC
USBSDMCCAN
640KB
1MB
1.5MB
7264472644
7262472624
7264072640
7262072620
7267x7267x
7266x7266x
7264572645
7262572625
7264172641
7262172621
7269x/7269x/266MHz266MHz
7268x/7268x/266MHz266MHz
RSK: YR0K57264S000BE-L
2.5MB
VRAM
208 QFP208 QFP28x28mm (0.5) 28x28mm (0.5)
176 QFP176 QFP24x24mm (0.5)24x24mm (0.5)
★ ★ Planning
★ Development ★★
★
33
NEW: RSK+ for SH7264
Documentation Quick Start Guide, User Manuals, tutorials
Tools (Evaluation version of compiler) HEW IDE, SH-Compiler, linker, debugger
E10A Debugger and cables Example drivers and project tutorials
including: USB Host UIP TCP/IP stack
Part number: R0K572643S000BETarget MSRP: $1250
Additional applications being ported G-API CAN-API Download
Third Party SW CD or download RTA porting Express Logic/Swell media
player
Additional third parties support coming…..
50% OFF Promotion*
* Available via distribution partner
34
Third Party Support by SW Components
Third Party IDE Compiler Debug RTOSTCP/IPStack
USB Device
USBHost
Graphics File
CMX - - -SH7216
SH7264SH7216 SH7216 No - SH7216
Express Logic - - -SH7216SH7264
SH7264SH7216
SH7216 SH7264 SH7264SH7216
SH7264
FreeRTOS.org - - -SH7216
SH7264SH7216 - - - -
IARSH7216SH7264
SH7216SH7264
SH7216SH7264
- - - - - -
KPIT GNU ToolsSH7216SH7264
SH7216SH7264
SH7216SH7264
- - - - - -
Jungo - - - - - SH7264 SH7264 - -
Micrium - - -SH7216SH7264
SH7216SH7264*
SH7216SH7264*
SH7264* SH7264*SH7216SH7264*
Micro Digital - - - No No No SH7264 - No
RoweBots - - -SH7216SH7264
SH7216*SH7264*
SH7216*SH7264*
SH7264* -SH7216SH7264
Segger - - -SH7216SH7264
SH7216 SH7216 SH7264* SH7264SH7216SH7264
Swell - - - - - - - SH7264 -
* = In DevelopmentNo = Not Yet
‘-’ = Not Offered
35
Kernels
µC/OS-IIµC/OS-III
µC/FS MiddlewareµC/GUI
µC/BuildingBlocks
µC/Probe
µC/TCP-IP
µC/USB-Device µC/USB-Host
µC/Bluetooth
µC/CAN µC/Modbus
* Business qualification required – contact Renesas
36
Summary
SH7216 is targeted at Industrial Applications with > $5
Key SH7216 Value Propositions Up to 200MHz/400DMIPS performance Up to 1MB Flash & 128KB RAM Single & Double Precision FPU 10/100 Mbps Ethernet with USB & CAN
SH7216 is excellent at performing DSP & Real-time Control simultaneously
SH7264 has unique and powerful multimedia capability, plus the largest range on on-chip SRAM for 32-bit MPUs
Renesas Electronics America Inc.
Demonstration Tools from Renesas
38
Renesas Wi-Fi Solutions
SPI,UART
I/F802.11a/b/g/n
Integrated TCP/IP StackUp to 10Mbps
SPI/UART
Redpine Driver
Example Demo
• 32-bit RISC Flash MCU• Up to 400DMIPS @ 200MHZ• 32/64-bit FPU, Ethernet, USB, CAN
• 32-bit CISC Flash MCU• Up to 165DMIPS @ 100MHz• FPU, Ethernet, USB, CAN
• 8-bit CISC Flash MCU• 20MHz• CAN, ADC, Serial, Timers
www.am.renesas.com/wifi
39
Renesas MCUs for Wi-Fi Applications
Throughput, System Performance
Up to 100kbps Up to 10Mbps
2KB
+9K
B+
Pro
gra
m M
emo
ry R
equ
irem
ents
• 32-bit RISC Flash MCU• Up to 400DMIPS @ 200MHZ• 32/64-bit FPU, Ethernet, USB, CAN
• 32-bit CISC Flash MCU• Up to 165DMIPS @ 100MHz• FPU, Ethernet, USB, CAN
• 8-bit CISC Flash MCU• 20MHz• CAN, ADC, Serial, Timers
40
Low Cost Motor Control Demo Board
On-board 24VDC PMAC Motor USB Powered to 6000 RPM External power to 10000 RPM Drive larger motor with external
power module
Pre-programmed Vector Control Algorithm 3 Shunt Current Detection Hall & Encoder Connectors
PC Application to learn/experiment Real-time display of parameters
Contact your Renesas contact to request yours
New!
41
Motor Control Reference Platform
BLDC or Induction Motor
Power board
MCU Board
110 – 220V AC, Up to 20A – depends on the power module Can support LEM or 1-shunt current sensor Not for sale – reference design available on request
42
Learn, Evaluate & Develop
A comprehensive tool to learn, evaluate, & prototype using SH7216
SH7216 Board+
USB Cable+
Power Supply
All Software is downloaded
from Micrium Site
uC/OS-III Book with Example Applications
+
+
Learn RTOS Theory of operation & Usage SH7216 Architecture
Evaluate Pre-programmed Demo Application Example Applications with Full
Source Prototype
Full-featured, flexible board Debugger included on the board Power supply included
MSRP: $199
µC/OS-IIIµC/Probe
Available from bookstore.micrium.com
Book Only MSRP: $89
New!
43
SH7216 Demo Board
Debug USB
Ethernet
User USB
User Switches
Ethernet PHY with IEEE1588 User Pot
Microphone
Stereo Audio Out
RS-232
Micro SD Card Slot
Character LCD
LED for Spinning Motor SimulationApplication Headers
On-board Debug
P/N: YRDKSH7216 for US - Suggested Resale: $199YRDKSH7216W for W/W - Suggested Resale $209
Available from bookstore.micrium.com & Disty Partners
New!
44
IEEE1588 Solution using SH7216
Precision Time Protocol for Motion Control & Factory Automation
Sub-10nS accuracy Proven Software Components from Reputable SW Vendors Ultra Fast CPU with 100MHz Single Cycle Embedded Flash Advanced Motor Control Units & FPU for precise Motion
Control
Micrium RTOS
MicriumTCP/IP Stack
IXXATPTP Component
User Application
SH7216
SMSCOr
National Semiconductor
PHY + Timestamp
SMSCOr
National Semiconductor
PHY + Timestamp
MII
45
SH7216 CAN Demo Case
“Mix & Match” CAN RSKs
Support now includes: R8C, M16C, R32C and SH2/2A
S/W includes: CAN API and Flash over CAN
Suit cases built for customer demos
API, Demo Code, Training Material & Kit all based on Standard RSKs
Contact Renesas to reserve one
46
Media Player Demo using SH7264 RSK
Demo application, Image and music player Play MP3/WMA/AAC while viewing
JPEGs
Uses Express Logic ThreadX, USBX, FileX, PEGX (resold
from Swell SW)
Tutorial Modify GUI tutorial with Peg Window
builder
Existing demo uses VGA LCD
Demo will be resized to use QVGA LCD on RSK (2Q10)
Made available by download or CD via Renesas FAE
47
Pop Quiz
What does Micrium promotion offer? FREE RTOS & 50% off on Middleware
A customer needs Wi-Fi capability. How would you proceed? For simple, lowest cost Wi-Fi sensor, promote R8C For low power system controller, promote RX For high-performance system controller, promote SH
What is so special about CAN APIs for SH7216? They are compatible with R8C & R32C APIs
48
Summary
SH7216 + Micrium promotion offers free RTOS & specially priced Middleware to qualified customers
A Low Power Wi-Fi solution for SH7216 is in development
Customers can implement IEEE1588 using SH7216 & External 1588-enabled PHY
CAN Demo case is a great to show SH7216 CAN in action
Renesas Electronics America Inc.
SuperH MCU Roadmap
50
SH7216 Roadmap
100/200MHzFPU, Ethernet, CAN, USB
512/64 to 1024/128 Flash/RAM (KB)176-pins
SH7216
160MHzFPU, CAN, 16-ch ADC
256/32 to 512/64 Flash/RAM (KB)112/120-pins
SH7239
WS: Q3/10, MP: Q1/11
160MHzFPU, CAN, USB Host
256/64 to 1024/128 Flash/RAM (KB)100/120/144-pins
SH7217
In Planning
300MHzFPU, RT Ethernet, CAN, USB Host
HRPWM, 125C, 0.5uS ADC512to 2MB Flash144/176/208-pins
SH7219
In Planning
200MHzFPU, RT Ethernet, CAN, USB Host512/64 to 1024/128 Flash/RAM (KB)
144/176/208-pins
SH7218
In Planning
Feature Enhanced
Perform
ance Enhance
d
2010 2011 2012 2013
Streamlin
ed
Streamlin
ed
Products “In Planning” are subject to change
51
SH7264 Roadmap
144MHzCache, FPU, CAN,
USB2.0 480Mbps Host/Dev.,LCDC, Video IF, Blending, I2S, SPDIF, SDMC640KB/1MB SRAM#2 + 64KB SRAM#1
176/208- pins LQFP
SH7262/4
144MHzCache, FPU, CAN, USB2.0 480Mbps Host/Dev., LCDC,
Video IF, Blending, I2S, SPDIF, SDMC640KB/1.5MB SRAM#2 + 64KB SRAM#1
144/176-pins LQFP
SH7266/7
266MHzCache, FPU, CAN,
USB2.0 480Mbps Host/Dev. LCDC, Video IF, 2DG, Blending, I2S, SPDIF, SDMC
640KB/2.5MB SRAM#2 + 64KB SRAM#1208/244-pins LQFP, 245 BGA
SH7268/9
200MHzCache, FPU, CAN,
USB2.0 480Mbps Host/Dev.,LCDC, I2S, SPDIF, SDMC
64KB SRAM#1208- pins LQFP
SH7203/7263
2010 2011
Perform
ance Enhance
d
Larger Memory WS : now, MP: 4Q10
In Development
Internal Frame buffer
52
Summary
SH7266/67 expands on-chip SRAM to 1.5MB comared to SH7262/64. This enables VGA resolution for TFT-LCD
SH7239 is a lower cost alternative to SH7216
Customers can use SH7216 as an evaluation & development platform until SH7239 becomes available
53
Call to Action
Use SH7216 & Micrium promotion to reintroduce SH-2A
Make use of solutions to expand SH-2A opportunities
Look for opportunities to use SH7216 for real time control and SH7264 for Human Machine Interface.
Promote SH7216 with FPU to replace DSP/ASIC + MCU
Renesas Electronics America Inc.
Reference
55
SH-2/2A GP/Motor/Inverter: Readiness Sheet
DeviceGroup
MP Status
Manual on
Web
P/N in system
P/N in Disti Book
Device Stock
Starter kit Stock Notes
SH7080 Y Y Y Y Y Y
SH7125 Y Y Y Y Y Y
SH7124 Y Y Y Y Y Y
Third Parties
FREE SW
Demo
Kits
Kits
56
SH-2/2A GP/Motor/Inverter: Reference Sheet
Series Key Selling Points Target Applications Competitors
SH7280
• Up to 200DMIPS performance• 20nS Fast Flash• 9 cycles of interrupt latency• DSP instructions• Control two brushless motors• Two 1uS 12-bit ADC modules• SDRAM memory interface
• Vector Motor Control• Real-time Signal
processing
ST: STM32F Cortex-M3NXP: LPC Cortex-M3Microchip: PIC32
SH7080
• Up to 104DMIPS performance• 12.5ns Fast Flash• Control two brushless motors• SDRAM memory interface
• Vector Motor Control• AC Drive
Freescale: CF V2ST: STM32F Cortex-M3NXP: LPC Cortex-M3Microchip: PIC32
SH7124/5
• Up to 65DMIPS performance• 20nS Fast Flash• Control one brushless motor• Down to 7mm2 QFN52 pkg
• Low cost Vector Motor Control
• Smart sensor node
ST: STM32F Cortex-M3Microchip: dsPIC, PIC24
57
64 KB
32 KB
128 KB
256 KB
512 KB
768 KB
48 pins 64 pins 100 pins
SH7080 SH7080
112 pins 144 pins 176 pins
SH712516 KB
SH-2/2A GP/Motor/Inverter: Line-up
SH7080
SH7080
SH7080
SH7080SH7080SH7080
SH7125
SH7125
SH7125
SH7124
SH7124
SH7124
SH7124
Smallest, Lowest Cost SH-2
58
SH-2A Connectivity: Readiness Sheet
DeviceGroup
MP Status
Manual on
Web
P/N in system
P/N in Disti Book
Device Stock
Starter kit Stock Notes
SH7216 Y Y Y Y Y Y
SH7670 Y Y Y Y N N Contact Marketing
SH7280 Y Y Y Y Y Y
Third Parties
RSK: R0K572167S000BE
RDK: YRDKSH7216
Kits
uC/OS-III Book
Demos
FREE SW
Promotion
FREE Kernel50% Middleware
59
SH-2A Connectivity: Reference Sheet
Series Key Selling Points Target Applications Competitors
SH7216
• Up to 400DMIPS performance• 32/64-bit FPU• DSP instructions• 10nS Fast Flash• Up to 1MB Flash & 128KB RAM• 9 cycles of interrupt latency• Ethernet DMA with 2KB FIFO• SDRAM memory interface• Ethernet, USB & CAN
• Industrial Networking• PLC• Building Automation• Multi-function Printers• Distributed Motion Control• AED, Sleep Screening• Combine DSP+MCU into
one
ST: STR9Atmel: SAM9 (ARM9)TI: TMS320NXP: LPC17xx, 29xx
SH7280
• Up to 200DMIPS performance• DSP instructions• 20nS Fast Flash• Up to 1MB Flash• 9 cycles of interrupt latency• SDRAM memory interface• USB & CAN
• Vector Motor Control• Real-time Signal
processing
ST: STM32F Cortex-M3NXP: LPC Cortex-M3Microchip: PIC32
SH7670
• Up to 400DMIPS performance• 32/64-bit FPU• DSP instructions• Ethernet, USB HS H/D, I2S
• Industrial Networking• Audio
Atmel: ARM9TI: ARM9NXP: ARM9
60
512 KB
768 KB
1 MB
100 pins 144 pins 176 pins
0 KB
SH-2A Connectivity: Line-up
SH7280
SH7216
SH7280SH7280
SH7216
SH7280SH7280SH7280
SH7216
SH7264
208 pins
SH7264
SH7267SH7267
USB HS Host/Device, CAN, FPU
USB, CAN
Ethernet, USB, CAN, FPU
USB HS Host/Device, CAN, FPU – Contact Marketing
61
SH-2/2A CAN: Reference Sheet
Series Key Selling Points Target Applications Competitors
SH7147
• 104DMIPS performance• 12.5nS Fast Flash• Up to 2 CAN 2.0B modules• Two 12-bit ADC modules• Drive two brushless motors
• Motor Control• Industrial Networking• Thermal printers
ST: STM32F Cortex-M3NXP: LPC Cortex-M3Microchip: PIC32
SH7137
• 104DMIPS performance• 12.5nS Fast Flash• One CAN 2.0B module• Two 12-bit ADC modules• Drive two brushless motors
• Motor Control• Industrial Networking• Thermal Printers
ST: STM32F Cortex-M3NXP: LPC Cortex-M3Microchip: PIC32
SH7239
• 100/320DMIPS performance• 32/64-bit FPU• 10nS Fast Flash• Up to 512K Flash & 64K
RAM• One CAN 2.0B module• 5V option
• Motor Control• Industrial Networking• Thermal Printers
ST: STM32F Cortex-M3NXP: LPC Cortex-M3Microchip: PIC32TI: TMS320F
62
64 KB
32 KB
128 KB
256 KB
512 KB
768 KB
1 MB
100 pins 144 pins 176 pins
0 KB
SH-2/2A CAN: Line-up
SH7280
SH7280SH7280
SH7280SH7280
SH7137
SH7216
SH7216
SH7216
208 pins
SH7147
80 pins
SH7137
SH7137
SH7264SH7264
SH7267SH7267
Dual CAN
Ethernet, USB, CAN, FPU
Lowest cost CAN
USB, CAN
USB HS Host/Device, Dual CAN, FPU
USB HS Host/Device, Dual CAN, FPU – Contact Marketing
63
SH-2A HMI: Readiness Sheet
DeviceGroup
MP Status
Manual on
Web
P/N in system
P/N in Disti Book
Device Stock
Starter kit Stock Notes
SH7264 Y Y Y Y Y Y
SH7267 N N N N N N WS: Now, MP: Q4/10
FREE SWKits
Third Parties
Demo
Media PlayerQVGAVGA
* Available in early Q3/10
64
SH-2A HMI: Reference Sheet
Series Key Selling Points Target Applications Competitors
SH7264
• 288DMIPS performance• 32/64-bit FPU• DSP Instructions• 640K/1M RAM for code &
display• Boot from Serial/NAND flash• No ext memory required for
QVGA displays• USB HS 2.0 Host/Device• SDIO Host Interface
• Industrial Operator Panels• Audio/Video Player
accessory• High-end Thermostat,
Remote• AED, Medical Telemetry &
Imaging
Freescale: i.MX2x (ARM9)ST: SPEAr Basic300TI: TMS320DNXP: LPC3230Atmel: SAM9G45
SH7266
• 288DMIPS performance• 32/64-bit FPU• DSP Instructions• 1.5MB RAM for code &
display• Boot from Serial/NAND flash• No ext memory required for
VGA displays• USB HS 2.0 Host/Device• SDIO Host Interface
• Industrial Operator Panels• Audio/Video Player
accessory• High-end Thermostat,
Remote• AED, Medical Telemetry &
Imaging
Freescale: i.MX2x (ARM9)ST: SPEAr Basic300TI: TMS320DNXP: LPC3230Atmel: SAM9G45
65
144 pins 176 pins
0 KB
SH-2A HMI: Line-up
208 pins
USB HS Host/Device, CAN, FPU
Ethernet, USB Host/Device, I2S, FPU
USB HS Host/Device, CAN, FPU – Contact Marketing
SH7264SH7264
SH7267SH7267
SH7670
208 pins
Renesas Electronics America Inc.
SuperH Peripherals
67
Floating Point Unit
2MFLOPS/MHz – Total of 400MFLOPS @ 200MHz
IEEE754-compliant Easily share data with other systems
Single (32-bit) & Double (64-bit) Precision Precise and faster control loops & algorithms
Designed for Embedded Systems Automatic scaling of floating format Supports FMAC, FABS, FLOAT, FDIV, FSQRT etc.
Function(Double Precision)
Time* (nS)
sin 680
cos 650
tan 900
asin 995
acos 1225
atan 695
log 910
exp 950
pow 1140
* Based on SH7203 (SH-2A core with FPU) 200MHz execution from SDRAM with cache enabled Performance using flash-based MCU & FPU at 200MHz is not available at this time.
SH7216
68
FPU Advantages
Floating Point based math is easy to understand
Floating Point based math is easy to debug Can you identify a bug in this Fixed Point math logic?
HW FPU based math is faster and requires lesser code memory– FPU Performance of a polynomial formula (R32C @ 32MHz)
– SUM(An * x^n), where n = 0 to 5 and A0 to A5 are constants
// Read the ADC code into float value
rawADCFloatValue = float(adcCode);
// Linearize the ADC Value
actualTemperatureValue = 1.23456*rawADCFloatValue + 45.8
// Read the ADC code
rawADCFixedValue = adcCode;
// Linearize the ADC Value
actualTemperatureValue = FIX12_MUL(FIX12_fromfloat(1.23456), rawADCFloatValue) + FIX12_fromfloat(45.8);
With Floating Point Without Floating Point
actualTemperatureValue = FIX12_MUL(FIX14_fromfloat(1.23456), rawADCValue) + FIX12_fromfloat(45.8);
69
External Memory Interface
Flash/ROM
SRAM
BurstROM
SDRAM
Separate Read & WriteWait Cycles for each CS
8 CS Regions
Bus Arbitrator
SDRAM Auto Refresh
Little/Big Endian
EthernetMAC+PHY
8/16/32 Bus
Support for up to 512MB memory Individual wait state configurations for each memory
70
External Memory Advantages
Expand Program & Data Space at very low cost using SDRAM I/F 2MB SDRAM = $1.82/10kpcs vs $15+ for SRAM (10ns)
Add optional features to Products using External Memory I/F
SuperHCore
ExternalMemoryInterface
EthernetMAC+PHYFlash
RAM
Wireless
One board – multiple options
71
Dual 12-bit ADC with 8 Channels
S/H
S/H
S/HSAR
SAR
ADC ClockUp to 50MHz
ADC INT
ADC INT
ADC Power5VDC
ADC Reference
Multiple ADC Result Registers
1uS Conversion
3 SimultaneousSample & Hold
0 - 5V Analog Input
72
Multi-function Timer Units
Motor 1
Motor 2
Timer Unit 2
Timer Unit 2S
ADC Trigger
DTC Trigger
DMA Trigger
ADC Trigger
DTC Trigger
DMA Trigger
Auto Shutdown
2x Encoder I/Ps
Dead Time Comp.
12x PWMs
6x 16-bit Timers
Auto Shutdown
Dead Time Comp.
100MHz Clock
8x PWMs
3x 16-bit Timers
BLDC/ACIM/PMSM
BLDC/ACIM/PMSM
73
Controller Area Network (CAN)
Common Control/Status
Registers
CAN 2.0BProtocol Engine
CPUInterface
Message Buffer
AcceptanceFilter
Control Registers
15 Tx/Rx+
1 Rx
Up to 1Mbps data rate
INTs
Clock
Data
Control
Unique Features: Hardware support to simplify SW & Reduce CPU load Disable Automatic Retransmission on Bus Error Automatic Priority-based transmission – Mailbox number or ID-based
RX
TX
SH7137, SH7147, SH7286, SH7216
74
USB 2.0 Full Speed Device
Status&
Control
FIFO
USBEngine
TransceiverD+
D-
Integrated USB Transceiver External 48MHz clock or shared 12MHz+PLL clock Ability to disable USB module to save power
SH7285, SH7286, SH7216
75
10/100 Ethernet MAC
Full and Half-duplex modes
Can connect to any MII-compliant PHY
Magic Packet detection & Wake-on-LAN
Transmit and Receive FIFO – 2 KB each
Two Integrated DMA channels
SH7216
100pin
PHY
Magnetics
MII
76
Other Peripherals
ClockGenerator
DataTransfer
ControllerDMA
WDTUART
USARTSPI, I2C
PinFunctionController
PowerModes
On-chipDebugger
On-chipTrace Unit
MultipleTimers
D/A
Check device manual for exact set
77
Pop Quiz
What are the key benefits of FPU? Accelerates & Simplifies Precision Algorithms
How is SH MCU ADC unique? SH MCUs provide 5V Input range, while most competition offer
3V
Renesas Electronics America Inc.
Development Tools
79
Development Tools C/C++ Compilers
MULTI®
KPIT GNU Tools
FREE
Evaluation Systems
Motor Control
Emulators
E10A-USB E200F
FREE
Development Environments
MULTI®
FREE
Sample Code & Libraries from RenesasFREE
RTOS & Middleware
80
Hardware Debuggers
On-chip Debug interfacesUSB E10A for JTAG
Advanced User Debug (AUD)
version
– Pipeline trace
– RTOS Aware
Full In-Circuit EmulatorsNon-intrusive debugging
Application uses all package pins
Application uses all ROM & RAMAdvanced debug features
Complex events
Full bus trace
Coverage
Seamless Integration with HEW
E200F
E10A
81
Third Party RTOS & Middleware Support
embOS by SEGGER emFile Embedded File System emUSB in Development embOS/IP in Future
ThreadX by Express Logic FileX Embedded File System USBX & NetX Future
μC/OS-II by Micrium μC/FS Embedded File System, μUSB μC/TCP-IP in Development, μC/CAN in Future
CMX-RTX by CMX CMX-TCP/IP, CMX-USB in Development
82
Free SW from Renesas
Sample codes for major peripherals
Vector Control Motor Algorithms
Ethernet Send/Receive, Open Source TCP/IP in Development
CAN API – compatible with R8C & R32C API
USB Device – CDC, MSC, HID
Fixed Point Math & DSP Libraries for SH-2A FPU (In Beta, available on request)
Available on www.america.renesas.com
83
Summary
SH MCUs are supported by leading Third Party Tool Vendors
HEW IDE is a modern IDE with advanced features
Compiler is FREE for code size < 256KB
Renesas provides many FREE code examples & libraries
84