Atmel ATAVRAUTO100 User Manual

ATAVRAUTO100
..............................................................................................
User Guide
Section 1
Introduction ........................................................................................... 1-4
1.1 Overview ...................................................................................................1-4
Section 2
2.1 Overview ...................................................................................................2-6
2.2 Power Supply ............................................................................................2-7
2.3 Oscillator Sources .....................................................................................2-7
2.4 On-board ressources ................................................................................2-8
2.5 In-System Programming .........................................................................2-10
2.6 Debugging...............................................................................................2-12
Section 3
Technical Specifications ..................................................................... 3-15
Section 4
Technical Support............................................................................... 4-17
Section 5
Complete Schematics......................................................................... 5-19
ATAVRAUTO100 User Guide -3
7697B–AUTO–09/07

Section 1

Introduction

Congratulations on your selection of the ATAVRAUTO100. This board includes all ele­ments necessary for designers to quickly develop code related to CAN and LIN communication gateway implementing the AT90CAN128 and for prototyping and testing of new designs.

1.1 Overview

This document describes the ATAVRAUTO100, a board providing CAN and LIN net­working resources. The AT90CAN128 AVR micro controller supports both the CAN and LIN protocols: the ATA6660 and ATA6621 are ideally suited for CAN and LIN physical connections.
This user guide acts as a general getting started guide as well as a complete technical reference for advanced users.
Figure 1-1. ATAVRAUTO100
ATAVRAUTO100 User Guide 1-4
7697B–AUTO–09/07
Introduction

1.2 ATAVRAUTO100 Features

The ATAVRAUTO100 provides the following features:
AT90CAN128 QFN64,
AVR Studio software interface
Power supply:
– regulated 5.0V out of the VBAT (typical 12V) from the LIN connector
JTAG connector:
– for on-chip In Situ Programming (ISP)
– for on-chip debugging using JTAG ICE
Serial interfaces:
– 1 CAN interface (High Speed and Low Speed)
– 1 LIN interface 1.3 and 2.0 compliant (Software library available on the Atmel
website for LIN 1.3).
(Note:)
,
On-board resources:
– 1 high speed CAN transceiver ATA6660
– 1 LIN transceiver ATA6621 implementing one 5.0V voltage regulator and a
watchdog
– 1 blue LED
1 Jumper to add a 1Kpull-up resistor when Master mode is selected (LIN)
On-board In Situ Programming jumper
System clock:
– 8 MHz crystal
Dimension: 45 mm x 45 mm
Note: The AT90CAN128 is supported by AVR Studio, version 4.12 or higher. For up-
to-date information on this and other AVR tool products, please consult our web site. The newest version of AVR Studio, AVR tools and this user guide can be found in the AVR section of the Atmel web site, http://www.atmel.com.
1-5 ATAVRAUTO100 User Guide
7697B–AUTO–09/07

2.1 Overview

AT90CAN128
CAN
LIN
8MHz CRYSTAL
JTAG
&
ISP
MAST

Section 2

Using the ATAVRAUTO100

Figure 2-1. ATAVRAUTO100 Overview
ATAVRAUTO100 User Guide 2-6
7697B–AUTO–09/07
Using the ATAVRAUTO100

2.2 Power Supply

Th e on - boa r d pow er su p pl y m us t b e pro vi de d via th e L I N c o nn ect o r. Th e ATAVRAUTO100 has been designed for operating voltage from 7V to +18V with typical voltage at 12V. The LIN transceiver ATA6621, connected to the LIN network, has an internal voltage regulator which outputs 5.0V ±3%. This voltage is used to power the AT90CAN128 device.
Figure 2-2. The LIN power line is used to bias the ATAVRAUTO100
Note: A LIN network has to be connected to have your LIN interface working (Input
supply from 7 to 18V DC).

2.3 Oscillator Sources

2.3.1 Internal RC oscillator

The ATAVRAUTO100 allows two oscillator sources:
Internal RC oscillator
External crystal (Default setting configuration)
The calibrated internal RC Oscillator provides a fixed 8.0 MHz clock. The frequency is nominal value at 3V and 25°C. If 8 MHz frequency exceeds the specification of the device (depends on VCC), the CKDIV8 fuse must be programmed in order to divide the internal frequency by 8 during start-up. The device is shipped with the CKDIV8 fuse pro­grammed. See “System Clock Prescaler” on page 41 for more details. This clock may be selected as the system clock by programming the CKSEL fuses as shown in Table
11. If selected, it will operate with no external components. During reset, hardware loads the calibration byte into the OSCCAL Register and thereby automatically calibrates the RC Oscillator. At 5V and 25°C, this calibration gives a frequency within ±10% of the nominal frequency. Using calibration methods as described in application notes avail­able at www.atmel.com/avr it is possible to achieve ± 2% accuracy at any given VCC and temperature. When this Oscillator is used as the chip clock, the Watchdog Oscillator will still be used for the Watchdog Timer and for the Reset Time-out.
Note: The internal RC oscillator can not be used to operate the ATAVRAUTO100 for
CAN operations. Only LIN Slave mode with a run-time oscillator calibration can be used with the internal RC oscillator.
2-7 ATAVRAUTO100 User Guide
7697B–AUTO–09/07
Loading...
+ 13 hidden pages