ATAVRAUTO100
..............................................................................................
User Guide
Download from Www.Somanuals.com. All Manuals Search And Download.
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
Download from Www.Somanuals.com. All Manuals Search And Download.
Introduction
1.2
ATAVRAUTO100 Features
The ATAVRAUTO100 provides the following features:
ꢀ AT90CAN128 QFN64,
ꢀ AVR Studio software interface (Note:)
,
ꢀ 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).
ꢀ 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 1KΩ pull-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
1-5
ATAVRAUTO100 User Guide
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Section 2
Using the ATAVRAUTO100
2.1
Overview
Figure 2-1. ATAVRAUTO100 Overview
MAST
LIN
JTAG
&
AT90CAN128
ISP
8MHz CRYSTAL
CAN
ATAVRAUTO100 User Guide
2-6
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Using the ATAVRAUTO100
2.2
Power Supply
The on-board power supply must be provided via the LIN connector. The
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
The ATAVRAUTO100 allows two oscillator sources:
ꢀ Internal RC oscillator
ꢀ External crystal (Default setting configuration)
2.3.1
Internal RC
oscillator
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-
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
Download from Www.Somanuals.com. All Manuals Search And Download.
Using the ATAVRAUTO100
2.3.2
External crystal
Necessary for the CAN network precision, the following crystal frequency allows proper
ATAVRAUTO100 operations(1): 8MHz, 12MHz, 16MHz. The ATAVRAUTO100 comes
with a default 8MHz crystal oscillator (CAN baut rate up to 1MBit/sec).
The LIN master mode clock should always be a crystal or external clock oscillator. Cur-
rently, only 8MHz and 16MHz crystal oscillator is supported.
Figure 2-3. Crystal Oscillator connection.
Note:
Only the 8MHz and 16MHz frequency are supported by the CAN and LIN libraries
2.4
On-board
ressources
2.4.1
LIN
Connection to the LIN network is made via the LIN connector JP3. The LIN signal must
be connected to the pin 2 of the connector.
Figure 2-4. .LIN And Power-supply Connections to JP3
ATAVRAUTO100 User Guide
2-8
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Using the ATAVRAUTO100
2.4.2
2.4.3
LIN MASTER
selection
To operate the LIN in Master mode, one 1kΩ resistor must be placed at the Master con-
nection. To do so, the MSTR jumper must be positionned as indicated in Figure 2-4.
CAN
Connection to the CAN network is made via the CAN connector JP2. Only the CAN- and
CAN+ are connected. The signals are routed to ATA6660 CAN high speed transceiver.
Figure 2-5. CAN High Speed connections
2.4.4
LED
The blue LED is illuminated when the ATAVRAUTO100 is correctly powered, i.e. volt-
age higher than +5V is present on the LIN connector.
Figure 2-6. VDD presence is indicated via the blue LED illumination.
2-9
ATAVRAUTO100 User Guide
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Using the ATAVRAUTO100
2.5
In-System Programming
The AT90CAN128 can be programmed using specific SPI links. This sub section will
explain how to connect the programmer.
The FLASH, EEPROM memory (and all Fuse and Lock Bit Option ISP-programmable)
can be programmed individually or with the sequential automatic programming option.
Note: When programming, the NISP jumper has to be removed.
2.5.1
Using the ATAVRAUTO900 Adaptator
The AVR ISP programmer is a compact and easy-to-use In-System Programming tool
for developing applications with AT90CAN128. Due to the small size, it is also an excel-
lent tool for field upgrades of existing applications. It is powered by the
ATAVRAUTO100 and an additional power supply is thus not required. The AVR ISP
programming interface is integrated in AVR Studio®. An additional adaptator has to be
used to program the board using ISP or JTAG mode. The 10 pins connector is used for
the JTAGICE mkII device and the 6 pins connector is used for the AVRISP device. To
plug the ATAVRAUTO900 connector to the board, the arrow (on the adaptor) has to be
in front of the point (on the board).
Figure 2-7. ATAVRAUTO900 Connection
JTAGICE ISP
The arrow has to be in front of the point
Table 2-1. ICE Connector
PIN
1
Function
TCK
2
GND
3
TDO
4
VCC
5
TMS
6
NRES
ATAVRAUTO100 User Guide
2-10
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Using the ATAVRAUTO100
Table 2-1. ICE Connector
PIN
7
Function
VCC
8
NC
9
TDI
10
GND
Table 2-2. ISP Connector
PIN
1
Function
MISO
VCC
2
3
SCK
4
MOSI
NRES
GND
5
6
2.5.2
Programming with AVR ISP via SPI
Both the Flash and EEPROM memory arrays can be programmed using the serial SPI
bus while RESET is pulled to GND. The serial interface consists of pins SCK, MOSI
(input) and MISO (output). After RESET is set low, the Programming Enable instruction
needs to be executed first before program/erase operations can be executed. Note that
throughout the description about Serial downloading, MOSI and MISO are used to
describe the serial data in and serial data out respectively. For AT90CAN128 these pins
are mapped to PDI (PE0) and PDO (PE1).
To program the device using AVR ISP programmer, connect the AVR ISP to the adaptor
(ATAVRAUTO900) and connect the adaptor to the connector of the ATAVRAUTO100.
2-11
ATAVRAUTO100 User Guide
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Using the ATAVRAUTO100
Figure 2-8. Programming the ATAVRAUTO100 using ATAVRAUTO900
AVR ISP
2.5.3
Programming with AVR JTAGICE mkII
The AT90CAN128can be preogrammed using specific JTAG link: 3-wire debug-wire
interface. To use the AVR JTAGICE mkII with an ATAVRAUTO100 an optional adaptor
should be used. Then the JTAG probe can be connected to the ATAVRAUTO100 as
shown in the following figure.
Figure 2-9. JTAGICEmkII probe connecting through debugWIRE interface.
JTAGICE mkII
ATAVRAUTO100 User Guide
2-12
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Using the ATAVRAUTO100
2.6
Debugging
2.6.1
Debugging with AVR JTAGICEmkII
The JTAGEN fuse must be programmed to enable the JTAG Test Access Port. In addi-
tion, the OCDEN fuse must be programmed and no Lock bits must be set for the Onchip
debug system to work. As a security feature, the On-chip debug system is disabled
when either of the LB1 or LB2 Lock bits are set. Otherwise, the On-chip debug system
would have provided a back-door into a secured device.
The AVR Studio enables the user to fully control execution of programs on an AVR
device with On-chip Debug capability, AVR In-Circuit Emulator, or the built-in AVR
Instruction Set Simulator. AVR Studio® supports source level execution of Assembly pro-
grams assembled with Atmel Corporation’s AVR Assembler and C programs compiled
with third party vendors’ compilers.
AVR Studio runs under Microsoft® Windows 95/98/2000/NT/XP. For a full description of
the AVR Studio, please refer to the AVR Studio User Guide.
2-13
ATAVRAUTO100 User Guide
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Section 3
Technical Specifications
ꢀ System Unit
– Physical Dimensions...............................................L=45 x W=45 x H=8 mm
– Weight ........................................................................................................17 g
ꢀ Operating Conditions
– Internal Voltage Supply ..... ...................................................................... 5.0V
– External Voltage Supply .....................................................................7V -18V
ATAVRAUTO100 User Guide
3-15
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Section 4
Technical Support
For Technical support, please contact avr@atmel.com. When requesting technical sup-
port, please include the following information:
ꢀ Which target AVR device is used (complete part number)
ꢀ Target voltage and speed
ꢀ Clock source and fuse setting of the AVR
ꢀ Programming method (ISP, JTAG or specific Boot-Loader)
ꢀ Hardware revisions of the AVR tools, found on the PCB
ꢀ Version number of AVR Studio. This can be found in the AVR Studio help menu.
ꢀ PC operating system and version/build
ꢀ PC processor type and speed
ꢀ A detailed description of the problem
ATAVRAUTO100 User Guide
4-17
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Section 5
Complete Schematics
On the next pages, the following documents of ATAVRAUTO100 are shown:
ꢀ Complete schematics,
ꢀ Bill of materials
ꢀ Assembly drawing
ATAVRAUTO100 User Guide
5-19
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Complete Schematics
Figure 5-1. ATAVRAUTO100 Schematic
ATAVRAUTO100 User Guide
5-20
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Complete Schematics
Figure 5-2. ATAVRAUTO100 Bill of materials
5-21
ATAVRAUTO100 User Guide
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Complete Schematics
Figure 5-3. ATAVRAUTO100 assembly drawing
R2 R1
D1
DB
DG
D_WD MAST
D3
D2
R12
R13
R9
C1
C7
Q1
ICE&ISP
U2
U3
NWAKE
Y1
R5
U1
R8
NISP
BOOT
R3
C6 R4
CAN to LIN Gateway
ATAVRAUTO100 User Guide
5-22
7697B–AUTO–09/07
Download from Www.Somanuals.com. All Manuals Search And Download.
Atmel Corporation
Atmel Operations
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 487-2600
Memory
RF/Automotive
Theresienstrasse 2
Postfach 3535
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
74025 Heilbronn, Germany
Tel: (49) 71-31-67-0
Fax: (49) 71-31-67-2340
Regional Headquarters
Microcontrollers
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
Tel: 1(719) 576-3300
Europe
Atmel Sarl
Route des Arsenaux 41
Case Postale 80
CH-1705 Fribourg
Switzerland
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
La Chantrerie
BP 70602
Tel: (41) 26-426-5555
Fax: (41) 26-426-5500
44306 Nantes Cedex 3, France
Tel: (33) 2-40-18-18-18
Fax: (33) 2-40-18-19-60
Asia
Room 1219
ASIC/ASSP/Smart Cards
Zone Industrielle
13106 Rousset Cedex, France
Tel: (33) 4-42-53-60-00
Fax: (33) 4-42-53-60-01
Chinachem Golden Plaza
77 Mody Road Tsimshatsui
East Kowloon
Hong Kong
Tel: (852) 2721-9778
Fax: (852) 2722-1369
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
Tel: 1(719) 576-3300
Japan
9F, Tonetsu Shinkawa Bldg.
1-24-8 Shinkawa
Chuo-ku, Tokyo 104-0033
Japan
Fax: 1(719) 540-1759
Scottish Enterprise Technology Park
Maxwell Building
Tel: (81) 3-3523-3551
Fax: (81) 3-3523-7581
East Kilbride G75 0QR, Scotland
Tel: (44) 1355-803-000
Fax: (44) 1355-242-743
Literature Requests
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.
© 2007 Atmel Corporation. All rights reserved. Atmel®, logo and combinations thereof, Everywhere You Are® and others are registered trade-
marks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.
Printed on recycled paper.
7697B–AUTO–09/07
/xM
Download from Www.Somanuals.com. All Manuals Search And Download.
|
3Com IP Phone VCX V7000 IP User Manual
3Com Network Router 10014299 User Manual
Adesso Computer Keyboard AKB 310UB User Manual
Aiphone Intercom System 2 MK 1MD A User Manual
Americair Air Cleaner 2500HV User Manual
Atlona Marine GPS System AT HD620 User Manual
Audiovox Automobile Alarm APS 15R User Manual
BB Electronics Network Card 232PCC2 User Manual
Beko Freezer DN162720DX User Manual
Beko Refrigerator CN111520 User Manual