AVR2042: REB Controller Base Board Hardware User Manual 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 • 2Mb 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 operation
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. 3 Overview The Atmel REB-CBB is designed to interface directly to a radio extender board.
AVR2042 Figure 3-1. Atmel REB-CBB connected to an Atmel REB231ED with an RS232 cable plugged in and an Atmel JTAGICE mkII programming interface. 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.
Table 4-1. REB-CBB mechanical dimensions. Dimension Value Width x 57mm Width y 60mm PCB standoff height 5mm Height without REB 18mm Height with REB231ED plugged in 70mm 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.
AVR2042 5.2 Microcontroller The Atmel XMEGA A3 is a family of low-power, high–performance, and peripheralrich CMOS 8/16-bit microcontrollers based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the Atmel XMEGA A3 achieves throughputs of up to 1 million instructions per second (MIPS) per MHz, allowing the system designer to optimize power consumption versus processing speed. A detailed description of the Atmel ATxmega256A3 can be found in the datasheet [2].
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.
AVR2042 Figure 5-4. User I/Os. 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 2MB serial flash device (Atmel AT25DF021) for persistent data storage.
AVR2042 Table 5-10. AT25DF021 ordering information. Ordering Code Flash Maximum freq. Power supply Package Temperature AT25DF021-SSHF-B 256KB + 8KB 50MHz 2.3V – 3.6V 8S1 SOP-8 -40°C – 85°C 5.6 UART The serial asynchronous interface, USARTD0, of the Atmel ATxmega256A3 is connected to header USARTD0. Additionally, the MCU reset line is connected to pin 5 of the header. This can be used to work with a serial boot loader.
To select between one of the protocols, the jumper DBGSEL has to be set to the appropriate position. It routes test data input (signal TDI) to either TDI of the JTAG interface or PDI of Atmel’s proprietary PDI interface. Figure 6-2. Debug interface. 1 3 5 DBG 6 9 DBGSEL Note: RST PDI PDI TDI TMS TDO TCK JTAG Atmel JTAGICE mkII units with hardware revision 0 do not have PDI capabilities. Table 6-1. Connection of header DBG.
AVR2042 7.2 Recommended operating range Table 7-2. Recommended operating range. No. Parameter 7.2.1 Temperature range 7.2.2 7.2.3 Supply voltage (Vcc) 7.2.4 Condition Minimum Typical -10 Maximum Units +60 °C Plain REB-CBB 1.6 3.0 3.6 V REB plugged on REB-CBB 1.8 3.0 3.6 V Serial flash access in usage 2.3 3.0 3.6 V 7.3 Current consumption Test conditions (unless otherwise stated): VDD = 3.
8 Abbreviations 12 CBB - Controller base board DFLL - Digital frequency-locked loop JTAG - Joint Test Action Group PDI - Program/debug interface REB - Radio extender board RTC - Real time counter SPI - Serial peripheral interface USART - Universal synchronous/asynchronous receiver/transmitter XOSC - Crystal oscillator AVR2042 8334A-AVR-11/10
AVR2042 Appendix A - PCB design data A.
A.2 Assembly drawing Figure 8-1. Assembly top. Figure 8-2. Assembly bottom.
AVR2042 A.3 Bill of materials Designator Description Value Manufacturer Part Number BT1 Battery holder 2 x AAA C2 Capacitor 10nF C3, C4 Capacitor 22pF 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).
AVR2042 References [1] Atmel ATxmega256A3; High-performance, Low-power 8/16-bit AVR XMEGA Microcontroller; Datasheet; Rev. 8068P – 02/10; Atmel Corporation [2] Atmel AT25DF021; 2-Megabit 2.3-volt or 2.7-volt Minimum SPI Serial Flash Memory; Datasheet; Revision D – April 2009; Atmel Corporation [3] IEEE Std 802.15.
9 Table of Contents Features ............................................................................................... 1 1 Introduction ...................................................................................... 1 2 Disclaimer......................................................................................... 2 3 Overview ........................................................................................... 2 4 Mechanical description ...............................................
Disclaimer 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.