ATAVRAUTO102 Kit .............................................................................................. User Guide Table of Contents Section 1 Introduction ........................................................................................... 1-1 1.1 Overview ...................................................................................................1-1 Section 2 Getting Started...................................................................................... 2-3 2.1 2.2 Unpacking the system...............................................................................2-3 System Requirements...............................................................................2-3 Section 3 Using the ATAVRAUTO102.................................................................. 3-5 3.1 3.2 3.3 Using the ATAVRAUTO102 board............................................................3-5 Updating the ATAVRAUTO102 firmware ..................................................3-5 Using X-Analyser ......................................................................................3-8 Section 4 Technical specification........................................................................ 4-11 Section 5 Technical support ............................................................................... 5-12 Section 6 Complete schematics ......................................................................... 6-13 1 7720A–AVR–06/07 ATAVRAUTO102 User Guide Section 1 Introduction Congratulations on your purchase of the ATAVRAUTO102 starter kit. This document describes the board included in the ATAVRAUTO102 starter kit dedicated to AT90CAN128 and AT90USB1287. 1.1 Overview This document describes the ATAVRAUTO102 dedicated to AT90CAN128 and AT90USB1287 AVR microcontrollers. This board is designed to allow an easy evaluation of the products using demonstration software. This board is not a development platform but a tool designed to give designers a quick start to analyze LIN and/or CAN networks in order to evaluate Atmel LIN and CAN solutions. Figure 1-1. ATAVRAUTO102 ATAVRAUTO102 User Guide 1-1 7720A–AVR–06/07 1.2 ATAVRAUTO102 features The ATAVRAUTO102 provides the following features: AT90CAN128 and AT90USB1287 QFN64 AVR programming tools interface(1), Power supply – Regulated 5V – From LIN and/or USB connector JTAG connector: – For on-chip In Situ Programming (ISP) – For on-chip debugging using JTAG ICE Serial interfaces: – 2 LIN interface 1.3 and 2.0 compliant (Software library available on the Atmel website for LIN 1.3) – 1 CAN interface On-board resources: – 1 LIN transceiver with internal regulator + watchdog (ATA6621) – 1 LIN transceiver (ATA6661) – 1 CAN transceiver (ATA6660) – 8 Mbytes of DataFlash System clock: – Internal RC oscillator – 16Mhz external quartz connected to the AT90CAN128 – Clock output from the AT90CAN128 connected to the clock input of the AT90USB1287. Dimension: 92 mm x 45 mm Notes: 1. AT90CAN128 and AT90USB1287 are 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. ATAVRAUTO102 User Guide 1-2 7720A–AVR–06/07 Section 2 Getting Started 2.1 Unpacking the system Kit contents: 1 ATAVRAUTO102 board V1.0 1 ATAVRAUTO900 board V1.0 1 USB Mini-B to A cable 1 Getting Started 1 Automotive CD-Rom 1 AVR CD-Rom software and technical library 1 Dear customer letter 2.2 System Requirements The ATAVRAUTO102 board is used as a tool to analyze car networks (up to two LIN networks and one CAN network). The minimum hardware and software PC requirements are: Windows® 2000/XP, Windows NT4.0 or higher Note: ATAVRAUTO102 User Guide No drivers are needed. 2-3 7720A–AVR–06/07 2.3 Quick Start The ATAVRAUTO102 board can be used to analyze up to one CAN and two LIN networks. Connect networks (LIN and/or CAN) and plug USB cable. Figure 2-1. Board connections and default jumpers settings VBat LIN0 GND VBat USB LIN1 GND CANH CANL Note: At least one “VBat” should be connected to have the LIN interfaces working. Table 2-1. Main Jumpers function Jumper Description D_WD Set to disable the LIN transceiver watch dog (default REMOVED). MAST Set to use the master mode of LIN0 (default SET). MISO Set to enable the SPI comm between both microcontrollers (default SET). MOSI TERM1 Set to enable the CAN termination resistors (default REMOVED).. TERM2 NISP_U NISP_C NRES_U NRES_C Set to enable the reset signal from the LIN transceiver to the AT90CAN128 (_C) or/and the aT90USB1287 (_U) microcontrollers (default SET) Set to reset the AT90CAN128 (_C) or the AT90USB1287 (_U) microcontroller (default REMOVED). BOOT_U Reserved for future use (default REMOVED). BOOT_U The default configuration allows to use the board with LIN and CAN. Note: 2-4 7720A–AVR–06/07 For more details on ATAVRAUTO102 options, please refer to “Using ATAVRAUTO102” chapter of the user guide. ATAVRAUTO102 User Guide Section 3 Using the ATAVRAUTO102 3.1 Using the ATAVRAUTO102 board The ATAVRAUTO102 can be used as a spy on a network or can act as a single Slave or Master node. LIN0 can be sniffer/slave or master. LIN1 can be sniffer or slave. CAN can be sniffer or master. Steps to follow: Connect your board to your PC using the USB cable. Link all networks you want to work with. If LIN0 is a master node, set the jumper MAST. Run “X-Analyser”. 3.2 Updating the ATAVRAUTO102 firmware For the future firmware revision, the ATAVRAUTO900 will be used to update AT90CAN128 and AT90USB1287 microcontrollers. Note: When programming, NISP_C and NISP_U jumpers have to be removed. The AT90CAN128 and the AT90USB1287 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. ATAVRAUTO102 User Guide 3-5 7720A–AVR–06/07 3.2.1 Using the ATAVRAUTO900 Adaptor The AVR ISP 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 excellent tool for field upgrades of existing applications. It is powered by the ATAVRAUTO102 and an additional power supply is thus not required. The AVR ISP programming interface is integrated in AVR Studio®. An additional adaptor 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 3-1. ATAVRAUTO900 Connection AT90CAN128 Connection AT90USB1287 Connection The arrow has to be in front of the point Table 3-1. ICE Connector PIN Function 1 TCK 2 GND 3 TDO 4 VCC 5 TMS 6 NRES 7 VCC 8 NC 9 TDI 10 GND Table 3-2. ISP Connector 3-6 7720A–AVR–06/07 PIN Function 1 MISO 2 VCC 3 SCK 4 MOSI 5 NRES 6 GND ATAVRAUTO102 User Guide 3.2.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 ATAVRAUTO102. Programming the ATAVRAUTO102 using ATAVRAUTO 900 3.2.3 Programming with AVR JTAGICE mkII The AT90CAN128 can be programmed 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. JTAGICE mkII probe connection through JTAG interface. ATAVRAUTO102 User Guide 3-7 7720A–AVR–06/07 3.3.1 Speed limitations ATAVRAUTO102 User Guide • The limitation of the USB HID Class implies a limitation if the bit rate : the maximal HID baudrate is 64 KByte/s, so 512 Kb/s. So, for a CAN Baudrate higher than 500Kb/s, a CAN load higher than 50% will imply the loss of CAN frames. • The Windows Operating System also implies limitations for the application: If ATAnalyser is the only running application, the O.S. allows the application to received USB frames only every 10 ms. A buffer permits to save received USB frames but for very high bitrates, there could be a loss of received USB frames. 3-9 7720A–AVR–06/07 Section 4 Technical specification System Unit – Physical Dimensions...............................................L=92 x W=45 x H=14 mm – Weight........................................................................................................31 g Operating Conditions – Internal Voltage Supply (Flash).................................................................3.3V – Internal Voltage Supply (Micro)................................................................ 5.0V – External Voltage Supply.....................................................................7V -18V ATAVRAUTO102 User Guide 4-11 7720A–AVR–06/07 Section 5 Technical support For Technical support, please contact [email protected]. When requesting technical support, 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 ATAVRAUTO102 User Guide 5-12 7720A–AVR–06/07 Section 6 Complete schematics On the next pages, the following documents of ATAVRAUTO102 are shown: Bill of materials Complete schematics Assembly drawing ATAVRAUTO102 User Guide 6-13 7720A–AVR–06/07 Complete schematics Table 6-1. Bill of Materials Designator Descriptions Reference Fabricant Fournisseur C11 100nF X7R 16V Phycomp FARNELL Code Commande 432210 Unite de Vente 10 Quantity 1 Prix UDV 0.63 Cap 100nF 0603 X7R 16V LibRef 0603 C14 100nF X7R 16V Phycomp FARNELL 432210 10 1 0.63 Cap 100nF 0603 X7R 16V 0603 C19 100nF X7R 16V Phycomp FARNELL 432210 10 1 0.63 Cap 100nF 0603 X7R 16V 0603 C20 100nF X7R 16V Phycomp FARNELL 432210 10 1 0.63 Cap 100nF 0603 X7R 16V 0603 C3 C4 100nF 100nF X7R 16V X7R 16V Phycomp Phycomp FARNELL FARNELL 432210 432210 10 10 1 1 0.63 Cap 100nF 0603 X7R 16V 0.63 Cap 100nF 0603 X7R 16V 0603 0603 C6 100nF X7R 16V Phycomp FARNELL 432210 10 1 0.63 Cap 100nF 0603 X7R 16V 0603 C7 100nF X7R 16V Phycomp FARNELL 432210 10 1 0.63 Cap 100nF 0603 X7R 16V 0603 C8 100nF X7R 16V Phycomp FARNELL 432210 10 1 0.63 Cap 100nF 0603 X7R 16V 0603 C9 100nF X7R 16V Phycomp FARNELL 432210 10 1 0.63 Cap 100nF 0603 X7R 16V 0603 C12 100pF COG MURATA FARNELL 8819866 10 1 0.54 Cap 100pF 0603 COG 50V 0603 C10 15pF COG AVX FARNELL 7568320 10 1 2.2 Cap 15pF 0603 COG 200V 0603 C15 15pF COG AVX FARNELL 7568320 10 1 2.2 Cap 15pF 0603 COG 200V 0603 C16 15pF COG AVX FARNELL 7568320 10 1 2.2 Cap 15pF 0603 COG 200V 0603 C17 220pF X7R 50V Phycomp FARNELL 722133 25 1 1 Cap 220pF 0603 X7R 50V 0603 C18 220pF X7R 50V Phycomp FARNELL 722133 25 1 1 Cap 220pF 0603 X7R 50V 0603 C5 1µF X7R Murata FARNELL 9527710 25 1 C13 4.7µF/6.3V X5R MURATA FARNELL 9522999 10 1 3.1 Cap 4.7µF 0805 6.3V C1 10µF TAJA106K006R AVX FARNELL 197014 5 1 1.15 Cap 10µF TantA 6.3V C2 10µF TAJA106K006R AVX FARNELL 197014 5 1 1.15 Cap 10µF TantA 6.3V CAN Bornier 1X2 20.101/2 IMO FARNELL 9632670 5 1 1.3 Bornier 1X2 24A IMO2 5mm LIN0 Bornier 1X3 20.101/3 LIN1 Bornier 1X3 Capa Tantal A 1 1.75 Bornier 1X3 24A IMO3 5mm IMO FARNELL 9632689 5 1 1.75 Bornier 1X3 24A IMO3 5mm HARWIN FARNELL 1022310 5 1 3.1 AVR ICE ISP PIN Header 2X5 ICE&ISP_U ICE&ISP Header M50-3600542 HARWIN FARNELL 1022310 5 1 3.1 AVR ICE ISP PIN Header 2X5 USB USB MiniAB 565790576 MOLEX FARNELL 9786490 1 1 U3 AT45DB642D AT45DB642D-CNU ATMEL ATMEL AT45DB642D-CNU 1 1 0 AT45DB642D CASON U6 AT90CAN128 AT90CAN128-16MI ATMEL ATMEL AT90CAN128-16MI 1 1 0 AT90CAN128 QFN9X9-64 No VIA U2 AT90USB1287 AT90USB1287-16MU ATMEL ATMEL T90USB1287-16MU 1 1 0 AT90USB128 QFN9X9-64 No VIA U7 ATA6621 ATA6621 ATMEL ATMEL ATA6621 1 1 0 ATA6621 QFN5X5-20 NO VIA U5 ATA6660 ATA6660 ATMEL ATMEL ATA6660 1 1 0 ATA6660 U8 ATA6661 ATA6661-TAQ ATMEL ATMEL ATA6661-TAQ 1 1 0 ATA6661 U1 KF33BD KF33BD ST FARNELL 9755314 1 1 U4 MC74VHC1GT125 MC74VHC1GT125DF1 ON AVNET 3000 1 Y1 16MHz LF A161G CMAC FARNELL 9713808 1 1 2.26 Crystal 16Mhz HC49 HC49/4H_SMX BOOT_C 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm BOOT_U 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm D_WD 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm MAST 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm MISO 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm MOSI 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm NISP_C 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm NISP_U 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm NRES_C 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm NRES_U 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm TERM1 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm TERM2 2mm V M22-2010205 HARWIN FARNELL 671915 10 1 1.12 Jump 2 Vert - 2mm SIL2V2mm NWAKE0 Bouton poussoir CMS KSC421JLFS ITT CANNON FARNELL 1201417 1 1 0.42 BP SPNO CMS NWAKE1 Bouton poussoir CMS KSC421JLFS ITT CANNON FARNELL 1201417 1 1 0.42 BP SPNO CMS D4 BZX84-C5V1 BZX84-C5V1 Philips FARNELL 1081430 5 1 D_CAN LED CMS Blue HSMB-C170 Agilent FARNELL 3225100 1 1 D-LIN0 LED CMS Green D-LIN1 LED CMS Green HSMG-C170 Agilent FARNELL 5790852 5 1 0.8 LED CMS Green LED CMS Agilent D-USB LED CMS Yellow HSMY-C170 Agilent FARNELL 5790876 5 1 0.8 LED CMS Yellow LED CMS Agilent D1 MBR0540 MBR0540T1G ON FARNELL 9556923 1 1 0.65 Schottky 40V 500mA MBR0540 SOD123 D2 MBR0540 MBR0540T1G ON FARNELL 9556923 1 1 0.65 Schottky 40V 500mA MBR0540 SOD123 D5 MBR0540 MBR0540T1G ON FARNELL 9556923 1 1 0.65 Schottky 40V 500mA MBR0540 SOD123 D6 MBR0540 MBR0540T1G ON FARNELL 9556923 1 1 0.65 Schottky 40V 500mA MBR0540 SOD123 D7 MBR0540 MBR0540T1G ON FARNELL 9556923 1 1 0.65 Schottky 40V 500mA MBR0540 D3 PESD5V0S2BT PESD5V0S2BT PHILIPS FARNELL 8737720 5 1 2.9 PESD5V0S2BT SOT23 R2 100K MC 0.063W 0603 1% 100K MULTICOMP FARNELL 9330402 50 1 1.4 Res 100K 0603 1% 0603 R22 100K MC 0.063W 0603 1% 100K MULTICOMP FARNELL 9330402 50 1 1.4 Res 100K 0603 1% 0603 R6 100K MC 0.063W 0603 1% 100K MULTICOMP FARNELL 9330402 50 1 1.4 Res 100K 0603 1% 0603 R7 100K MC 0.063W 0603 1% 100K MULTICOMP FARNELL 9330402 50 1 1.4 Res 100K 0603 1% 0603 R8 100K MC 0.063W 0603 1% 100K MULTICOMP FARNELL 9330402 50 1 1.4 Res 100K 0603 1% 0603 R9 100K MC 0.063W 0603 1% 100K MULTICOMP FARNELL 9330402 50 1 1.4 Res 100K 0603 1% 0603 R1 10K MC 0.063W 0603 1% 10K MULTICOMP FARNELL 9330399 50 1 1.4 Res 10K 0603 1% 0603 R17 10K RC21 Phycomp FARNELL 9233504 50 1 1.9 Res 10K 0603 1% 0603 R18 10K RC21 Phycomp FARNELL 9233504 50 1 1.9 Res 10K 0603 1% 0603 R19 10K RC21 Phycomp FARNELL 9233504 50 1 1.9 Res 10K 0603 1% 0603 R25 10K RC21 Phycomp FARNELL 9233504 50 1 1.9 Res 10K 0603 1% 0603 R10 120K MC 0.063W 0603 1% 120K MULTICOMP FARNELL 9238735 50 1 1.4 Res 120K 0603 1% 0603 R16 1K RC22H Phycomp FARNELL 9238484 50 1 R20 1K RC22H Phycomp FARNELL 9238484 50 1 R24 22R MC 0.063W 0603 1% 22R MULTICOmP FARNELL 9330844 50 1 1.4 Res 22R 0603 1% 0603 R3 22R RC22H Phycomp FARNELL 9238280 50 1 1.95 Res 22R 0603 1% 0603 1.95 Res 22R 0603 1% 74VHC1GT125DF1 5790852 5 Capa Tantal A M50-3600542 FARNELL 9632689 0805 20.101/3 Agilent FARNELL 0805 ICE&ISP_C ICE&ISP Header HSMG-C170 IMO 1.25 Cap 1µF 805 16V Footprint 5 1 0,78 USB mini AB 1,04 KF33BD 129.00 MC74VHC1GT125 1 ZENER BZX84-C5V1 0.51 LED CMS Blue 0.8 LED CMS Green 2.17 Res 1K 0603 1% 2.17 Res 1K 0603 1% PIN Header 2x5 1.27mm PIN Header 2x5 1.27mm USB Mini AB SO8 SO8 SO8 SC70-5 BP SPNO BP SPNO SOT23 LED CMS Agilent LED CMS Agilent SOD123 0603 0603 R4 22R RC22H Phycomp FARNELL 9238280 50 1 R14 330R MC 0.063W 0603 1% 330R Phycomp FARNELL 9331018 50 1 1.4 Res 330R 0603 1% 0603 R15 330R MC 0.063W 0603 1% 330R Phycomp FARNELL 9331018 50 1 1.4 Res 330R 0603 1% 0603 R21 330R MC 0.063W 0603 1% 330R Phycomp FARNELL 9331018 50 1 1.4 Res 330R 0603 1% 0603 R5 330R MC 0.063W 0603 1% 330R Phycomp FARNELL 9331018 50 1 1.4 Res 330R 0603 1% 0603 R11 47K MC 0.063W 0603 1% 47K MULTICOMP FARNELL 9238689 50 1 1.4 Res 47K 0603 1% R23 51K MC 0.063W 0603 1% 51K MULTICOMP FARNELL 9331310 50 1 1.4 Res 51K 0603 1% 0603 R12 56R RC22H Phycomp FARNELL 9238336 50 1 2.17 Res 56R 0603 1% 0603 R13 56R RC22H Phycomp FARNELL 9238336 50 1 2.17 Res 56R 0603 1% 0603 Q2 BC847 BC847 PHILIPS FARNELL 1081230 10 1 1.4 BC847 SOT23 Q3 BCP54 BCP54-10 PHILIPS FARNELL 8734828 1 1 0.63 BCP54 SOT223 Q1 SI2301BDS SI2301BDS VISHAY FARNELL 8156670 5 1 2.7 SI2301BDS 0603 0603 SOT23-GSD ATAVRAUTO102 User Guide 6-14 7720A–AVR–06/07 Altium Limited Confidential 27/03/2007 Page 1 D C B A 1 GND SCK_U NRES_U MISO_U MOSI_U NRES_LIN 22R R4 22R R3 4 1µF C5 2 4 6 8 10 ICE&ISP Header 1 3 5 7 9 ICE&ISP_U VCC5V TCK_U TMS_U TDO_U TDI_U 2 VCC5V UID VBUS R9 100K VCC5V NRES_U PESD5V0S2BT D3 5 NISP_U 3 2 1 USB MiniAB CTRL1 VBUS UID SS_U SCK_U MOSI_U MISO_U USB_DM USB_DP GND UVCon USB_DM USB_DP C20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 100nF VCC5V 3 100nF C6 INT6/AIN0/PE6 INT7/AIN1/UVcon/PE7 UVcc DD+ UGnd UCap VBus IUID/PE3 SS/PCINT0/PB0 PCINT1/SCK/PB1 PDI/PCINT2/MOSI/PB2 PDO/PCINT3/MISO/PB3 PCINT4/OC2A/PB4 PCINT5/OC1A/PB5 PCINT6/PC1B/PB6 100nF C4 VCC5V MBR0540 D2 MBR0540 D1 VCC5V_LIN GND USB CTRL0 6 3 DF_nCS NRES_U C2 10µF VCC5V VCC5V 100nF C3 IN INH 4 GND OUT 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 U2 AT90USB1287 KF33BD 8 5 U1 AD3/PA3 AD4/PA4 AD5/PA5 AD6/PA6 AD7/PA7 ALE/HWB/PE2 A15/IC3/CLK0/PC7 A14/OC3A/PC6 A13/OC3B/PC5 A12/OC3C/PC4 A11/T3/PC3 A10/PC2 A9/PC1 A8/PC0 RD/PE1 WR/PE0 4 2 2 GND NRES_U TCK_U TMS_U TDO_U TDI_U GND 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 AVCC GND AREF ADC0/PF0 ADC1/PF1 ADC2/PF2 ADC3/PF3 ADC4/TCK/PF4 ADC5/TMS/PF5 ADC6/TDO/PF6 ADC7/TDI/PF7 GND VCC AD0/PA0 AD1/PA1 AD2/PA2 PCINT7/PC0A/OC1C/PB7 INT4/TOSC1/PE4 INT5/TOSC2/PE5 RESET VCC GND XTAL2 XTAL1 OC0B/SCL/INT0/PD0 OC2B/SDA/INT1/PD1 RxD1/INT2/PD2 TxD1/INT3/PD3 ICP1/PD4 XCK1/PD5 T1/PD6 T0/PD7 CLK_USB REQ0 REQ1 1 LED_Y BOOT_U C1 10µF VCC3.3 5 5 BOOT_U R7 100K VCC5V R6 100K VCC5V MISO_U MOSI_U SCK_U NRES_U DF_nCS UVCon VCC5V 1 2 3 4 SO GND VCC WP 4 IN OE 2 1 6 VCC3.3 DF_nCS DF_OUT VBUS R8 100K VCC3.3 7 Drawn by: Ph MALECHA Revision: 1.0 La Chantrerie Route de Gachet BP 70602 44306 Nantes Cedex 3 Automotive Business Development 8 7 8 Sheet 1 of 2 Date: 08/11/2006 Time: 19:04:38 File: C:\DATA\Automotive Business Dev\Board Development\Training KIT\USB CAN&LIN\USB CAN&LIN 1.SchDoc Size: A3 Board: USB to CAN and LIN - ATAVRAUTO102 Project: CAN & LIN Training KIT MC74VHC1GT125 OUT U4 64Mbit Dataflash 8 7 6 5 D-USB R5 330R BC847 Q2 SI2301BDS Q1 VCC5V AT45DB642D SI SCK RST CS U3 LED_Y 100K R2 R1 10K 6 LED CMS Yellow ATAVRAUTO102 User Guide 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 D C B A Complete schematics 6-15 7720A–AVR–06/07 D C NRES_LIN 1 NISP_C MOSI_U MISO_U GND SCK_U NRES_C PDO PDI 2 4 6 8 10 ICE&ISP Header 1 3 5 7 9 ICE&ISP_C C14 100nF R22 100K VCC5V CTRL1 VCC5V NRES_C MISO MOSI PTRIG SS_U SCK_U MOSI_C MISO_C PDI PDO 2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 VCC5V C9 100nF VCC5V TCK_C TMS_C TDO_C TDI_C C15 15pF 16MHz Y1 NC PE0/RxD0/PDI PE1/TxD0/PDO PE2/XCK0/AIN0 PE3/OC3A/AIN1 PE4/OC3B/INT4 PE5/OC3C/INT5 PE6/T3/INT6 PE7/IC3/INT7 PB0/SS PB1/SCK PB2/MOSI PB3/MISO PB4/OC2A PB5/OC1A PB6/OC1B C8 100nF CTRL0 B NRES_C TCK_C TMS_C TDO_C TDI_C VBAT_MEAS 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 PA3/AD3 PA4/AD4 PA5/AD5 PA6/AD6 PA7/AD7 PG2/ALE PC7/A15/CLKO PC6/A14 PC5/A13 PC4/A12 PC3/A11 PC2/A10 PC1/A9 PC0/A8 PG1/RD PG0/WR AVCC GND AREF PF0/ADC0 PF1/ADC1 PF2/ADC2 PF3/ADC3 PF4/ADC4/TCK PF5/ADC5/TMS PF6/ADC6/TDO PF7/ADC7/TDI GND VCC PA0/AD0 PA1/AD1 PA2/AD2 PB7/OC0A/OC1C PG3/TOSC2 PG4/TOSC1 RESET VCC GND XTAL2 XTAL1 PD0/SCL/INT0 PD1/SDA/INT1 PD2/RxD1/INT2 PD3/TxD1/INT3 PD4/IC1 PD5/XCK1/TxCAN PD6/T1/RxCAN PD7/T0 C16 15pF 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 REQ0 REQ1 LIN_RXD1 LIN_TXD1 LIN_RXD1 CAN_TXD CAN_RXD CAN_SLEEP 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 4 D_CAN R21 330R VCC5V LIN_SLP1 LIN_SLP0 CLK_USB LED_B LEDG1 LEDG0 BOOT_C U6 AT90CAN128 C7 100nF BZX84-C5V1 D4 BOOT_C NWAKE0 NWAKE1 R25 10K VBAT_D D-LIN1 R15 330R VCC5V NWAKE0 R18 10K R17 10K VCC5V D-LIN0 R14 330R VCC5V R11 47K R10 120K LED CMS Green VCC5V LED CMS Blue VBAT_D LEDG0 A LED_B 4 LED CMS Green 5 1 2 3 4 5 C11 100nF ATA6660 TXD GND VCC RXD U5 BCP54 Q3 1 2 3 4 6 1 2 3 4 ATA6661 RXD INH NSLP BAT NWAKE LIN TXD GND 6 8 7 6 5 LIN1 is only Slave U8 8 7 6 5 C18 220pF R12 56R R13 56R CANH CANL C17 220pF LIN1 Drawn by: Ph MALECHA Revision: 1.0 D7 MBR0540 Automotive Business Development LIN1 3 2 1 LIN0 3 2 1 La Chantrerie Route de Gachet BP 70602 44306 Nantes Cedex 3 VBAT1 2 1 CAN 8 7 8 Date: 08/11/2006 Sheet 2 of 2 Time: 19:05:33 File: C:\DATA\Automotive Business Dev\Board Development\Training KIT\USB CAN&LIN\USB CAN&LIN 2.SchDoc Size: A3 VBAT D6 MBR0540 VBAT_D LIN0 R20 1K D5 VBAT_D C12 100pF 7 Board: USB to CAN and LIN - ATAVRAUTO102 R19 10K VCC5V TERM2 R23 51K C19 100nF R24 22R VBAT_D Watchdog Disable D_WD Project: CAN & LIN Training KIT 15 14 13 12 11 VBAT_D R16 1K U7 ATA6621 VCC5V_LIN RS CANH CANL VREF LIN_EN MODE PTRIG LIN Transceiver TM NTRIG VREG WD_OSC WAKE WATHCDOG NRES GND LINTxD 4.7µF/6.3V C13 C10 15pF VCC5V LIN_TXD0 LIN_RXD0 LIN_RXD1 LIN_SLP1 NWAKE1 LIN_TXD1 PDO PDI NRES_LIN LIN_SLP0 PTRIG CAN_SLEEP CAN_RXD CAN_TXD 5 TERM1 3 LEDG1 20 19 18 17 16 VS VCC PVCC TEMP GND NC LIN NC LINRxD NC 6 7 8 9 10 2 MAST ATAVRAUTO102 User Guide MBR0540 1 D C B A Complete schematics 6-16 7720A–AVR–06/07 Complete schematics ATAVRAUTO102 User Guide 6-17 7720A–AVR–06/07 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 Atmel Operations Memory 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 436-4314 RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany Tel: (49) 71-31-67-0 Fax: (49) 71-31-67-2340 Microcontrollers 2325 Orchard Parkway San Jose, CA 95131, USA 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 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA 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 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, USA 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 Literature Requests www.atmel.com/literature 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 SALE 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 OF 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 document and reserves the right to make changes to specifications and product 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. © 2007 Atmel Corporation. All rights reserved. Atmel ®, logo and combinations thereof, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. Printed on recycled paper. 7720A–AVR–06/07 /xM