Atmel ATA5830N User Manual
Atmel ATA5830N User Manual

Atmel ATA5830N User Manual

2-way 3-channel demo

Advertisement

Quick Links

User Guide for ATA5830N 2-way 3-channel Demo
Features
Complete Bi-directional RF System Reference Design Based on the Atmel ATA5830N
Transceiver that uses a Multi-channel Protocol for Robust Operation
Included in the Kit are:
– Handheld Key Fob Reference Design using PCB Loop Trace Antenna
– Vehicle Side Reference Design using Monopole Whip Antenna
– Interface Board for STK600 Connectivity (STK600 not Included)
Reference Documents
ATA5830N.pdf
Sigma_STK600EEPROM_Setting_RXTX_demo.xls
testEEPROM_Setting_RXTX_default.xls
1. Overview
®
The Atmel
ATA5830N is highly integrated UHF ASK/FSK transceiver with low power
consumption available in a small 5x5mm
developed as a fully integrated low IF double quadrature receiver with an embedded
®
AVR
microcontroller including the transmit functionality with a closed loop frac-
tional-N modulator with Gauss-shaping and pre-emphasis for high data rates.
The Atmel ATA5830N can be setup for the following frequency bands:
• 310MHZ to 318MHz
• 418MHZ to 477MHz
• 836MHz to 928MHz
The transceiver combines the functionality of Remote Keyless Entry (RKE) and Tire
Pressure Monitoring (TPM) applications in one chip under the control of an embedded
AVR microcontroller. The flexibility of this device allows the programming of a wide
range of RKE applications, like Passive Entry Go (PEG) and Remote Start (RS)
together with the TPM applications.
The Atmel ATAK51002 evaluation kit provides a complete reference design for a
bi-directional RF system based upon the Atmel ATA5830N. It provides standalone
operation of two Atmel ATA5830N transceivers, one hand-held key fob and one con-
nected to the Vehicle Host Controller. Unencrypted data is exchanged between the
two transceivers and is output via an RS232 connection to a PC. The raw data can be
viewed with a hyper-terminal application. The kit setup and configuration are
described in the following sections. Further information is available in the reference
documentation.
Atmel ATAN0007
2
QFN32 package with 0.5mm pitch. It is
Atmel
ATAN0007
Application Note
9252A–RKE–10/11

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ATA5830N and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Atmel ATA5830N

  • Page 1 The Atmel ATAK51002 evaluation kit provides a complete reference design for a bi-directional RF system based upon the Atmel ATA5830N. It provides standalone operation of two Atmel ATA5830N transceivers, one hand-held key fob and one con- nected to the Vehicle Host Controller. Unencrypted data is exchanged between the two transceivers and is output via an RS232 connection to a PC.
  • Page 2: Getting Started

    • (3) 10-wire cables for I/O port connections between STK600 and System Interface Board • Atmel CD-ROM with datasheets, reference designs, and software Note: A Atmel STK600 is required, but not included in this kit. Please contact www.atmel.com or you local Atmel Sales office for more info on obtaining one. Figure 2-1.
  • Page 3 2.1.2 CARS Interface Board The CARS (Car Access Reference System) Interface Board is the gateway between the Atmel STK600 Vehicle Host Controller and the Atmel ATA5830N Transceiver Board. Additional inter- face headers are included for future kit expansion to include immobilizer and passive entry functionality.
  • Page 4 2.1.4 Atmel ATA5830N Key Fob The Atmel ATA5830N key fob is a hand-held transceiver used to communicate with the Atmel STK600 Vehicle Host Controller. The key fob contains four buttons, each capable of transmit- ting unique data over the RF link to the Host Controller.
  • Page 5: Connecting The Hardware

    Complete the set-up by connecting supplemental 12VDC power from the wall transformer to the mating receptacle on the Atmel STK600 and connect the USB and RS232 ports to the PC with the supplied cables. Also install a CR2032 Li-ion coin cell battery (not included with the kit due to governmental shipping regulations) into the hand-held key fob.
  • Page 6: Device Programming

    EEPROM, fuses, lock bits and calibration bytes. The ISP frequency (SCK) must be less than 1/4 of the target clock. The ISP frequency is set by the Atmel STK600 programming dia- log in AVR Studio. Refer to the Atmel STK600 User Guide for additional information.
  • Page 7 CD-ROM supplied with the CARS kit. Be sure to set the target voltage for 5.0V when pro- gramming the Atmel ATmega2560. Refer to Figure 2-9 for a screen shot of the properly completed ISP programming menu along with a view of proper fuse settings. Figure 2-9. ISP Programming and Fuse Menus for the Atmel ATmega2560 9252A–RKE–10/11...
  • Page 8 6-wire ISP cable between the Atmel STK600 ISP program- ming header and the ISP header on the Atmel ATA5830N key fob. Connect to the key fob through the AVR Studio4 using the Atmel STK600 and configure the device from the “Main”...
  • Page 9 Download and install a Hyper-terminal application for communication between the PC and the Atmel STK600 Vehicle Host Controller using the RS232 interface. Any Hyper-terminal applica- tion like HyperTerminal, HTerm or RealTerm are suitable for use with the Atmel ATAK51002 evaluation kit.
  • Page 10: Running The Demo Application

    Controller then responds to the transmission from the key fob in the form of an ACK (acknowl- edge). The key fob application is configured as a Flash application for the Atmel ATA5830N using the internal ROM firmware and controls the four key switches and the LED located on the key fob.
  • Page 11 #1 is LED4. With each incoming data transmission from the key fob, the LEDs will be updated. The LEDs will remain illuminated for approximately 2 seconds before return- ing to the default “off” state. Figure 3-2. Atmel STK600 Status LEDs 9252A–RKE–10/11...
  • Page 12: Atmel Ata5830N Data Telegram Overview

    4. Atmel ATA5830N Data Telegram Overview Transmission Protocol This demo uses a bi-directional communication protocol with a message part and an acknowl- edge part (ACK). Figure 4-1 shows the data transmission using three different RF channels indicated by three different colors. In the following sections, scenarios with and without acknowledge are described, and the data protocol details are explained.
  • Page 13 Atmel ATAN0007 4.1.2 Transmission with ACK Message In this scenario the base station is in the receiving range of the key fob with a data transmis- sion shown in Figure 4-3. The key fob is sending the data telegrams on the three channels, as described before, while the base station is in Polling Mode.
  • Page 14: Data Telegram

    To avoid the reception of invalid and unwanted data the ID scan function is used in the demo. The definition of the IDs is part of the EEPROM configuration data and the demo setup uses the following ID: ID Pattern bit [31…0] = 0x51, 0x4E, 0x87, 0xA9 Atmel ATAN0007 9252A–RKE–10/11...
  • Page 15 Atmel ATAN0007 4.2.2.2 Telegram Number The 16-bit telegram number will be incremented with every transmitted telegram packet and is defined as follows: Telegram Number bit [15…0] = 1 In this demo the number will be 1 for every key event.
  • Page 16 0x3 for channel 3 data bit[7] = 0x1 for ACK 4.3.2.2 The CRC checksum is used for the verification of the correct transmission of the telegram as described in Section 4.1 “Transmission Protocol” on page 12 for the data telegram. Atmel ATAN0007 9252A–RKE–10/11...
  • Page 17 Atmel ATAN0007 Data Transmission Timing To ensure that a data telegram is received and acknowledged the timing shown in Figure 4-4 has to be kept. The first valid data telegram which is received will be acknowledged on the same channel with a pre-defined delay according to the transmission channel sequence (see Figure 4-2 on page 12).
  • Page 18: Key Fob Application

    5. Key Fob Application ® The key fob application is a standalone Flash application inside the Atmel ATA5830. The fol- lowing sections describe the program flow and EEPROM settings. For more details refer to the application software source code included on the kit CD-ROM.
  • Page 19: Eeprom Settings

    Atmel ATAN0007 EEPROM Settings ® The configuration data for the key fob application is stored in the EEPROM of the Atmel ATA5830 device. The following settings are based on the EEPROM default setting V2.32: • Use Buffered Mode • PC1…4 must be inputs with enabled pull-up resistor •...
  • Page 20: Vehicle Host Controller Application

    RX Mode is stopped by checking the EOT flag (End of Telegram). If the EOT flag is set the receiving is stopped and the Atmel ATA5830 is set into the IDLE Mode and if EOT is still cleared the transceiver is still in the Receiving Mode, and the Host Controller has to wait for the next IRQ event.
  • Page 21 Atmel ATAN0007 Program Flow for the TX Mode Figure 6-2 on page 23 shows the interaction between the ATA5830 and the Host Controller for the TX Mode. Before starting the TX Mode or the fast TX Mode, the IRQ line has to be checked for an inter- ®...
  • Page 22 0x11, 0xXX TXB = ,0b’ TXB = ,1b’ -> RX active -> RX stopped Host Controller: User defined software Host Controller: Depending on the user software, ATA5830 State using other ATA5830 RX/ RX Polling Mode SPI commands Atmel ATAN0007 9252A–RKE–10/11...
  • Page 23 Atmel ATAN0007 Figure 6-2. Flow Diagram of the TX Mode ATA5830 State IDLE Mode Host Controller: Check IRQ line (pin 28) if interrupt event occured Host Controller: Accessing the 4 Status Bytes (containing the IRQ source) via SPI Get Event/ Read Status:...
  • Page 24 The configuration data for the base station application are initially stored in the EEPROM memory of the Host Controller and is programmed into the EEPROM of the Atmel ATA5830 device. The following settings are corresponding to the key fob settings for an ACK transmission: •...
  • Page 25 Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellec- tual 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...

Table of Contents