Professional Documents
Culture Documents
480,000,000*. Thats how many microcontrollers NEC Electronics shipped in 2003. If you need an MCU, doesnt it make sense to buy from the supplier of choice for so many?
Welcome to the first issue of the NEC Electronics Microcontroller Newsletter. Its filled with news about microcontrollers, development tools, and other info of interest to designers and decision-makers.
IN THIS ISSUE
MCU SOLUTIONS
1 1 2
MCU SOLUTIONS
4 4
EEMBC Benchmarking
CO N T E S T
5 7 7
TECH TIP
Watch your speed! Dont fall into the trap of comparing microcontroller performance only by crystal frequency. An interesting architectural feature of NEC Electronics 8-bit micros is that they run directly off the crystal oscillator circuitry, without a divide-by-two flip-flop. As a bonus, the same fast clock drives the peripherals. Of course, both the CPU core and the peripherals have individual selectable prescalers for power-saving clock slow-down modes. You can easily meet your RF and EMI emission specifications when your crystal speed is ideally matched to your performance. Dave Braverman
1
*Dataquest, June 2004
Self-programming flash memory The 78K0S/Kx1+ series microcontrollers support 1 to 8 KB of high-density, single-voltage, self-programming flash memory based on SST SuperFlash technology. The self-programming capability enables both in-circuit programming during production and remote programming in the field, providing a new level of flexibility for software and product changes. In addition, the flash memory can be used as nonvolatile data memory, eliminating the need for EEPROM and thereby reducing the number of overall system components. Akikazu Yada
of controlling a 3-phase motor, a 6-phase PWM with an 8-bit dead-time unit, an 8-channel 10-bit A/D converter, and two A/D trigger-compare registers. A 16-bit up/down encoder timer can be interfaced to an optical encoder mounted on the motor shaft for accurate speed and position sensing. In addition, the PD78F0714 provides a 2-channel real-time port, a 3-wire CSI port, and a UART. Safety features are critical for motor control applications. Consequently, the PD78F0714 provides an emergency shutdown pin for the inverter timer outputs to protect the motor and inverter, a power-on clear (POC) circuit, and a low-voltage indicator (LVI) for controlled shutdown and recovery in the event of power failure. High-speed 32-bit controllers for vector control Advanced motor control techniques such as vector control significantly increase motor efficiency, resulting in longer life, lower power dissipation, and lower system cost. However, vector control requires a powerful microcontroller that can handle computationally intensive algorithms, as well as provide closed-loop control and precise pulse-width modulation. The V850E/IA3 and V850E/IA4 microcontrollers have been specifically designed to deliver the performance, DSP capabilities and peripherals required for vector control, while still meeting the price demanded by todays competitive market.These devices are based on a five-stage pipeline V850E1 core that offers 82 MIPS performance at 64 MHz, a singlecycle 16 x 16/32 x 32-bit hardware multiplier, and a 2-cycle multiply-accumulate function. Both devices are available in mask ROM and self-programming flash versions, each with four-point ROM correction. A four-channel 8- or 16-bit DMAC guarantees fast data transfer and simplifies board design. The V850E/IA3 device supports a full suite of dedicated motor control peripherals, including a 16-bit inverter timer with six PWM outputs, an 8-bit dead-time generation timer, two high-speed 12 x 10-bit A/D converters with a 2 microsecond (s) conversion speed, and a delta-sigma A/D converter. An on-chip op-amp input with adjustable gain and over-voltage comparator has been added to reduce system costs. Communication peripherals include two CSI
MCU SOLUTIONS
microcontroller
ports and two UARTs. The V840E/IA4 microcontroller, which is designed to control two independent motors, has two sets of inverter timers and motor control peripherals and more A/D channels in a larger package with more I/Os. 32 MHz performance for a variety of applications Of course, not all motor control applications require 64 MHz performance. For scalar control of BLDC, PM synchronous, and AC induction motors, NEC Electronics has introduced the V850ES/IK1 microcontroller, a lower-cost cousin to the V850E/IA3. At 32 MHz, the V850ES/IK1 still delivers significant performance and also includes the same DSP features as the V850E/IA3 in a lower-pin-count package. Three versions of the device are available: the PD70F3329 with 128 KB of self-programming flash memory and 6 KB RAM, the PD703327 with 64 KB mask ROM and 4 KB RAM, and the PD703329 with 128 KB of mask ROM and 6 KB RAM. Like the V850E/IA3 and V850E/IA4 microcontrollers, these devices offer a complete set of dedicated peripherals for 3-phase inverter control and multiple 16-bit timers. Development support Several of NEC Electronics inverter controllers come with an on-chip debugging (OCD) function for in-circuit debugging via a serial connection. These devices are supported by two low-cost OCD tools: the Minicube for 8-bit devices and the N-wire PCMCIA card for 32-bit devices. In addition, NEC Electronics offers IECUBE, a full-function in-circuit emulator supporting 64 MHz operation. Many of NEC
Electronics development tools are equipped with a function to prevent the circuit burnout inherent in the debugging of motor and inverter systems. As a further aid to developers, NEC Electronics offers reference designs and demonstration systems for BLDC, permanent magnet AC, and induction motor control using scalar and vector techniques in both sensored and sensorless modes. John Pocs ASSP Motor Control Peripherals
Three-Phase Inverter Control Timers 6-phase PWM output with dead-time unit 8-, 10-, and 16-bit resolution Symmetric and asymmetric triangular waves Interrupt culling rates from 1/1 to 1/16 Forcible stop function for PWM outputs Carrier and duty buffer registers with synchronized, anytime, or batch rewrite Real-time output function A/D Converters Both SAR and delta-sigma types Synchronized conversion start with inverter timer Software and hardware conversion start Eight conversion result registers Op-amp input with adjustable gain and over-voltage comparator PWM Up to four additional 12- to 16-bit PWM outputs Main pulse and additional pulse configuration Active level of PWM output pulse selectable Up/Down Encoder Two-phase encoder with 8- to 16-bit up/down counter Four operating modes Safety Features Analog comparator for over-current detection Six-phase PWM output switched to high-impedance mode by comparator or external pin Power-on clear, low-voltage indicator, ring oscillator, clock monitor, and watchdog timer
A SIGN YOURE USING THE BEST MICROCONTROLLER FOR YOUR LCD-BASED DESIGN.
Microcontrollers with LCD drivers. See your options at www.necelam.com/lcdmcu
D ES I G N TO O LS
Applilet is a free program that automatically generates device drivers for NEC Electronics K1 family of 8- and 32bit microcontrollers. The program displays the peripherals supported by each microcontroller. All you have to do is select the peripherals you want to configure, answer the questions in the dialog box, and click the Generate Source Code button. Tailor-made peripheral driver source code is generated instantly in Assembly or C language. Applilets device drivers include initialization code for each peripheral and interrupt service routines, as well as functional blocks such as the SendData() and ReceiveData() functions commonly used in serial communication applications. All function modules are available to the user and can be viewed before generating the actual source code. An important feature of Applilet is its ability to warn users when there is a conflict during the configuration of a peripheral, thereby providing a level of error checking before the code is even generated. To download your free copy of Applilet, go to the NEC Electronics development tool web site at www.necelam.com/microcontrollers/devtools. Nelson Quintana
microcontroller
eCOMMERCE
Terminal emulation software In addition to the source-level debugger, the M-Station system includes a terminal emulation software package (MSTTERM) similar in functionality to the well-known HyperTerminal tool included with Microsoft Windows operating systems. MSTTERM takes advantage of the M-Stations USB 2.0 interface to allow users to test applications that involve serial communication between a host computer and a microcontrollers UART peripheral.
Free development software To get your application up and running, M-Station comes with a C compiler, assembler, and linker. As a further aid to developers, NEC Electronics offers a number of free software packages: Applilet device driver generator and an evaluation version of NEC Electronics system simulator can be downloaded from the NEC Electronics America development tools web site at www.necelam.com/microcontrollers/devtools. Nelson Quintana
When you absolutely must have itand quickly our eCommerce site has a variety of development tools and packaged flash devices available for on-line ordering. Within 48 hours, the item will be shipped for overnight a.m. delivery. This site isnt intended to replace the traditional purchase order method or supplant distribution; rather its designed to provide a few of the most popular tools for fast delivery. Go to necelam.com/esales or click the online order center link on the NEC Electronics America home page.
M-station Features Source-level debugger with real-time execution and breakpoint setting Built-in flash programmer Motherboard/micro-board configuration for low-cost evaluation of multiple devices Terminal emulation software C compiler, assembler, and linker Motherboard USB 2.0 interface/connection to host computer EEPROM, RS-232 driver, potentiometer, user LEDs, LCDs, and switches Support for optional CAN or LIN transceivers and external SRAM Prototyping area for expansion of application circuitry Battery operation for portability during demonstrations Micro-board On-board flash MCU with crystals for clock and subclock Reset switch and terminals for monitoring power consumption 0.1-inch center headers for easy access to all microcontroller pins
I N D U S T R Y S TA N D A R D S
CO N T E S T
To date, NEC Electronics has benchmarked six microcontrollers. The 32-bit V850E-50 microcontroller was benchmarked twice to compare the effect of settings that minimize code size and settings that maximize speed. Similarly, the V850ES/ SA2-20 microcontroller was benchmarked twice to compare the effect of the Green Hills and NEC Electronics compilers. In addition, NEC Electronics has benchmarked a variety of 64-bit MIPS RISC microprocessors. Scores for all devices are posted at www.necelam.com or www.eembc.org. Look for the certified benchmarks of more NEC Electronics microcontrollers soon. David Lamar
microcontroller
S A L E S CO N TA C T S
Distribution power
Thanks to our key partners, NEC Electronics microcontrollers are never far away. For a complete listing of our representatives and distributors, visit www.necelam.com/sales.
NEC Electronics America 2880 Scott Boulevard Santa Clara, CA 95050-2554, USA T: +1-408-588-6000 or 1-800-366-9782 F: +1-408-588-6130 www.necelam.com
NEC Electronics Corporation 1753 Shimonumabe, Nakahara-ku, Kawasaki, Kanagawa 211-8666 Japan T: +004-435-5111 www.necel.com
NEC Electronics (Europe) GmbH Oberrather Str:4 40472 Dsseldorf, Germany T: +49-0-211 65 03 01 F: +49-0-211 65 03 327 www.ee.nec.de
2004 NEC Electronics America, Inc. The information in this document is current as of November 2004. The information is subject to change without notice. For actual design-in, refer to the latest publications of NEC Electronics data sheets or data books, etc., for the most up-to-date specifications of NEC Electronics products. Not all products and/or types are available in every country. Please check with an NEC sales representative for availability and additional information. No part of this document may be copied or reproduced in any form or by any means without prior written consent of NEC Electronics. NEC Electronics assumes no responsibility for any errors that may appear in this document. NEC Electronics does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of NEC Electronics products listed in this document or any other liability arising from the use of such NEC Electronics products. No license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC Electronics or others. Descriptions of circuits, software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples. The incorporation of these circuits, software and information in the design of customer's equipment shall be done under the full responsibility of customer. NEC Electronics no responsibility for any losses incurred by customers or third parties arising from the use of these circuits, software and information. While NEC Electronics endeavors to enhance the quality, reliability and safety of NEC Electronics products, customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. To minimize risks of damage to property or injury (including death) to persons arising from defects in NEC Electronics products, customers must incorporate sufficient safety measures in their design, such as redundancy, fire-containment and anti-failure features. NEC Electronics products are classified into the following three quality grades: "Standard", "Special" and "Specific". The "Specific" quality grade applies only to NEC Electronics products developed based on a customer-designated "quality assurance program" for a specific application. The recommended applications of NEC Electronics product depend on its quality grade, as indicated below. Customers must check the quality grade of each NEC Electronics product before using it in a particular application. "Standard": Computers, office equipment, communications equipment, test and measurement equipment, audio and visual equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots. "Special": Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically designed for life support). "Specific": Aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems and medical equipment for life support, etc. The quality grade of NEC Electronics products is "Standard" unless otherwise expressly specified in NEC Electronics data sheets or data books, etc. If customers wish to use NEC Electronics products in applications not intended by NEC Electronics, they must contact an NEC Electronics sales representative in advance to determine NEC Electronics' willingness to support a given application. NOTES: (1) "NEC Electronics" as used in this statement means NEC Electronics Corporation and also includes its majority-owned subsidiaries. (2) "NEC Electronics products" means any product developed or manufactured by or for NEC Electronics (as defined above). All trademarks in this document are the property of NEC Electronics Corporation, except as noted otherwise.
microcontroller
If you know your way around a microcontroller, we have news for you.
. Motor control solutions . Free software for instant device driver code . Ultra-low-cost debugger and flash programmer . Design contest for slightly bent creative geniuses . Low-pin-count microcontrollers with self-programming flash
ISSUE 1 | WINTER 2004
NEC Electronics America, Inc. 2880 Scott Boulevard Santa Clara, CA 95050-2554