MICROCONTROLLER SOLUTIONS FOR CAN NETWORKING FOR C O S T- E F F E C T I V E & HIGH-END INDUSTRIAL AND AUTOMOTIVE A P P L I C AT I O N S CAN N E T W O R K I N G Several times a day, most of us use embedded This wide-spread success is mainly due CAN applications without knowing it. The most to the high reliability offered by the CAN popular applications are in: protocol. Automotive and To satisfy the growing demand for embedTransportation Systems ded networks, the Atmel CAN family has Medical and Agricultural been specially designed for all applications Equipment needing easy and frequent code updates. Building Automation The CAN family extends its 8051 offering Household and Food with a 16 MIPS AVR® RISC microcontroller Appliances with up to 128 Kbytes of Flash program Robotic and Factory memory, providing customers with a large Automation choice for their CAN systems. Performance range Based on either 8051 or AVR core, the CAN 8-bit Flash microcontrollers achieve 5 MIPS or 16 MIPS processing speed respectively. Powerful On-chip CAN Controller V2.0A/V2.0B compliant – Handles independent message objects programmable on-the-fly. Easy Remote Programming and Field Upgrade Highly flexible self-programming via CAN, UART, SPI, JTAG Support Higher Layer Protocol Stacks CANopen, DeviceNet™, J939 and OSEK™ Popular 8051 Architecture C51 for Cost-effective Applications 5 MIPS at 30 MHz Up to 64 KB Flash Program Memory Flexible Self Programming at 3V and 5V Powerful AVR Architecture to Tackle the Most Demanding High-end Applications 16 MIPS at 16 MHz Self Programming via UART or CAN Hardware Multiplier 6-clocks per cycle provides 1 Mbit/sec., Optimized for High-level C Language using only 8 MHz crystal, thus reducing On-chip Debug Through JTAG Interface EMI Up to 256 KB Addressing Capability F F I C I E N T & F L E X I B L E CAN C O N T R O L L E R Also supported: Independent message objects can be dedicated dynamically, either in 2.0.A or in 2.0B mode, to Autobaud and Listening Modes one of the following: Readable Error Counter Reception Channel Error Capture with Interrupt Transmission Channel Time Triggered Communication & Time Stamp Receiver Receiver Buffer (multiple CAN frames buffer) Example of Each message object has its own masking and T89C51CC01, filtering registers, which significantly reduces the AT89C51CC03 Message object 9 AT90CAN128 Message object 8 Configuration On the AT90CAN128/64/32, an interrupt Receiver buffer AT90CAN64, CAN Buffer Data & Control bytes of the CAN controller. Message object 12 Message object 10 AT90CAN32, Indirect addressing allows easy access to all the Message object 13 Message object 11 or host processor load. Message object 14 Message object 7 Message object 6 Transmitter E Message object 5 Message object 4 accelerator engine informs the CPU of critical Message object 3 messages without running a software scan Message object 2 routine, minimizing the repercussions on real Message object 1 time event applications. TYPICAL CAN A P P L I C AT I O N Message object 0 : A C O M P L E T E S O L U T I O N CAN Transmission Atmel CAN Controller Atmel ATA6660 T89C51CC01/02 AT89C51CC03 or AT90CAN32/64/128 CAN Bus H I G H L E V E L P R O T O C O L PA R T N E R S CAN & CANopen CANopen & DeviceNet™ CANopen CANopen, DeviceNet & OSEK™ www.esacademy.com www.ixxat.de www.port.de www.vector-informatik.de T O O L S F O R 8051 M I C R O C O N T R O L L E R S Development Tools & Support Starter Kits Atmel Reference Design ESAcademy® (CANopen) Compilers Crossware®, Hi-Tech, IAR™, Keil™, Raisonance, SDCC, Tasking® Emulators Ceibo, Hitex, Metalink®, Nohau, Signum Phyton™ In-system Atmel: PC-based Pilot FLIP, Programming ESAcademy CANopen compliant Flash device programmers Advantech®, BP Microsystems, Data I/O® Dataman, Hi-Lo Systems® ICE Technology™, Elnec®, etc. Atmel Starter Kit ESAcademy CANopen Reference Design T O O L S F O R AVR M I C R O C O N T R O L L E R S Integrated Development Environment for AVR (Includes Atmel Macro Assembler) J Front End for Atmel Starter Kits, Programmers, and Emulators J C and Assembly Source Level Debugging J Supports Third Party Compilers J Maintains Project Information J Freely Available from http://www.atmel.com Development Tools & Support Development Kit Atmel ATDVK90CAN1 Starter Kits Atmel STK500 + STK501 + CAN transceiver with ATADAPCAN01 Compilers CodeVision, GCC-AVR, IAR™, ImageCraft Emulators Platforms Atmel ICE 50, JTAGICE JTAGICE mkII In-system Programming Atmel AVRISP, JTAGICE JTAGICE mkII STK500 + STK501 CAN O F F E R I N G C51 Architecture Architecture T89C51CC02 T89C51CC01 AT89C51CC03 Processing Speed Memory MIPS Flash Program/Boot EEPROM RAM CAN Controller Self-programming Capability Power Management On-chip Peripherals Prog. Mess. Objects AT90CAN64 AT90CAN128 up to 16 up to 16 up to 5 up to 5 up to 5 up to 16 16 KB/2 KB 32 KB/2 KB(1) 64 KB/2 KB 32 KB/up to 8 KB 2 KB 2 KB 2 KB 1 KB 2 KB 4 KB 0.5 KB 1.2 KB 2.2 KB 2 KB 4 KB 4 KB 4 15 15 15 15 15 Yes Yes Yes Yes Yes Yes(2) UART Yes Yes Yes Yes(2) Yes(2) Yes(2) SPI – – Yes Yes Yes Yes JTAG – – – Yes Yes Yes Power Fail Detect – – Yes Yes Yes Yes 16-bit Timers 0/1/2 0/1/2 0/1/2 0/1/2/3 0/1/2/3 0/1/2/3 PCA Channels 2 5 5 – – – Pulse Width Modulation 2 5 5 8 8 8 8 channels 8 channels 8 channels 8 channels 8 channels 8 channels Yes Yes Yes Yes Yes Yes UART 1 1 1 2 2 2 SPI – – Yes Yes Yes Yes Two-wire Interface – – – Yes Yes Yes 0/1/2/3 0/1/2/3 0/1/2/3 A/B/C/D/E/F/G A/B/C/D/E/F/G A/B/C/D/E/F/G Max. Frequency 60 MHz 60 MHz 60 MHz 16 MHz 16 MHz 16 MHz Power Supply (V) 3 - 5.5 3 - 5.5 3 - 5.5 2.7 - 5.5 2.7 - 5.5 2.7 - 5.5 Temperature (°C) -40 to +85 -40 to +85 21-bit Watchdog Ports Automotive Graded Parts Packages (2) 64 KB/up to 8 KB 128 KB/up to 8 KB CAN 10-bit ADC Available Versions AT90CAN32 (2) -40 to +85 -40 to +85 -40 to +85 -40 to +85 -40 to +125 -40 to +125 -40 to +125 -40 to +125 TQFP64 SOIC24 TQFP44 TQFP44 TQFP64 TQFP64a SOIC28 PLCC44 PLCC44 QFN64 QFN64 QFN64 PLCC28 BGA64 BGA64 BGA64(3) BGA64(3) BGA64(3) 1Q/06 4Q/05 Now TQFP32 TQFP64 PLCC52 Availability Now Now (1) ROM version available (2) Using custom bootloader (3) Check for availability notes: Software Master/Slave (M/S) LIN drivers available. All products compatible with AT6660 Transciever. Now Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA TEL.: 1 (408) 441-0311 FAX.: 1 (408) 487-2600 Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland TEL.: (41) 26-426-5555 FAX.: (41) 26-426-5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong TEL.: (852) 2721-9778 FAX.: (852) 2722-1369 Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan TEL.: (81) 3-3523-3551 FAX.: (81) 3-3523-7581 Product Contact La Chantrerie BP 70602 44306 Nantes Cedex 3 France TEL.: (33) 2 40 18 18 18 FAX.: (33) 2 40 18 19 60 Web Site http://www.atmel.com Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDITIONS OF SALES LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this doc- ument and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. © Atmel Corporation, 2005. All rights reserved. Atmel®, AVR®, logo, combinations thereof, Everywhere You Are® and others are registered trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be the trademarks of Atmel or others. 4012D-CAN-07/05/12M