Quick Start Guide. CAN Microcontrollers. ATADAPCAN01 - STK501 CAN Extension. Requirements



Similar documents
8-bit RISC Microcontroller. Application Note. AVR182: Zero Cross Detector

8-bit Microcontroller. Application Note. AVR222: 8-point Moving Average Filter

8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter

8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1.

Tag Tuning/RFID. Application Note. Tag Tuning. Introduction. Antenna Equivalent Circuit

8-bit Microcontroller. Application Note. AVR314: DTMF Generator

How to Calculate the Capacitor of the Reset Input of a C51 Microcontroller 80C51. Application Note. Microcontrollers. Introduction

8-bit RISC Microcontroller. Application Note. AVR236: CRC Check of Program Memory

AT91 ARM Thumb Microcontrollers. Application Note. Interfacing a PC Card to an AT91RM9200-DK. Introduction. Hardware Interface

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features.

AT89C5131A Starter Kit... Software User Guide

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

8-bit Microcontroller. Application Note. AVR201: Using the AVR Hardware Multiplier

AVR245: Code Lock with 4x4 Keypad and I2C LCD. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR106: C functions for reading and writing to Flash memory. 8-bit Microcontrollers. Application Note. Features. Introduction

Application Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations

General Porting Considerations. Memory EEPROM XRAM

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction

8-bit Microcontroller. Application. Note. AVR204: BCD Arithmetics. Features. Introduction. 16-bit Binary to 5-digit BCD Conversion bin2bcd16

AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for AVR. 8-bit Microcontroller. Application Note. Features.

8-bit Microcontroller. Application Note. AVR105: Power Efficient High Endurance Parameter Storage in Flash Memory

AVR241: Direct driving of LCD display using general IO. 8-bit Microcontrollers. Application Note. Features. Introduction AVR

3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary

AT91 ARM Thumb Microcontrollers. AT91SAM CAN Bootloader. AT91SAM CAN Bootloader User Notes. 1. Description. 2. Key Features

8-bit Microcontroller. Application Note. AVR461: Quick Start Guide for the Embedded Internet Toolkit. Introduction. System Requirements

AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32100: Using the AVR32 USART. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

USB 2.0 Full-Speed Host/Function Processor AT43USB370. Summary. Features. Overview

8-bit RISC Microcontroller. Application Note. AVR155: Accessing an I 2 C LCD Display using the AVR 2-wire Serial Interface

AVR32110: Using the AVR32 Timer/Counter. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

Application Note. Migrating from RS-232 to USB Bridge Specification USB Microcontrollers. Doc Control. References. Abbreviations

AVR442: PC Fan Control using ATtiny13. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR120: Characterization and Calibration of the ADC on an AVR. 8-bit Microcontrollers. Application Note. Features. Introduction

USB Test Environment ATUSBTEST- SS7400. Summary

2-wire Serial EEPROM AT24C1024. Advance Information

AVR1900: Getting started with ATxmega128A1 on STK bit Microcontrollers. Application Note. 1 Introduction

Application Note. USB Mass Storage Device Implementation. USB Microcontrollers. References. Abbreviations. Supported Controllers

Table of Contents. Section 1 Introduction Section 2 Getting Started Section 3 Hardware Description

2-Wire Serial EEPROM AT24C32 AT24C64. 2-Wire, 32K Serial E 2 PROM. Features. Description. Pin Configurations. 32K (4096 x 8) 64K (8192 x 8)

How To Prevent Power Supply Corruption On An 8Bit Microcontroller From Overheating

Two-wire Automotive Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 (1) AT24C16 (2)

ATF15xx Product Family Conversion. Application Note. ATF15xx Product Family Conversion. Introduction

Application Note. 8-bit Microcontrollers. AVR280: USB Host CDC Demonstration. 1. Introduction

8-bit Microcontroller. Application Note. AVR410: RC5 IR Remote Control Receiver

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS

AT86RF230 (2450 MHz band) Radio Transceiver... User Guide

Application Note. 8-bit Microcontrollers. AVR091: Replacing AT90S2313 by ATtiny2313. Features. Introduction

Two-wire Serial EEPROM AT24C1024 (1)

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB

AVR444: Sensorless control of 3-phase brushless DC motors. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

DIP Top View VCC A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3. PLCC Top View VCC A17

Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA

AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors

Atmel AVR1017: XMEGA - USB Hardware Design Recommendations. 8-bit Atmel Microcontrollers. Application Note. Features.

Step Motor Controller. Application Note. AVR360: Step Motor Controller. Theory of Operation. Features. Introduction

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

8-bit RISC Microcontroller. Application Note. AVR335: Digital Sound Recorder with AVR and DataFlash

AVR2006: Design and characterization of the Radio Controller Board's 2.4GHz PCB Antenna. Application Note. Features.

Application Note. 8-bit Microcontrollers. AVR307: Half Duplex UART Using the USI Module

AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series. 32-bit Microcontrollers. Application Note.

AVR441: Intelligent BLDC Fan Controller with Temperature Sensor and Serial Interface. 8-bit Microcontrollers. Application Note.

AVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

JTAG ICE.... User Guide

2-wire Serial EEPROM AT24C512

All-band AM/FM Receiver and Audio Amplifier IC U2510B

AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Application Note Microcontrollers. Guidelines to Keep ADC Resolution within Specification. Introduction. ADC Resolution

AVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction

Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration

AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary. Features. Applications. 1. Description

AVR2004: LC-Balun for AT86RF230. Application Note. Features. 1 Introduction

AT91SAM ARM-based Flash MCU. Application Note

Application Note. 8-bit Microcontrollers. AVR272: USB CDC Demonstration UART to USB Bridge

AVR318: Dallas 1-Wire master. 8-bit Microcontrollers. Application Note. Features. Introduction

ATF1500AS Device Family. Application Note. In-System Programming of Atmel ATF1500AS Devices on the HP3070. Introduction.

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

AVR040: EMC Design Considerations. 8-bit Microcontrollers. Application Note PRELIMINARY. Scope. 1 Introduction

8-bit Microcontroller. Application Note. AVR313: Interfacing the PC AT Keyboard

8-bit RISC Microcontroller. Application Note. AVR910: In-System Programming

8-bit. Application Note. Microcontrollers. AVR273: USB Mass Storage Implementation. Features. 1. Introduction

STK 500, AVRISP, AVRISP

256K (32K x 8) OTP EPROM AT27C256R 256K EPROM. Features. Description. Pin Configurations

AVR32788: AVR 32 How to use the SSC in I2S mode. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. Atmel AVR600: STK600 Expansion, Routing and Socket Boards. Atmel Microcontrollers. Introduction

Application Note. AVR Microcontrollers. AVR493: Sensorless Commutation of Brushless DC Motor (BLDC) using AT90PWM3 and ATAVRMC

CAN bus board. EB018

Application Note. 8-bit Microcontrollers. AVR293: USB Composite Device

80C51 MCU s. Application Note. Analyzing the Behavior of an Oscillator and Ensuring Good Start-up. Oscillator Fundamentals

UM1613 User manual. 16-pin smartcard interface ST8034P demonstration board. Introduction

Application Note. 8-bit Microcontrollers. AVR435: BLDC/BLAC Motor Control Using a Sinus Modulated PWM Algorithm. 1. Features. 2.

Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features.

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information

AVR068: STK500 Communication Protocol. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.

Transcription:

ATADAPCAN01 - STK501 CAN Extension The ATADAPCAN01 - STK501 CAN add-on is an extension to the STK500 and STK501 development boards from Atmel Corporation, adding support for the AVR AT90CAN128 device in a single development environment. The AVR AT90CAN128 includes a built-in Controller Area Network (CAN) controller with all the features required to implement the CAN serial communication protocol in accordance with the BOSCH GmbH CAN specification. The add-on board provides CAN transceivers, termination options and other features necessary to seamlessly connect the STK500 development environment to a CAN bus for application development and debugging. CAN Microcontrollers Quick Start Guide Requirements STK500 starter kit, serial cable and power supply STK501 topmodule to STK500 AVR AT90CAN128 in 64-pin TQFP package Rev. 4330B-CAN 03/04 1

Connections to STK500 / STK501 The ATADAPCAN01 module is intended for use with the STK500 and STK501 starter kits. The STK501 holds the 64-pin TQFP ZIF socket for the AT90CAN128 part, and is a top-module board for the AVR starter-kit STK500. The ATADAPCAN01 requires connections to the CANTx and CANRx signals on the AVR device, as well as Vcc and GND connections. The ATADAPCAN01 board can be connected to the starter-kits in one of three possible ways: Individual signal wiring to PORTD. Using three 2-wire cables provided with the STK500 kit, make the following connections: STK500 PD5 (pin6) to ATADAPCAN01 PORTD pin 6 (CANTx) STK500 PD6 (pin7) to ATADAPCAN01 PORTD pin 7 (CANRx) STK500 GND & VTG to ATADAPCAN01 PORTD pins 9 & 10 Flat-cable connection to PORTD. Using a 10-wire flat-cable provided with the STK500 kit, connect the PORTD header of the STK500 to the PORTD header of the ATADAPCAN01, as shown in figure 1. Care should be taken to use the correct pin orientation. Figure 1. Connecting to the STK500 through a 10-wire flat-cable ATADAPCAN01 STK-500 Direct mounting onto PORTD. A second PORTD header is routed (but not mounted) on the ATADAPCAN01 (J8). By attaching a matching 10 pin socket to the underside of the board, it can be mounted directly onto the STK500 PORTD header. The top-side PORTD header on the ATADAPCAN01 board can then be used to access other PORTD pins. 2 AT90CAN128

CAN Bus Interface BUS Connectors Several options are available to physically connect the ATADAPCAN01 to a CAN bus. The D-SUB-9 MALE connector is the primary connection point to a CAN bus. Alternatively, the 10-pin header labelled "CAN BUS flat-cable" can be used, or both connectors can be used if the CAN bus topology requires it. Both connectors are wired according to CiA Draft Standard 102 version 2.0 as shown in table 1. Table 1. CAN Bus Connector Wiring Signal Description D-SUB-9 pin Flat-cable Pin Reserved 1 1 CAN_L 2 3 CAN_GND 3 5 Reserved 4 7 CAN_SHLD* 5 (1) 9 (1) CAN_GND 6 2 CAN_H 7 4 Reserved 8 6 CAN_V+ 9 8 (not used) 10 Note: 1. CAN_SHLD pins are not connected together internally CAN BUS Grounding and Shielding CAN BUS Termination CAN Transceiver Options The "CAN_SHLD" signal in each of the two CAN bus connectors can be optionally connected to ground by mounting 0 ohm or small value resistors in positions R2 (for D-SUB- 9) and R3 (for flat-cable). The landing pads of both R2 and R3 are 1206 standard size. By default, the "CAN_GND" signals in both connectors are wired to the STK500 ground through 0 ohm resistor R1. Removing R1 will isolate the "CAN_GND" ground signals on the CAN bus from the STK500 / ATADAPCAN01 ground. To function correctly, a CAN bus requires 120 ohm termination on both ends. The ATADAPCAN01 can become a terminated node on the CAN bus simply by setting the jumper labelled "TERM". This terminates the CAN bus with two series-connected 62 ohm resistors. Setting the jumper labelled "SPLIT" connects the centre-tap between these two resistors to ground through 10nF capacitor C1. This reduces common-mode noise on the bus line. This centre tap can also be stabilised as described later in the Split voltage section (if supported by the CAN transceiver mounted in "CAN1"). The ATADAPCAN01 board has two CAN transceiver footprints. This is to facilitate easy evaluation of alternate CAN devices as well as to provide access to various extra features of some of these parts. Refer to the schematic diagram in Figure 2 (below) while considering these options. Both "CAN1" and "CAN2" footprints use standard CAN device pinouts for pins 1, 2, 3, 4, 6 and 7. By default, "CAN1" is mounted on the board (Atmel ATA6660). To use a device in "CAN2", solder the device to the board, and remove the 0 ohm resistors labelled R8, R9 R10 from the "CAN1" section, and mount them into the "CAN2" section in positions R11, R12, R13. Although it is acceptable that idle CAN transceivers remain attached to the CAN bus, only one CAN device should be connected to the AVR device at any time. 3 AT90CAN128

Figure 2. Component Placement Utilising CAN- Transceiver Extrafeatures Slope Control (pin 8, "CAN1" and "CAN2") Standby Function (pin 8, "CAN1" and "CAN2") Shutdown Function (pin 5, "CAN2") Split Voltage (pin 5, "CAN1") Many CAN transceiver devices available have various extra functions accessible through pins 5 and 8. The ATADAPCAN01 allows you to take advantage of some of these features. Pin 8 on both "CAN1" and "CAN2" footprints are connected centre pin of the "SLOPE CTRL" connector. Pin 5 of "CAN1" is connected to the centre-tap of the termination network, and pin 5 of "CAN2" is connected to R6 and C2 as shown in Figure 2. CAN transceivers supporting slope or slew-rate control allow a resistor to be connected between the RS pin (pin 8) and ground to limit the slope of the bus-driving signal. This reduced EMI emmissions while restricting the maximum transmission rate. Pin 8 on both "CAN1" and "CAN2" devices are connected to the centre pin of the "SLOPE CTRL" jumper. Setting the jumper to the ON position, connects the centre pin to ground through resistor R7, while setting it to the OFF position connects the centre pin directly to ground (for no slope control, or high-speed mode). Refer to the CAN transceiver device documentation for information on selecting the value of R7 (24k by default). On some CAN transceivers, pin 8 can be driven by a logic level to switch the transceiver into standby mode. The centre pin of the "SLOPE CTRL" header (with the jumper removed) can be connected to an I/O pin on the AVR device for this purpose. Your AVR code should drive this signal as specified in the CAN transceiver documentation. Some CAN transceivers have a SHUTDOWN function which is configured by an R-C connection on pin 5. Pin 5 of the "CAN2" footprint is connected to resistor R6 to Vcc and capacitor C2 to ground, as shown in the schematic diagram. By default R6 is a 0 ohm connection to Vcc and C2 is not mounted. Both parts are 0603 size. Consult the CAN transceiver documentation for further information. The centre-point of the CAN bus termination (if enabled) can be stabilised by connecting it to pin 5 of certain CAN transceivers. If the CAN transceiver supports this feature, a 0 ohm 0603 resistor can be mounted in R14, with the "SPLIT" and "TERM" jumpers set accordingly (see Section CAN bus termination ). 4 AT90CAN128

AT90CAN128 Figure 3. Schematic Layout 5

Atmel Headquarters Corporate Headquarters 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 487-2600 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 Tsimhatsui 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 Atmel Operations Memory 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 Microcontrollers 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 La Chantrerie BP 70602 44306 Nantes Cedex 3, France TEL (33) 2-40-18-18-18 FAX (33) 2-40-18-19-60 ASIC/ASSP/Smart Cards Zone Industrielle 13106 Rousset Cedex, France TEL (33) 4-42-53-60-00 FAX (33) 4-42-53-60-01 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland TEL (44) 1355-803-000 FAX (44) 1355-242-743 RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany TEL (49) 71-31-67-0 FAX (49) 71-31-67-2340 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France TEL (33) 4-76-58-30-00 FAX (33) 4-76-58-34-80 e-mail literature@atmel.com Web Site http://www.atmel.com Disclaimer: Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company s standard warranty which is detailed in Atmel s Terms and Conditions located on the Company s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel s products are not authorized for use as critical components in life support devices or systems. Atmel Corporation 2004. All rights reserved. Atmel and combinations thereof are the registered trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be the trademarks of others. Printed on recycled paper. /xm