Advertisement

Quick Links

Features
®
Atmel
ATtiny1634 MCU
Atmel ATA663254 SBC
Touch
Three Atmel QTouch
One Atmel QTouch slider
Analog I/O
One potentiometer connected to the ADC of the Atmel ATtiny1634 MCU
Digital I/O
Six user LEDs
Various headers for direct access
Two possible power sources for the Atmel ATtiny1634 MCU
Voltage regulator of the Atmel ATA663254 SBC
External 5V header
Connectivity
LIN Bus
Kit Contents
Boards:
1x ATABtiny1634A-V1 – ATtiny1634 MCU with ATA663254 LIN SBC demonstrator
(slave board) with touch sensors
1x ATmega64M1 Xplained – LIN to USB gateway
Other accessories.
1x 12V power supply
APPLICATION NOTE
ATtiny1634-EK1 User Guide
LIN transceiver with integrated voltage regulator
®
buttons
ATAN0080
9341B-AVR-02/15

Advertisement

Table of Contents
loading

Summary of Contents for Atmel ATtiny1634-EK1

  • Page 1 ● Three Atmel QTouch buttons ● One Atmel QTouch slider ● Analog I/O ● One potentiometer connected to the ADC of the Atmel ATtiny1634 MCU ● Digital I/O ● Six user LEDs ● Various headers for direct access ● Two possible power sources for the Atmel ATtiny1634 MCU ●...
  • Page 2: Kit Overview

    ATtiny1634 MCU to different types of I/O signals. The board also provides interfaces to several capacitive touch buttons and one capacitive touch slider as well as six LEDs and a potentiometer. The Atmel ATA6632 SBC integrating the LIN transceiver along with a voltage regulator and a watchdog enables the LIN bus functionality. In addition to the variety of I/Os provided directly on the board, all MCU I/O signals are made available on the header pins to support easy connection to external I/Os.
  • Page 3: Getting Started

    This is the easiest way to supply the kit with power. When using this method, please note that power for the entire board is ® supplied by the Atmel ATA663254 LIN SBC and is therefore limited to a maximum of 85mA. The following steps ensure correct functionality: Mount the J2, J3, and J11 jumpers.
  • Page 4 2.1.3 Connecting the USB-to-LIN Bridge The ATmega64M1 Xplained board is used to bridge all LIN messages to USB and vice versa. It can be used with the supplied GUI as well to monitor the status of the touch buttons, potentiometer and to control the LEDs. The LIN, LIN_VS (supply voltage), and GND lines between the ATmega64M1 Xplained and the ATABtiny1634-V1 have to be connected using the J5 header on the ATABtiny1634 and the corresponding header on the ATmega64 Xplained.
  • Page 5: Design Documentation And Related Links

    VS_LIN, LIN, and GND must be connected to the corresponding signals on the ATABtiny1634-V1. Design Documentation and Related Links The following list contains links to the most relevant documents and software for the ATtiny1634-EK1. ATtiny1634-EK1 Design Documentation – package containing schematics, BOM, assembly drawings, 3D plots, layer plots, software, etc.
  • Page 6 J3 (1x2) connects the VCC_IO power pin to the VCC_VREG voltage regulator output. Please note that the VREG output of the Atmel ATA663254 is limited to 85mA. VCC_IO is the supply voltage for the LEDs, the potentiometer and is available on several headers.
  • Page 7 Table 3-3. J5 Header (IO) Description LIN_VS VCC_CPU VCC_IO VCC_VREG Table 3-4. J6 Header (LEDs) Description PORTC2 LED0 cathode PORTA1 LED1 cathode PORTC4 LED2 cathode PORTC5 LED3 cathode PORTC0 LED4 cathode PORTC1 LED5 cathode Table 3-5. J7 Header (ISP) Description MISO VCC_IO MOSI...
  • Page 8 Table 3-7. J9 Header Description J15 pin 2 R5 (touch channel 2 K), C6 (touch channel 2S) J15 Pin 6 R4 (touch channel 1 K), C7 (touch channel 1 S) J15 pin 10 R3 (touch channel 0 K), C8 (touch channel 0 S) Table 3-8.
  • Page 9 Potentiometer A potentiometer can be connected to an Atmel ATtiny1634 MCU port pin to evaluate the ADC. The potentiometer is connected to VCC_IO and GND, resulting in the full ADC range being used when AREF=VCC_IO is used. Jumper J14 has to be mounted to use the potentiometer.
  • Page 10 The D2-D4 LEDs display the status of the Atmel QTouch slider. If the QTouch buttons are to be displayed, the source code has to be recompiled to use the buttons in stand-alone mode as described in Section 4.1.1 and jumper J15 must be configured to interface with the QTouch buttons as described in Section 4.1 “QTouch Sensors”...
  • Page 11 Connect the jumper at J11 to enable the voltage supply socket on X2 from the wall adapter. ● Connect J2 (VCC_CPU) and J3 (VCC_IO) to enable VREG output voltage as the voltage source for the IO and the Atmel ATtiny1634 CPU. ● Connect jumpers at J9 (pins 1-2, 5-6, 9-10; use three 1x2 jumpers).
  • Page 12 Figure 5-1. Correctly Interconnected PCBs Open the Atmel ATA1634-EK interface GUI by executing ATA1634_GUI.exe supplied in the kit download package. Once the main window opens, the QTouch sensor configuration can be selected in the board setup section (select “Buttons” if J15 is configured to sense the QTouch buttons or select “Slider” if J15 is configured to support the...
  • Page 13 Figure 5-2. Atmel ATA1634-EK Interface Main Window Note: When the USB is properly connected, the “USB Connected” message appears at the bottom of the GUI win- dow as shown in Figure 5-2. The incrementing frame count is also shown, indicating proper data communication between the LIN nodes.
  • Page 14 Figure 5-3. Status Window Once the GUI window is opened and the USB cable is connected, the USB LED begins to flash by oscillating green/red and the LED0 begins to alternate ON and OFF on the PCB of the ATmega64M1 Xplained. The green/red flashing of the USB LED indicates that the USB connection with the host GUI is correct.
  • Page 15: Installation

    Status frame reception counter: Counts each time a status frame is received from the ATABtiny1634A board; a continuously increasing count indicates complete connectivity from the GUI through the ATmega64M1 Xplained LIN-USB gateway to the Atmel ATtiny1634 MCU on the ATABtiny1634 board and back. ATAN0080 [APPLICATION NOTE] 9341B–AVR–02/15...
  • Page 16 Figure 6-2. Screen 2 Application Connection to ATABtiny1634A Board Established Buttons/slider configuration: Configures the ATABtiny1634A board for operation with either (3x) QTouch buttons or (1x) QTouch slider or operating without the QTouch buttons or slider. For proper operation, the board jumpers must be set according to the configuration selected.
  • Page 17 Figure 6-3. Screen 3 LIN Bus Analyzer Tool Launch from the application tools menu → LIN bus analyzer The display logs LIN message traffic (most recent messages at the top of the display). Type field - From the perspective of the GUI acting as a master - P = Publish (GUI sent PID and data) S = Subscribe (GUI sent PID, slave responded with...
  • Page 18 Figure 6-4. Screen 4 Send LIN Message Tool Launch from the application tools menu → Send LIN message Field for entering the message length, PID and data. All fields are hexadecimal values. Use this to select if the message should be sent period- ically (repeatedly) or once only (single-shot).
  • Page 19 Figure 6-5. Screen 5 Status Tool Launch from the application tools menu → Connec- tion status Displays USB connection status, connection time (approximately in seconds), and various counters. Clear: Press to clear the counters. ATAN0080 [APPLICATION NOTE] 9341B–AVR–02/15...
  • Page 20 ® The board must be prepared as described below to use the QTouch debug tools supplied with Atmel Studio. To prepare the kit for this mode, the ATABtiny1634A-V1 board must be set up as described in Section 2.1.1 “Kit Power...
  • Page 21: Revision History

    Software Programming and Debugging Standard debugging and programming tools can be connected to the ATABtiny1634A board using the J7 6-pin ISP header. To establish a connection to a programmer, the autobaud jumper J12 and the jumper on J6 connecting LED5 must be removed.
  • Page 22 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 THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, 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.
  • Page 23 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Microchip ATA1634-EK1...

Table of Contents