Atmel AVR2042: REB Controller Base Board Hardware User Guide Features • High-performance, low-power Atmel® 8/16-bit AVR® XMEGA® microcontroller ATxmega256A3 - 256KB in-system, self-programmable flash - 8KB boot code section with independent lock bits - 16KB internal SRAM - 4KB EEPROM • 4Mb serial flash for support of over-the-air (OTA) upgrades • Programming interface • Fully functional wireless node in combination with the Atmel Radio Extender Board (REB) • Powered by two AAA batteries for stand-alone oper
Disclaimer Typical values contained in this application note are based on simulations and on testing of individual examples. Any information about third-party materials or parts is included in this document for convenience. The vendor may have changed the information that has been published. Check the individual vendor information for the latest changes.
Atmel AVR2042 3 Overview The Atmel REB-CBB is designed to interface directly to a radio extender board. The combination of the two boards form a battery powered, fully functional, portable wireless node. The setup provides an ideal platform to: • Evaluate the outstanding performance of the Atmel radio transceivers • Test the unique radio IEEE® 802.15.
Figure 3-1. Atmel REB-CBB connected to an Atmel REB231ED with an RS232 cable plugged in and an Atmel JTAGICE mkII programming interface.
Atmel AVR2042 4 Mechanical description The REB-CBB is manufactured using a two-layer printed circuit board (PCB). All active components are mounted on the bottom side, and all connectors and user I/Os are located on the top side using through-hole components. The radio extender board is plugged into the 2 x 20 female header, Expand1, vertically. 5mm 5mm 18mm 60mm 70mm Figure 4-1. Mechanical outline. 57mm Table 4-1. REB-CBB mechanical dimensions.
5 Functional description The Atmel REB-CBB carries a high-performance Atmel AVR XMEGA microcontroller, which connects to the radio extender board and various peripheral units (see Figure 5-1). It is powered by two AAA batteries or optionally by applying an external voltage source. Figure 5-1. REB-CBB block diagram. 5.1 Power supply The board is powered by two AAA batteries. The power switch, SW1, disconnects batteries from the entire board. External power is not routed through the power switch.
Atmel AVR2042 speed. A detailed description of the Atmel ATxmega256A3 can be found in the datasheet [1]. Table 5-1. ATxmega256A3 ordering information. Ordering code Flash EEPROM SRAM Speed (MHz) Power supply Package Temperature ATxmega256A3-AU 256KB + 8KB 4KB 16KB 32 1.6V – 3.6V 64A TQFP-64 -40°C – 85°C 5.3 Clock sources The XMEGA has a flexible clock system, supporting a large number of clock sources.
Figure 5-3. 32kHz crystal connection. Table 5-2. 32kHz crystal connection. ATxmega256A3 32kHz crystal PE6 (42) TOSC2 PE7 (43) TOSC1 5.3.2 Transceiver clock (CLKM) To make use of the transceiver clock, CLKM, an Atmel REB has to be connected to the Atmel REB-CBB and the radio transceiver has to be set up properly on the REB. The transceiver delivers a 1MHz clock frequency after power on.
Atmel AVR2042 Figure 5-4. User I/Os. PB2 PB1 PB0 PB3 The LEDs are connected to PB0..2 for active-high operation. The key will pull PB3 to GND. The key is intended to be used in combination with the internal pull-up resistor. Table 5-5. LED/Button connection. ATxmega256A3 I/O PB0 (6) D1 PB1 (7) D2 PB2 (8) D3 PB3 (9) T1 To get full accessibility to all I/O pins of the Atmel ATxmega256A3, three 8-bit ports are routed to 10-pin headers. Each header provides additional pins for VTG and GND.
Table 5-7. PORTE header connection. Header PORTE ATxmega256A3 1 PE0 (62) 2 PE1 (63) 3 PE2 (64) 4 PE3 (1) 5 PE4 (2) 6 PE5 (3) 7 8 9 GND 10 VTG Table 5-8. PORTF header connection. Header PORTF ATxmega256A3 1 PF0 (62) 2 PF1 (63) 3 PF2 (64) 4 PF3 (1) 5 PF4 (2) 6 PF5 (3) 7 PF6 (4) 8 PF7 (5) 9 GND 10 VTG 5.5 Serial flash The Atmel REB-CBB is populated with a 4MBit serial flash device (Atmel AT25DF041A) for persistent data storage.
Atmel AVR2042 Table 5-10. AT25DF041A ordering information. Ordering code Flash Maximum freq. Power supply Package Temperature AT25DF041A-SSHF-T 4MBit 50MHz 2.3V – 3.6V 8S1 SOP-8 -40°C – 85°C 5.6 UART/USART The signal lines for asynchronous serial operation, using USARTD0, of the Atmel ATxmega256A3 are connected to header USARTD0. In addition, the MCU reset line is connected to pin 5 of this header. This can be used to work with a serial boot loader.
6 Programming On the ATxmega256A3, both programming and debugging can be done through two physical interfaces. The primary interface is the program and debug interface (PDI). This is a two-pin interface using the reset pin for the clock input (PDI_CLK) and the dedicated test pin for data input and output (PDI_DATA). Programming and debugging can also be done through the four-pin JTAG interface. The JTAG interface is IEEE 1149.1 standard compliant and supports boundary scan.
Atmel AVR2042 Table 6-1. Connection of header DBG.
7 Electrical characteristics 7.1 Absolute maximum ratings Stresses beyond those listed under “Absolute maximum ratings” may cause permanent damage to the board. This is a stress rating only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of this manual are not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
Atmel AVR2042 No. Parameter Condition Minimum Typical Maximum Unit 7.3.4 Supply current MCU @ 16MHz (int. RC 32MHz), transceiver in state RX_ON 28 mA 7.3.5 Supply current MCU @ 16MHz (int. RC 32MHz), transceiver in state BUSY_TX 26 mA For current consumption measurements, please regard the Z-diode mounted on the REB. It prevents applying overvoltage stress to the radio transceiver circuit as well as protection against reverse polarity. Figure 7-1. REB overvoltage protection mechanism.
8 Abbreviations 16 CLKM - Transceiver clock DBG - Debug (interface) EMI - Electromagnetic interference JTAG - Joint Test Action Group MCU - Microcontroller Unit OTA - Over-the-air (upgrades) PDI - Program/debug interface PLL - Phase-locked loop REB - Radio extender board REB-CBB - REB controller base board RTC - Real time counter SPI - Serial peripheral interface UART - Universal asynchronous receiver/transmitter USART - Universal synchronous/asynchronous receiver/
8334A-AVR-05/11 D C B A 5252 M2,5x8 4521 M2,5 8mm Z14 8mm 8mm Z13 8mm 1 Z11 Z10 8mm Z12 5 449 36 00.250.00 29647 Z4 Z2 Z1 BT1 20365 AAAx2 1 5138 2.
A.2 Assembly drawing Figure 8-2. Assembly top. Figure 8-3. Assembly bottom.
Atmel AVR2042 A.3 Bill of materials Designator Description Value Manufacturer Part number BT1 Battery holder 2 x AAA C2 Capacitor 10nF C3, C4 Capacitor 2.2pF C5, C6, C7, C8, C9, C10, C11 Capacitor 100nF C12, C13, C14, C15 Capacitor 10µF D1, D2, D3 LED red D4 Schottky diode DBG, PORTA, PORTE, PORTF Header 5 x 2 100mil DBGSEL Header 3 x 1 100mil Expand1 Header female 20 x 2 100mil L1 Inductor PWR Header 2 x 1 100mil Q1 Quartz 32.
EVALUATION BOARD/KIT IMPORTANT NOTICE This evaluation board/kit is intended for use for FURTHER ENGINEERING, DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY. It is not a finished product and may not (yet) comply with some or any technical or legal requirements that are applicable to finished products, including, without limitation, directives regarding electromagnetic compatibility, recycling (WEEE), FCC, CE or UL (except as may be otherwise noted on the board/kit).
Atmel AVR2042 References [1] Atmel ATxmega256A3; High-performance, Low-power 8/16-bit AVR XMEGA Microcontroller; Datasheet; Rev. 8068P – 02/10; Atmel Corporation [2] Atmel AT25DF041A; 4-Megabit 2.3-volt or 2.7-volt Minimum SPI Serial Flash Memory; Datasheet; Revision D – September 2008; Atmel Corporation [3] IEEE Std 802.15.
Table of contents Features ............................................................................................... 1 1 Introduction ...................................................................................... 1 2 Disclaimer ......................................................................................... 2 3 Overview ........................................................................................... 3 4 Mechanical description ................................................
Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: (+1)(408) 441-0311 Fax: (+1)(408) 487-2600 www.atmel.com Atmel Asia Limited Unit 01-5 & 16, 19F BEA Tower, Milennium City 5 418 Kwun Tong Road Kwun Tong, Kowloon HONG KONG Tel: (+852) 2245-6100 Fax: (+852) 2722-1369 Atmel Munich GmbH Business Campus Parkring 4 D-85748 Garching b. Munich GERMANY Tel: (+49) 89-31970-0 Fax: (+49) 89-3194621 Atmel Japan 9F, Tonetsu Shinkawa Bldg.