Краткое содержание страницы № 1
ATAVRAUTO200
..............................................................................................
User Guide
Краткое содержание страницы № 2
Table of Contents Section 1 Introduction ........................................................................................... 1-1 1.1 Overview ...................................................................................................1-1 Section 2 Using the ATAVRAUTO200.................................................................. 2-3 2.1 Overview ...................................................................................................2-3 2.2 Power Supply............
Краткое содержание страницы № 3
Section 1 Introduction Congratulations on your purchase of the ATAVRAUTO200 board. This board includes all elements necessary for designers to quickly develop code related to LIN communica- tion node implementing the ATmega88 and for prototyping and testing of new designs. 1.1 Overview This document describes the ATAVRAUTO200 dedicated to the ATmega88 AVR micro controllers. This board is designed to allow an easy evaluation of the product using demonstration firmware. To increase its demonstrat
Краткое содержание страницы № 4
Introduction 1.2 ATAVRAUTO200 The ATAVRAUTO200 provides the following features: features ATmega88 QFN32 ® (1) AVR Studio software interface , Power supply – Regulated 5V – From LIN connector (LIN network power supply) JTAG connector: – for on-chip In Situ Programming (ISP) – for on-chip debugging using JTAG ICE DC Motor connector – DC Motor power supply output – Hall effect sensor(s) power supply and input(s) Serial interface: – 1 LIN interface 1.3 and 2.0 compliant (firmware librar
Краткое содержание страницы № 5
Section 2 Using the ATAVRAUTO200 2.1 Overview Figure 2-1. Board Overview U1 U1 U1 U1 D1 D1 D1 D1 D1 D1 D1 D1 D1 LIN LI LI LI LIN LIN Transceiver C3 C3 C3 C3 C2 C2 C2 C2 C2 C2 C2 Regulator NI NI NISP P P P Connector V1.0 F1 F1 F1 PM-06 C1 K1 MOT R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R14 4 4 4 4 4 4 4 4 R1 R17 7 7 C4 C4 C4 C4 C4 C4 D2 D2 D2 D2 NR NR NR NR NR NR NR NR NR NRE E E ES S S S S S S S S S S S Motor Motor Relay U2 U2 U2 U2 U2 U2 Connector C9 C9 C9 ATmega88 C7 C7 C7 C7 C7 C7 C7 C7 C7 C7 C
Краткое содержание страницы № 6
Using the ATAVRAUTO200 2.2 Power Supply The on-board power supply circuitry is supplied through the LIN connector. 2.2.1 LIN powered The LIN connector power line is used to provide VBAT to the ATAVRAUTO200 LIN transceiver. A LIN network has to be connected to have your LIN interface function (Input supply from 8 up to 18V DC, see Figure 2-3 on page 5) . 2.3 Oscillator Sources The ATAVRAUTO200 board allows only one oscillator source: Internal RC oscillator (Default configuration). Note: The “D
Краткое содержание страницы № 7
Using the ATAVRAUTO200 Table 2-1. LIN ressources Function Port State Description LIN_NSLP PD2 Low LIN transceiver in Sleep mode High LIN transceiver in normal mode NRES_LIN PC6 Low Perform MCU reset when NISP Jumper is inserted High No Action Figure 2-3. LIN transceiver and power supply Note: The LIN transceiver undervoltage protection can be disabled by removing the NISP jumper. Note: The NISP jumper has to be removed when programming. 2.4.2 Power supply measurement The voltage measurement i
Краткое содержание страницы № 8
Using the ATAVRAUTO200 Figure 2-4. Power supply measurement through ADC1 2.4.3 Motor relay DC Motor can be operated through a relay. It is supplied with Vbat, -Vbat or 0V. The relay allows the motor to be operated in two rotating directions, or to be stopped. Table 2-2. Motor Relay commands Function Port State Description Mot_A PB1 Low/ Relay coil1 OFF (Normaly closed switch activated) High Relay coil1 ON (Normaly opened switch activated) Mot_B PB2 Low Relay coil2 OFF (Normaly closed switch
Краткое содержание страницы № 9
Using the ATAVRAUTO200 2.4.4 Current measurement Motor current is measured using a shunt resistor. External differential amplifier (on board) is connected to ADC to measure shunt resistor voltage. Amplifer output (current image voltage) is connected to ADC0 pin for current acquisition AIN1 pin to detect max current peak (compared to AIN0 through internal analog comparator) The current measurement (I) can be performed using the A/D converter. See the ATmega48/88/168 datasheet for how to use
Краткое содержание страницы № 10
Using the ATAVRAUTO200 2.4.6 LED The ATAVRAUTO200 includes one green LED implemented on one I/O pin. It is con- nected to the “PortD Pin3” of the ATmega48/88/168. To light On the LED, the corresponding port pin must drive a low level. To light Off the LED, the corresponding port pin must drive a high level. Figure 2-8. LED schematic 2.4.7 BOOT An additional jumper (BOOT) has been added. This jumper is available for custom use. For example : the BOOT jumper can be used to switch from the applica
Краткое содержание страницы № 11
Using the ATAVRAUTO200 2.5.1 Using the ATAVRAUTO900 Adaptator An additionnal adaptator has to be used to program the board using IPS 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 adaptator) has to be in front of the point (on the board). Figure 2-10. ATAVRAUTO900 Connection JTAGICE ISP The arrow has to be in front of the point Table 2-4. ICE Conn
Краткое содержание страницы № 12
Using the ATAVRAUTO200 2.5.2 Programming with AVR ISP Programmer The AVR ISP programmer is a compact and easy-to-use In-System Programming tool for developing applications with ATmega88. Due to its small size, it is also an excellent tool for field upgrades of existing applications. It is powered by the ATAVRAUTO200 and an additional power supply is thus not required. The AVR ISP programming interface is integrated in AVR Studio. To program the device using AVR ISP programmer, connect the AVR I
Краткое содержание страницы № 13
Using the ATAVRAUTO200 2.6 Debugging 2.6.1 Debugging with AVR JTAGICEmkII The ATAVRAUTO200 can be used for debugging with JTAG ICE MK II. Connect the JTAG ICE mkII as shown in Figure 2-12 for debugging, please refer to AVR Studio Help information. ATAVRAUTO200 User Guide 2-11 7698A–AUTO–01/07
Краткое содержание страницы № 14
-12 ATAVRAUTO200 User Guide 7698A–AUTO–01/07
Краткое содержание страницы № 15
Section 3 Technical Specifications System Unit – Physical Dimensions...............................................L=45 x W=45 x H=8 mm – Weight ........................................................................................................25 g Operating Conditions – Internal Voltage Supply ..... ...................................................................... 5.0V – External Voltage Supply .....................................................................7V -18V ATAVRAUTO2
Краткое содержание страницы № 16
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
Краткое содержание страницы № 17
Section 5 Complete Schematics On the next pages, the following documents of ATAVRAUTO200 are shown: Complete schematics, Bill of materials, Assembly drawing. ATAVRAUTO200 User Guide 5-15 7698A–AUTO–01/07
Краткое содержание страницы № 18
Complete Schematics Figure 5-1. ATAVRAUTO200 schematic 5-16 ATAVRAUTO200 User Guide 7698A–AUTO–01/07
Краткое содержание страницы № 19
Complete Schematics Figure 5-2. ATAVRAUTO200 Bill of Materials ATAVRAUTO200 User Guide 5-17 7698A–AUTO–01/07
Краткое содержание страницы № 20
Complete Schematics Figure 5-3. ATAVRAUTO200 assembly drawing U1 D1 LIN C3 C2 NISP V1.0 F1 PM-06 C1 K1 MOT R14 R17 C4 D2 NRES C10 U2 C9 C7 R21 Q1 Q2 HALL ICE&ISP R19 R22 C8R8R7 R12 R13 C11 R10 C5R6 R4 DG U3 R3 LIN Motor by Mega88 5-18 ATAVRAUTO200 User Guide 7698A–AUTO–01/07 ATAVRAUTO200 R9 F2 C6 R1 R2 R18 R5 R16 BOOT R20 C12 R23 C13 R15