SH-2/SH-DSP Embedded RISC MCU Family

High-Performance, Low-Cost 32-Bit

Hitachi’s SH-2 product family comprises two series of high-performance, low-cost 32-bit devices based on the Block Diagram of SH7065 (SH-DSP) SuperH architecture: SH-2 series RISC microcontrollers (MCUs) and SH-DSP series RISC/DSP processors. SH-DSP CPU ROM ■ Description 256KB I/O (Flash/Mask) Port SH-2 encompasses a diverse range of upward-code- DMAC 4ch compatible devices. The SH-2 MCUs have high performance (up to 65MIPS at 50MHz) and offer low Timer A/D 16 bits x 8ch converter RAM Watchdog power consumption. They provide great functionality 10 bits 8KB Timer through a rich set of on-chip integrated peripherals, Motor x 8ch State Controller Management including timers that simplify motor-control and Timer D/A Serial converter Interrupt industrial equipment designs. Interface 8 bits Controller PLL x 2ch 3ch One MCU in the SH-2 series, the SH7047F, has 256KB of flash, one CAN 2.0B port, three SCI channels and several 16-bit timers, making it an ideal choice for 3-phase DC brushless motor control applications. . These tools include evaluation kits, emulators, companion chips, reference design platforms, software The processors in the SH-DSP series combine into a single board support, real-time operating system, middleware, core an SH-2 32-bit RISC CPU and a full-featured, 16-bit and application support. integer DSP unit that can execute 16x16 integer multiplies in a single cycle. The RISC/DSP core multi- ■ Technology Roadmap (see next page) tasks its operations to deliver up to 78MIPS or 120MOPS To protect customers’ engineering investments and meet at 60MHz. changing device needs in evolving One member of the SH-DSP series, the SH7065, markets, Hitachi has a solid technology roadmap for the integrates 256KB of on-chip flash, and is a good choice SuperH product family, including the SH-2 family. New for high-performance systems and precision motor chips now planned will fit high-performance applications control applications. that require digital image processing as well as mechanical control on a single chip. They will offer design flexibility ■ Development Tools and field programmability. Devices built on 0.18-micron A complete set of proven hardware and software process technology will offer over 100 MIPS performance development tools is available from Hitachi and third- and combine large memory and embedded FPGA party suppliers to speed up the system design and debug solutions on one chip. SH-2/SH-DSP High-Performance, Low-Cost Embedded RISC Family 32-Bit Microcontrollers

SH-2/SH-DSP MCU Roadmap

Next Generation single-chip In Planning SH-2/2-DSP SH-CSoC SH70xx Built in FPGA Under Development 80-100MHz/0.18µm In Production SH-2 SH-2 SH7048 SH7065F SH7145F SH7144F SH7101 SH7047F Embedded SH7049 HCAN µ High-speed version SH7046F 50-60MHz/0.35 m SH7148 ROM: 256KB of SH7040 Inverter, 50MHz/0.35µm Air-conditioner, EPS, Washer, ROM: 64-256KB Pump, etc. SH7044F SH7045F SH7016 SH7018F SH7018 is 0.35µm SH7042 SH7043 SH7014 SH7017F SH705x SH7040 SH7041 SH7011 SH-2E/SH-2 80MHz SH-2 20-28.7MHz/0.6µm 0.18µm ROM: 64-256KB SH7055 SH7053 Built-in HCAN; Automotive High-capacity Flash SH7054 SH7052 Applications; 40MHz/0.35µm MCUs: ECU, ABS, FA ROM: 512B-128KB

■ High-performance CPU • Built in hardware multiply ■ High-capacity on-chip • SH-2 RISC core: Up to 65MIPS accumulate unit memory at 50MHz (32-bit x 32-bit + 64-bit) • Up to 512 KB of on-chip single- • SH-DSP RISC/DSP core: Up to ■ Full-featured 16-bit integer voltage programmable flash 78MIPS at 60 MHz DSP capability (SH-DSP) • 8/16/32-bit external bus (not all • Upward code compatible with • Extended Harvard architecture: SH-2 devices have 32-bit bus) SH-1 series accesses one instruction and two Data bus support • Load-store architecture data words per cycle ■ High peripheral integration • Instruction length: Fixed 16-bit • Executes four independent • Bus state controller: Direct length for improved code operations in parallel connection to DRAM, SRAM, efficiency • Single-cycle 16x16 multiply and Flash • Delayed unconditional branch operations; two-cycle 16x16+64 • DMAC: Single- and dual-address instructions to reduce pipeline MAC operations modes disruption • Zero overhead looping, circular • Multifunction timer units: • Instruction execution: one buffer, saturation arithmetic, Several 16-Bit timers, input instruction per clock cycle guard bits capture, output compare, PWM • 5 stage instruction pipeline • Any DSP operation can be generator performed in parallel with two • Sixteen 32-bit general-purpose • A/D converter: 10-bit, 8 input memory accesses registers and four control and channels, (12 channels for nine bank registers for fast jumps SH7046; 16 channels for SH7047) and interrupt response • Serial communications interface: • User break creates interrupt ■ Real-time operating system configurable for synchronous or request at specific location/area (RTOS) products asynchronous operation. (Interrupt service routine • ATI (Nucleus+) ➜ required for support to analyze • MAC: 32 x 32 + 64 64 • Linux Multiply accumulate function program status and to restart program under test) • CMX (CMX-RTX) • Other peripherals (varies by • SuperTask device): , Data Transfer • On-chip debugger is compatible Controller, clock pulse generator, with JTAG specifications. • ThreadX 2 I C, interrupt controller, compare- ■ Hardware development tools • Wind River (VxWorks) match timer, WDT, FPU, CAN Emulators: ■ Application support controller, user break controller Hitachi (E10A, E6000, E8000S), • Middleware: • Up to 106 I/O pins Sophia, Lauderbach, Yokogawa Analogical Systems, Extended ■ Flexible Evaluation boards: Hitachi (EDKs) Systems • Three power down modes to Sockets: Yamaichi, Tokyo Electec • Co-verification tools: lower power consumption PROM/flash programmers: Hitachi IBIS Simulation Models, • Clock gearing enables clock to be Data I/O, BP Microsystems Mentor changed “on the fly” ■ ■ Software Third-party vendors with ■ SuperH software driver On-chip hardware support Project builders, C, C++ compilers, support for debugging assemblers, simulator/debuggers: • Graphic chips: • Use for "Debugging in the • Green Hills Software System" TVIA CyberPro 5xxx Series • Hitachi HEW Epsen (SED135x, SED137x) • Allows low-cost S/W debugging • IAR software • PCI: Quicklogic • No real-time in-circuit emulator • Redhat GNU Pro™ required • GPS: SiRF Technology • FDT: Flash Development Toolkit • Single step provides convenient means of debugging in ROM

Typical SH-2/SH-DSP Applications SH-2 Series Key Message Segment Applications SH701x series 1. Compact version of SH704x OA & Industrial, Motor controllers, Printer, Fax machine, (SH7017, SH7018) 2. Low price Consumer, DVC, Consumer appliances 3. Lower power consumption White goods (cooking range, etc.) SH7046 series 1. Single chip control of two motors simultaneously White goods Air Conditioners, Pump, Washer, (SH7046, SH7148, 2. Built in 32bit high-speed CPU embedded multiplier (SH7046, SH7148) Power door, Seat positioning, SH7047, SH7049) 3. Operates with single power supply Starter/Generator, Car air conditioner, 4. Many A/D inputs Automotive Body EPS, Auto sensor, ECU 5. Embedded CAN (SH7047/9) Systems (SH7047/9) See Application diagram on page 5 SH7144 series 1. Embedded high performance multi-purpose CPU Industrial, Inverter, AC Servo, Factory Automation, (SH7144, SH7145) – 65MIPS performance. Digital Consumer Robot, HDD recorder, DVD recorder, DVC, 2. Ideal for low power consumption systems. liquid crystal projector 3. Rich set of peripherals including I2C, four SCIs, etc. 4. Reduced A/D conversion time. 5. Makes use of SH7040 series software SH-DSP series 1. A Unified 60MHz SH and DSP CPU engine OA, Industrial AC servos, multi-function printers, (SH7065) optimized for low power and cost and Consumer industrial controller systems, 2. 256kB embedded using 0.35um (SH7065) medical equipment (heart monitors, etc.), 3.3V single power supply seismic monitoring equipment 3. Peripherals (PWM Timer, A/D, DMA Controller, etc) 4. External Bus expansion up to 32 Bits www.hitachi.com/semiconductor

SH-2/SH-DSP Development Tools

HEW HDI FDT

• Flexible Code development environment • High-level graphical C source code debugging • Supports direct connection to • Project Wizard for easy setup as well as assembly-level debugging customer’s own target • Hierarchical project support • Supports C++ debugging • Supports BOOT and USER • File dependency scanning–Non-source files can be added • In-circuit emulation control modes • SuperH C++ Compiler toolchain • Breakpoint control using point and click; • Serial communication interface • Fully featured integrated editor Breakpoints can be set on labels • Advanced messaging levels to • Customizable build process and Integrated MAKE facility • Single stepping at the source code level aid hardware development SuperH HEW CD comes with: (step, step over, step out) Free download at: • Hitachi Embedded Workshop (HEW) • Source display from in-circuit emulator trace http://www.hmse.com/ • SuperH C/C++ Compiler and cross-assembly tool chain buffer products/fdt/index.htm • Contents of memory, registers and symbols • Cycle-accurate simulator Upgrade patches to support • Hitachi Debugging Interface (HDI) can be viewed and modified, such as watchpoints and customizable I/O windows. new devices are available at: • User manuals as Acrobat PDFs http://www.hmse.com/ • Installer • Generic GUI for all Hitachi debug platforms, including EDK monitors products/fdt/support.htm Part number: US0700PXIW2SR

E10A E6000 E8000

• PCI or PCMCIA interface • Zero wait-state, real-time emulation • Provides C-level debug, code download, • 2 to 4 hardware breakpoints • 256 PC breakpoints single stepping, breakpoints, and trace review • 256 software breakpoints available • Up to 12 hardware breakpoints • Allows 26 hardware break conditions and 255 • Stores up to 8 levels of branch • 32k-cycle trace buffer software break conditions instruction trace • 4 user logic probes • High-speed, real-time emulation up to 180MHz • HDI front end user interface included • Multiple target clock selection • Real-time trace support • HDI debugger software included • Interfaces to host PC Ordering Information • Compatible with Windows 95/98/NT/2000 • Target connection

E10A Emulator Ordering Information For ordering information on E8000, Devices: SH7047, SH7144, SH7145 please contact your local sales representative or distributor, or visit: E10A Part Number: SH7047 E6000 emulator http://semiconductor.hitachi.com/tools PCMCIA: HS7047KCM01H (H-UDI) Device: SH7017, SH7018 HS7047KCM02H (H-UDI and AUD) E6000 part number: HS7010EPI60H PCI: HS7047KCI01H (H-UDI) Interface board part number: HS7047KCI02H (H-UDI and AUD) HS6000EIC02HE (PCI Board) HS6000EIP01H (PCMCIA Card) SH7144F/45F HS6000ELN01H (LAN Adapter) PCMCIA: HS7144KCM01H (H-UDI) Target Cable: HS7144KCM02H (H-UDI and AUD) HS7017ECH61HE (FP-112: SH7017) PCI: HS7144KCI01H (H-UDI) HS7018EWN61H (TFP-100B: SH7018) HS7144KCI02H (H-UDI and AUD)

EDK: Evaluation Development Kit

• Target board for SH-2 MCUs EDKs include Ordering Information • Built-in debug monitor • Evaluation board with serial connection cable • Supports code download, memory and register • HEW with manuals (on CD-ROM) Device: editing, stepping and breakpoints. • Evaluation version (time-limited) of Hitachi SH7017, SH7047**, SH7145*** • RS-232 serial ports (via MCU’s SCI channels; Complier one channel is required by the debug monitor) • Debugger with user manual; device data book EDK part numbers: • LEDs for power indication and user application. (on CD-ROM) US7047EDK1, EDK7145 • Connectors for a user interface to MCU I/O • Evaluation board user manual including ports schematics and tutorials on how to use the • HDI front end user interface included tools

For more information on development tools and ** SH7047 EDK available Q3’02 links to Hitachi’s partners websites, visit ***SH7145 EDK available Q4’02 http://semiconductor.hitachi.com/tools/ ■ Application Example SH7047 Application: Standard Inverter System SH7047 Special Features Inverter Control on one high-performance chip

Can control two motors simultaneously using Motor Current ADC 0 the MTU and MMT SH-2 ADC 1 The SH7047 MCU has a multifunction timer core 6-phase PWM output MMT pulse unit (MTU) comprising five 16-bit timer motor Power AC control Module Motor channels, with a maximum capability of 16 pulse 12KB RAM 6-phase PWM output inputs/ outputs, as well as a motor management MTU timer (MMT) that can generate a six-phase multi- Power AC 256KB ROM functions Module Motor non-overlap-time pulse-width modulation SCI 3ch (PWM) output. Used together, the MMT and SH7047 HCAN2 1ch MTU enable the SH7047 to control two motors.

Implement fast, reliable communication using CAN SH7046 Series provides: The SH7047F device provides a one-channel Hitachi controller area network • More accurate control (HCAN2) function compliant with the Bosch CAN Ver. 2.0B active • Energy-efficient motor control specification. • Reduced mechanical and The HCAN2 function features full CAN support and a 32-message buffer. It electrical motor noise allows fast and highly reliable communication in in-vehicle automotive • Reduced vibration systems and industrial environments. • Sensorless motor control

■ SH-2 and SH-DSP Selector Guide

1 Interrupts Development Tools 2 4 3 ADC ROM ROM Other DTC (MHz) DMAC Range I/O port Package IO (Volts) (channel) E10A E6000 E8000 Frequency Frequency 10 bits (ch) Internal Temperature External RAM (KByte) 16-bit Timer Supply Voltage Voltage Supply (KByte) / Type Type (KByte) / H-UDI AUD

Device Part Number SCI (Async/sync) 4 SH7017 HD64F7017F28 128 F 4.5-5.5 28.7 5 2 - 2 - 8 29 7 82 Yes - - - Std. QFP-112 (1k cache) 5v IO/ SH7018 HD64F7018X20 160 F 4 20 5 - - 1 - 12 20 8 80 - Yes - - Std. TFP-100B 3.0-3.6 HD64F7047F50 Std. MTU, HD64F7047FW40 256 F 12 4.5-5.5 50 MMT - Yes 3 HCAN 16 49 5 69 - Yes Yes Yes WTR QFP-100 (8) HD64F7047FJ40 J SH7047 HD6437049F50 Std. MTU, HD6437049FW40 128 M 8 4.5-5.5 50 MMT - Yes 3 HCAN 16 49 5 69 - Yes - - WTR QFP-100 (8) HD6437049FJ40 J HD64F7046F50 256 F 12 MTU, - Yes Yes Yes 4.5-5.5 50 MMT - Yes 3 - 12 42 5 53 Std. QFP-80 HD6437148F50 64 M 4 (8) -Yes- - HD6437048F50 128 M 4 MTU, Std. SH7046 4.0-5.5 50 MMT - Yes 2 - 12 42 5 54 - Yes - - QFP-80 HD6437048FW50 128 M 4 (8) WTR HD6437101F40 MTU, Std. 32 M 2 4.0-5.5 40 MMT - Yes 2 - 8 42 5 54 - Yes - - QFP-80 HD6437101FW40 (6) WTR HD64F7144F50 256 F MTU - Yes Yes Yes SH7144 8 3.3V 50 4Yes4 I2C 8 51 9 74 Std. QFP-112 HD6437144F50 256 M (7) -Yes- - HD64F7145F50 256 F MTU - Yes Yes Yes SH7145 8 3.3V 50 4Yes4 I2C 8 51 9 98 Std. LQFP-144 HD6437145F50 256 M (7) -Yes- - HD64F7065AF60 256 F 4KB x2 MMT, SH7065 3.0-3.6 60 4 - 3 - 8 52 8 115 - Yes - - Std. LQFP-176 HD6437065AF60 256 M X & Y TPU (9)

Notes 1. F = Flash; M = Mask ROM 3. DTC = Data Transfer Controller 2. MMT = Motor Management Timer; 4. Standard Temp = -20 to +75°C; I = Industrial Temp (-40 to +85°C); MTU = Multifunction Timer Unit; TPU = Timer Pulse Unit J = Industrial Temp (-40 to +85°C Extended Reliability); WTR = Wide Temp Range Package Information

26.0 ± 0.2 23.2 ± 0.2 22.0 ± 0.2 24 20 20 132 89 84 57 108 73 133 88 109 72 85 56 0.2 ± 0.2

0.2 LQFP-144 ± ±

LQFP-176 0.65 QFP-112 22.0 0.5 0.5 23.2 26.0

144 37 112 29 176 45 1 36 1 28 * 0.22 ± 0.05 ± 0.08 M 144*0.32 ± 0.08 0.20 0.04 *0.22 ± 0.05 0.13 M 0.10 M 0.30 ± 0.06 0.20 ± 0.04

17.2 ± 0.2 16.0 ± 0.2 16.0 ± 0.2 14 14 14 60 41 75 51 75 51 76 50 61 40 76 50 0.2 0.2 0.2 ± ± ± 0.65

TFP-100B 0.5 QFP-80 QFP-100 0.5 16.0 16.0 17.2 80 21 100 26 100 26 1 20 1 25 125 ± ± *0.32 0.08 * 0.22 ± 0.05 *0.22 0.05 ± 0.12 M ± 0.08 M 0.30 0.06 0.20 ± 0.04 0.08 M 0.20 0.04

Visit us online at www.hitachi.com/semiconductor

U.S. Headquarters Distributors

179 East Tasman Drive, San Jose, CA 95134 Avnet Electronics Marketing ...... (800) 332-8638 www.hitachi.com/semiconductor Insight Electronics ...... (800) 677-7716 Reptron Electronics ...... (877) 877-2400 To order literature: (800) 285-1601 Fax: (510) 683-9700 Nu Horizons ...... (888) 747-NUHO Sales Offices

2030 Main Street 25 Mall Road, Suite 5 325 Columbia Turnpike Toronto Suite 450 Burlington, MA 01803 Suite 203 6740 Campobello Road Irvine, CA 92614 (781) 229-2150 Florham Park, NJ 07932 Mississauga, Ontario L5N 2L8 (949) 553-8500 (973) 514-2100 (905) 826-1363 Fairlane Plaza North 179 East Tasman Drive Suite 311 21 Old Main Street Ottawa San Jose, CA 95134 290 Town Center Drive Suite 206 320 March Road, Suite 602 (408) 433-1990 Dearborn, MI 48126 Fishkill, NY 12524 Kanata, Ontario K2K 2E3 (313) 271-4410 (845) 897-3000 (613) 591-1990 500 Park Boulevard Suite 415 5511 Capital Center Dr. Two Lincoln Centre, Suite 1446 Calgary Itasca, IL 60143 Suite 204 5420 LBJ Freeway 10655 Southport Road SW, Suite 460 (630) 773-4864 Raleigh, NC 27606 Dallas, TX 75240 Calgary, Alberta T2W 4Y1 (919) 233-0800 (972) 991-4510 (403) 278-1881

© 2002 Hitachi Semiconductor (America) Inc. 702/5000/JPGraphics/PF/KIB Printed on Recycled Paper Printed in U.S.A. Order Number: 101-1832A