Sunteți pe pagina 1din 10

MICROCONTROLLERS

Data Sheets Application Notes

MIXED-SIGNAL

DESIGN GUIDE
Free Samples
N ITIO D E 2nd

Lowest Cost, Serial-to-Ethernet Microcontroller


High-Speed 8051 C Has Ethernet Media-Access Controller
COMMUNICATE WITH NEW AND LEGACY EQUIPMENT x3 SERIAL UARTs

NETWORKED MICROCONTROLLER
8051 C WITH TCP/IPv4/6 NETWORK STACK IN ROM 10/100 ETHERNET MAC

REMOTE MONITORING AND CONTROL THROUGH THE NETWORK

DS80C400

Three Full-Duplex Hardware Serial UARTs Support Standard Asynchronous Baud Rates Up to 2.3Mbps and Synchronous Baud Rates Up to 18.75Mbps Ethernet MAC Connects to Your Choice of 10/100 Base-T, Optical, or HomePNA PHY Monitor and Control Equipment Remotely from a Standard HTTP Web Browser IP Address Can Be Configured Dynamically Using DHCP
Part DS80C400 Package 100-LQFP

MAC Address Can Be Obtained from a Companion IEEE 1-Wire MAC Address Chip Free Download of the TINI (Tiny InterNet Interfaces) Runtime Environment for Rapid Code Development and Customization APIs Include Asynchronous Serial, SPI, CAN, 1-Wire, Parallel, PPP Dial-Up Networking, and More Java VM Enables Use of Widely Available Development Tools

Supply Voltage 3.3V supply, 64 I/O port pins are 5V tolerant

Temp Range (C) -40 to +85

Price ($) 8.89

Frequently Asked Questions about Networked Microcontrollers


An application note answers Frequently Asked Questions (FAQs), focusing on both hardware and software used to create a network-enabled device. The content is specific to the DS80C400, DS80C410, or DS80C411 microcontrollers. View the note at: w w w.maxim-ic.com/AN3804
SPI is a trademark of Motorola, Inc. Java is a trademark of Sun Microsystems. 1-Wire and TINI are registered trademarks of Dallas Semiconductor Corp. 1000-up recommended resale, FOB USA. Price provided is for design guidance and is FOB USA. International prices will differ due to local duties, taxes, and exchange rates. Not all packages are offered in 1k increments, and some may require minimum order quantities. The Maxim logo is a registered trademark of Maxim Integrated Products, Inc. The Dallas Semiconductor logo is a registered trademark of Dallas Semiconductor Corp. 2006 Maxim Integrated Products, Inc. All rights reserved.

Industrys Highest MIPS/mA, 16-Bit Flash C Cuts Power by 50%


The MAXQ2000 microcontroller is designed around an innovative, one-clock-per-instruction, 16-bit RISC architecture. MAXQ technology combines high performance and low power with a variety of complex peripheral functions.

17 x 8 DISPLAY RAM 32k x 16 FLASH ROM (64kB) 132-SEGMENT LCD CONTROLLER/ DRIVER 16-BIT MAXQ RISC CPU 1k x 16 DATA SRAM (2kB) 16 x 16 HARDWARE MULTIPLIER BUS

INDUSTRY'S HIGHEST MIPS/mA*


4

SAVES POWER

1-Wire MASTER

MIPS/mA*

TIMER/PWM

SERIAL UART 1

SPI INTERFACE JTAG DEBUG

MAXQ2000

MAXQ2000

COMPETITOR 1 COMPETITOR 2 COMPETITOR 3

*(Machine cycles/CLK) (average instruction/machine cycle) (MHz/mA)

Microcontroller Features 20MHz (max) Operating Frequency Performance Approaches 1MIPS/MHz 64kB Flash, 2kB SRAM 16-Bit Instruction, ALU, and Data Path 33 Total Instructions Simplify Programming Low-Power Features < 1A (typ) Stop-Mode Current 5.1mA Flash Operating Current at 20MIPS
Temperature Range (C) -40 to +85 Program Memory (kB Flash) 64

Peripherals 2 UARTs, SPI Master/Slave Interface Up to 132-Segment LCD Controller 16 x 16 Hardware Multiplier with 48-Bit Accumulator Tools Complete Range of Development Tools Includes C Compiler, ICE, and IDE

Part MAXQ2000-RAX MAXQ2000-RBX

Data Memory (kB SRAM) 2

LCD Segments 132 100

Ext INTs 16 14

Package 68-QFN 56-TQFN

For a Detailed Comparison of Normalized MIPS/mA, Visit: www.maxim-ic.com/MAXQ


MAXQ is a registered trademark of Maxim Integrated Products, Inc.

Industrys Lowest mA/MIPS, 16-Bit RISC Microcontroller


The MAXQ3100 is the newest and the most feature-rich version of the 16-bit RISC MAXQ microcontroller family. Its on-chip functions include a frequency-locked loop (FLL), digital temperature sensor, real-time clock (RTC), 160-segment LCD controller, dual USARTs, and two analog comparators. Integrating these features with our oneclock-per-instruction MAXQ RISC architecture results in a high-performance, mixed-signal microcontroller that is ideal for utility meters, automated meter readers, weight scales, thermostats, multimeters, and many other applications.
ON-CHIP FUNCTIONS INCLUDE FLL, RTC, LCD, AND DUAL USARTs

FLL

TEMP USART 1 USART 2 RTC

VOLT METER
COMP 1 COMP 2 16-BIT MAXQ RISC 16kB EEPROM 1024B SRAM LCD INTERFACE4 x 40

THERMOSTAT

MAXQ3100

ELECTRICITY METER

SCALE
1.9
2.0

C Features 1.9mA at 4MIPS 16kB EEPROM, 1024 Bytes SRAM 16-Level Hardware Stack Low-Power Modes Comprehensive Development Tools Includes MAXQ Assembler and MAXQ Integrated Development Environment (MAX-IDE) Third-Party Tools from Rowley Associates and IAR SystemsTM

NORMALIZED mA/MIPS*

1.5

LOWEST POWER CONSUMPTION PER MIPS


1.0 0.9

1.0

0.5
0.5

COMPETITOR A

COMPETITOR B

COMPETITOR C

MAXQ3100
*mA/[(instructions/machine cycle)(machine cycles/clock)]

Mixed-Signal CIdeal for a Wide Range of Applications


The MAXQ3100 is uniquely suited for single-phase electricity metering applications that require an external analog front-end, but it can be used in any application that requires high-performance operation. For more information on the MAXQ3100 and to order samples, go to: w w w.maxim-ic.com/MAXQ3100

IAR Systems is a trademark of IAR Systems AB.

16-Bit RISC Microcontrollers Deli


MAXQ Technology Obsoletes Traditional Microcontrollers
MAXQ microcontrollers are optimized to be natural companions to analog circuits. Designed for reduced noise operation, the MAXQ integrates high-precision analog functions alongside digital components, resulting in reduced chipcount solutions. The 1-cycle MAXQ RISC architecture achieves unmatched performance-to-power characteristics among 16-bit microcontrollers by combining superior clock utilization with intelligent clock distribution. This powerful combination makes products easier to design and build, shortens time-to-market, and delivers outstanding performance.

MAXQ BASIC OPERATION


PROGRAM MEMORY
IR

DATA MEMORY
INSTRUCTION DECODER

DESTINATION
IP DP SP
1:16

SOURCE

ALU I/O I/O

16:1

I/O

Low-Power Operation Intelligent Clock Level Distribution Higher MIPS/MHz Operation Reduces Application Clock Frequency

High Performance One-Clock-per-Machine-Cycle Operation No Instruction Pipeline Harvard Memory Architecture Hardware Autoincrement/Autodecrement Data Pointers

Continued on next page

ver Industry-Leading Performance


Unique MAXQ Architecture Remains Quiet for Complex Analog Operations
With MAXQ technology, instructions are basically moves, with source and destination encoded in each instruction word. Instruction fetch, source-destination transfer, and ALU-operations are all performed within the same cycle. No pipeline is required for this true single-cycle architecture. Since the source and destination encodings identify which modules are involved in a given transfer, a highly targeted, per-instruction clock-distribution scheme can be employed. This intelligent clock-distribution scheme reduces power consumption and clock noise, yielding a quiet integration environment for analog circuitry. Every MAXQ instruction word is 16 bits in length, and is a MOVE operation from source to destination. The f format bit, the most significant bit of the instruction, designates the format of the source operand for the MOVE operation. When the format bit is configured to 0, the eight source encoding bits are taken literally, thus allowing any immediate source data byte to be specified within a single instruction. When the format bit is configured to 1, the eight source encoding bits are broken down into module and index subfields used to specify a source or destination.

MAXQ 16-BIT INSTRUCTION WORD


FORMAT f DESTINATION ddd dddd 1 0 SOURCE ssss ssss

INDEX MODULE INDEX MODULE

INDEX MODULE IMMEDIATE BYTE DATA (e.g., 00h-FFh)

MAXQ Competitive Analysis Study


The MAXQ Cs 16-bit, single-cycle core makes it a better performer than competitive Cs. To demonstrate the abilities of the MAXQ, we took benchmark code written for a competitor's C and ran it on the MAXQ2000. We compared the MAXQ's performance against several competitors and even the 32-bit ARM7. The results show that the MAXQ is the best performer among the 8-/16-bit devices, and that it is competitive with the 32-bit ARM7. For more information, go to: w w w.maxim-ic.com/MAXQbenchmarks

Low-Pin-Count, 16-Bit RISC C Has Linear Regulator, Horn/Alarm Driver, and Comparator
The MAXQ3212/MAXQ3210 are high-performance, low-cost Cs that integrate program and data EEPROM, a 3.6MIPS C core, and an analog comparator. The MAXQ3210 adds an integrated linear regulator and piezoelectric horn driver for even more design flexibility.

6V TO 9.5V SUPPLY VOLTAGE 5V AT 50mA REGULATED OUTPUT VREF

EVALUATION KIT AVAILABLE


VOLTAGE REGULATOR

MAXQ3210
RISC C
1kWORD EEPROM 128B EEPROM (DATA) 64B SRAM (DATA) GPIO 16-BIT TIMER/COUNTER WITH PRESCALER

+2.5V, 2.5% REFERENCE PIEZOELECTRIC HORN/ALARM DRIVER

2kWORD UTILITY ROM MAXQ10 RISC CORE

CMP INPUT CMP OUTPUT

COMPARATOR

BROWN-OUT AND POR

JTAG

HIGH-CURRENT LED DRIVER

C Features DC to 3.58MHz Clock Input MAXQ10 Core with 16-Bit Instruction and 8-Bit Data Bus 33 Total Instructions Simplify Programming 2kB Program EEPROM 128B Data EEPROM/64B SRAM Sixteen 8-Bit Accumulator Registers Sixteen 16-Bit Working Registers Development Tools C Compiler, ICE, and IDE

Peripherals Linear Regulator (MAXQ3210) with 5V Regulated Output, 50mA Piezoelectric Horn/Alarm Driver (MAXQ3210) Analog Comparator Selectable Internal or External Voltage Reference High-Current I/O Pin Suitable for LED Drive Up to 15 General-Purpose I/O Pins One 16-Bit Timer/Counter with Prescaler Brown-Out Voltage Detection with Power-On Reset
Operating Voltage (V) 6 to 9 Peripherals 5V regulator, horn/alarm driver, comparator, LED driver Comparator, LED driver Package

Part MAXQ3210

Temperature Range (C)

Program Memory

-40 to +85 MAXQ3212

2kB EEPROM 4.5 to 5.5

24-TSSOP, PDIP

Fastest Drop-In 8051 Microcontroller with In-Application Programmable (IAP) Flash


Programming Allows Field Updates of User Code
UP TO 64kB FLASH MEMORY 1kB SRAM

OVER 30x FASTER*

33

DUAL DATA POINTERS WITH AUTOINCREMENT/ AUTODECREMENT

DS89C450
HIGH-SPEED ONE-CLOCK-CYCLE 8051 MICROPROCESSOR

32 GENERALPURPOSE I/O PINS

25 MIPS 5 1 0

DUAL SERIAL PORTS

THREE 16-BIT TIMER/COUNTERS

ORIGINAL 8051

DS89C450

16/32/64kB Flash Memory for Application Code 1 Clock-per-Machine Cycle Operation vs. 12 Clocks on Original 8051 256-Byte Scratchpad and 1kB Ultra-Fast MOVX SRAM Dual Data Pointers with Autoincrement/Autodecrement

8051 Pin/Code Compatible 2x/4x Clock Multiplier Allows Simple Crystal Selection Paged/Nonpaged Memory Access with Stretch Enables Communication with Slower Legacy Peripherals Watchdog Timer Provides Errant-Code Recovery

EVALUATION KIT AVAILABLE

Part DS89C420 DS89C430 DS89C440 DS89C450

Flash Memory (kB) 16 16 32 64

Operating Frequency (MHz)

In-Application Programmable

Temperature Range (C)

Voltage (V)

Price ($) 7.00, 8.33 7.15, 8.48 7.33, 8.89 7.78, 9.45

25, 33

-40 to +85

*The DS89C450, operating at 33MHz, achieves up to 33x better performance than the original 12-clock-per-machine-cycle 8051 operating at 12MHz. 1000-up recommended resale. Prices provided are for design guidance and are FOB USA. International prices will differ due to local duties, taxes, and exchange rates. Not all packages are offered in 1k increments, and some may require minimum order quantities.

RE FUTU CT U PROD

Industrys First SOC Sensor Conditioner with CAN 2.0B/LIN Interfaces


2N3904 TEMPERATURE SENSOR

16-BIT RISC C
r R+ d

AIN0 AIN2 AIN4 AIN6 AIN8 AIN10 AIN12 AIN14

MUX

DUAL-BRIDGE SENSOR VBRIDGEA OUTA+


d Rr

PGA AIN1 AIN3 AIN5 AIN7 AIN9 AIN11 AIN13 AIN15

12-BIT ADC

~2nF ~2nF

MUX

OUTAR+ d r

P0.7_T1 P0.6_T0 P0.5_DACLOAD P0.4_ADCCTL

DIGITAL I/O

GNDA VBRIDGEB OUTB+


r d RR+ d r

dr

R+

GNDB

VBRIDGEA OUTA+
dr RR+ dr

d Rr Rdr

~2nF 12-BIT DAC OUTB~2nF VDAC VDD ANALOG OUTPUT OR +12V

DUAL-BRIDGE SENSOR TXD TXD

~2nF RXD ~2nF

MAX13020 LIN TRANSCEIVER

LIN RXD

LIN BUS

512kB DATA FLASH

OUTAdr R+

MAXQ7665*

GNDA VBRIDGEB OUTB+


dr RR+ dr

R+

dr

GNDB REFADC 100nF REFDAC

Rdr Rdr

P0.3_TCK P0.2_TDI P0.1_TMS P0.0_TD0

JTAG

OR

~2nF ~2nF

SHDN CANTXD CANRXD TXD RXD RS

VDD

VDD

OUTB-

UART (LIN 2.0) CAN 2.0B

MAX3050ASA CANH CAN CANL TRANSCEIVER GND

CAN BUS

12V
10F

IN

OUT

5V VDD
100nF 100nF 100nF

AVDD VDDIO1 VDDIO0 EXTERNAL RESET IS OPTIONAL

EN HOLD GND

MAX5024 LDO

SET

MAXQ20 16-BIT RISC MICRO 16kB/32kB PROGRAM FLASH 512B/1kB DATA FLASH

DVDD

3.3V
15F 100nF

RESET

RESETN XIN 8MHz XOUT

LRPENB GNDIO SOGND AGND AGNDS DGND0 DGND1

Features Programmable-Gain Amplifier 12-Bit, 142ksps to 500ksps SAR ADC (G = 1, 2, 4, 8, 16, 32) Built-In 3V and 5V Voltage Monitors 12-Bit DAC with Buffered, Analog Local Die and Remote Temperature Voltage Output Sensing Internal, 3.3V- or 5V-Output Linear Hardware Multiply and Accumulate Regulator for Digital Core CAN 2.0B and UART/LIN Interfaces Applications Noncontacting Linear, Rotary, and CAN or LIN-Based Automotive Sensors Angular Position Sensing High-Precision, Integrated Digital Compass
*Future productcontact factory for availability.

Development Tools Simplify Design-In


A complete set of development tools for the MAXQ and 8051 Cs is available from Dallas Semiconductor and third-party vendors. Development tools include assemblers, compilers, integrated development environments, evaluation kits, reference designs, and programmers.

MAXQ Software Tools


MAX-IDE is a Dallas Semiconductor assembler-based IDE available as a free download at www.maxim-ic.com/MAXQtools. The MAX-IDE supports all MAXQ products.

Project-Based Development Debug Software In-System or with the Integrated Simulator Macro Assembler Integrated FLASH/RAM Programmer IARs Embedded Workbench for MAXQ A Tool Suite for Building and Debugging Complete Embedded Applications IDE with Project Management Tools and Editor Optimizing Compiler Supporting ANSI C, Relocating Assembler, a Linker, and Librarian In-Circuit Emulator (ICE) Debugger Support Flash Loader Run-Time Libraries RTOS-Aware www.iar.com Debugging on Hardware CMX Systems CMX-RTXA Real-Time Operating System (RTOS) for the MAXQ
CMX-RTX is a fullfeatured, preemptive RTOS featuring small code footprint, fast context switching, and low interrupt latency.

Rowley AssociatesCrossWorks for MAXQA Full-Featured Toolset ANSI C Compiler, Macro Assembler and a Linker/Locator Software Libraries MAXQ20 Core Simulator Flash Loader JTAG Debugger CrossStudio IDE
www.rowley.co.uk

www.cmx.com

Phytons Phyton-MQA Complete Development Toolset IDE with Debug Support and Simulator Macro Assembler, ANSI C Compiler Supports MAXQ10and MAXQ20www.phyton.com Based Cs

MAXQ Hardware Tools


Hardware development tools for MAXQ and 8051 products range from adapter sockets and evaluation (EV kit) boards to full-function ICE. EV kit board schematics are a convenient reference design.

A Complete List of Manufacturers and Tools Is Available at: www.maxim-ic.com/MAXQtools


9

New Titles Added to Library of C Application Notes


Protected EEPROM Operations in MAXQ Environments
Nonvolatile memory is essential for embedded microcontroller applications. This application note explains how to use a transaction-based commit-rollback mechanism to protect the contents of an external EEPROM memory device. While targeted for an external memory device, the principles presented in this article are equally applicable to the internal EEPROM in many MAXQ microcontrollers. (www.maxim-ic.com/AN3771)

The MAXQ Microcontroller in Action: Designing a Bicycle Computer with the MAXQ2000
Built for an avid cyclist who dreams of winning the Tour de France, the compact bicycle computer can help a rider through workouts. The bicycle computer is based on a MAXQ2000 microcontroller, and includes a speedometer, clock, thermometer, humidity sensor, heart-rate monitor, and stopwatch. (www.maxim-ic.com/AN3845)

Getting Started with Rowley CrossWorks and the MAXQ2000 Evaluation Kit
The MAXQ2000 is a powerful, low-cost, low-power microcontroller with considerable peripheral support for many applications. With the support of Rowley Associates' powerful CrossWorks tools for the MAXQ development environment, complex applications can be written in C and debugged. As an application, a simple running counter on an LCD illustrates the functions of both the MAXQ2000 Evaluation Kit and CrossWorks. (www.maxim-ic.com/AN3698)

Developing FFT Applications with Low-Power Microcontrollers


As low-power microcontrollers (Cs) begin including peripherals that were formerly reserved for larger microprocessors, ASICs, and DSPs, new opportunities for computing complex algorithms at low power levels are becoming possible. This article describes a Fast Fourier Transform (FFT) application (developed using a low-power C) that includes a single-cycle hardware multiplier. (www.maxim-ic.com/AN3722)

Remote Keyless Entry with the MAXQ3212


The MAXQ family of microcontrollers is designed to be electrically quiet for the best integration with analog circuitry, including RF receivers. This article discusses the components needed to make a remote keyless entry (RKE) receiver using the MAXQ3212 microcontroller and the MAX1473 receiver. (www.maxim-ic.com/AN3765)

MAXQ Microcontroller Drives a Smart and Intelligent 4-20mA Transmitter


The 4-20mA current loop is a common technique for transmitting sensor information in industrial processmonitoring applications. (Sensors measure physical parameters such as temperature, pressure, speed, and liquid flowrates.) Current-loop signals are relatively insensitive to noise, and their power can be derived from a remotely supplied voltage. This makes current loops particularly useful when the information must travel a long distance to a remote location. (www.maxim-ic.com/AN3653)

Visit the C Library


Our library of C application notes is growing constantly. We showed you just a few of the more recent titles here. For a catalog of titles and fast access to article abstracts, go to the library. Visit www.maxim-ic.com/appnotes, and click on Microcontrollers.

10

S-ar putea să vă placă și