USER GUIDE Atmel SAM4E Xplained Pro Preface ® The Atmel SAM4E Xplained Pro evaluation kit is a hardware platform to evaluate the ATSAM4E16E microcontroller. Supported by the Atmel Studio integrated development platform, the kit provides easy access to the features of the Atmel ATSAM4E16E and explains how to integrate the device in a custom design. The Xplained Pro MCU series evaluation kits include an on-board Embedded Debugger, and no external tools are necessary to program or debug the ATSAM4E16E.
Table of Contents Preface .......................................................................................... 1 1. Introduction .............................................................................. 3 1.1. 1.2. Features .............................................................................. 3 Kit Overview ......................................................................... 3 2. Getting Started ........................................................................ 5 2.1. 2.2.
1. Introduction 1.1 Features ● Atmel ATSAM4E16E microcontroller ● Embedded debugger (EDBG) ● 1.
Figure 1-1.
2. Getting Started 2.1 Quick-start 3 Steps to start exploring the Atmel Xplained Pro Platform 2.2 1 ● Download and install Atmel Studio ● Launch Atmel Studio ● Connect a Micro-B cable to the DEBUG USB port Connecting the Kit When connecting Atmel SAM4E Xplained Pro to your computer for the first time, the operating system will do a ® ® driver software installation. The driver file supports both 32-bit and 64-bit versions of Microsoft Windows XP and Windows 7.
3. Xplained Pro Xplained Pro is an evaluation platform that provides the full Atmel microcontroller experience. The platform consists of a series of Microcontroller (MCU) boards and extension boards that are integrated with Atmel Studio, have Atmel Software Framework (ASF) drivers and demo code, support data streaming and more. Xplained Pro MCU boards support a wide range of Xplained Pro extension boards that are connected through a set of standardized headers and connectors.
3.3 Data Field Data Type Example Content Minimum Voltage [mV] uint16_t 3000 Maximum Voltage [mV] uint16_t 3600 Maximum Current [mA] uint16_t 30 Power Supply The SAM4E Xplained Pro kit can be powered either by USB or by an external power source through the 4pin power header, marked PWR. This connector is described in “Xplained Pro Power Header” on page 10. The available power sources and specifications are listed in Table 3-3, “Power Sources for SAM4E Xplained Pro” on page 7. Table 3-3.
Pro Extension Header” on page 8. The extension headers can be used to connect a wide variety of Xplained Pro extensions to Xplained Pro MCU boards and to access the pins of the target MCU on Xplained Pro MCU board directly. Table 3-4. Xplained Pro Extension Header 3.4.2 Pin number Name Description 1 ID Communication line to the ID chip on extension board. 2 GND Ground. 3 ADC(+) Analog to digital converter , alternatively positive part of differential ADC.
Pin number Name RGB interface description MCU interface description 4 D1 Data line 5 D2 Data line 6 D3 Data line 7 GND 8 D4 Data line 9 D5 Data line 10 D6 Data line 11 D7 Data line 12 GND 13 D8 Data line 14 D9 Data line 15 D10 Data line 16 D11 Data line 17 GND Ground 18 D12 Data line 19 D12 Data line 20 D14 Data line 21 D15 Data line 22 GND Ground 23 D16 Data line 24 D17 Data line 25 D18 Data line 26 D19 Data line 27 GND Ground 28 D2
3.4.3 Pin number Name RGB interface description MCU interface description 42 TWI SDA I C data line (maXTouch ) 43 TWI SCL I C clock line (maXTouch) 44 IRQ1 maXTouch interrupt line 45 IRQ2 Interrupt line for other I C devices 46 PWM Backlight control 47 RESET 48 VCC 3.3V power supply for extension board 49 VCC 3.
4. Hardware User Guide 4.1 Connectors This chapter describes the implementation of the relevant connectors and headers on SAM4E Xplained Pro and their connection to the ATSAM4E16E. The tables of connections in this chapter also describes which signals are shared between the headers and on-board functionality. 4.1.1 I/O Extension Headers The SAM4E Xplained Pro headers EXT1, EXT2 and EXT3 offers access to the I/O of the microcontroller in order to expand the board e.g.
Pin on EXT2 SAM4E pin Function Shared functionality 9 PD29 GPIO ETHERNET 10 PB4 GPIO 11 PA3 TWD0 EXT1, EXT3, LCD connector and EDBG 12 PA4 TWCK0 EXT1, EXT3, LCD connector and EDBG 13 PA5 URXD1 EXT3 14 PA6 UTXD1 EXT3 15 PD23 GPIO 16 PA13 MOSI EXT1 and EXT3 17 PA12 MISO EXT1 and EXT3 18 PA14 SPCK EXT1 and EXT3 19 - GND 20 - VCC Table 4-3. Extension Header EXT3 4.1.
Pin on EXT4 SAM4E pin Function Shared functionality 2 [GND] - GND 3 [D0] PC0 D0 SRAM, NAND and EBI spare header 4 [D1] PC1 D1 SRAM, NAND and EBI spare header 5 [D2] PC2 D2 SRAM, NAND and EBI spare header 6 [D3] PC3 D3 SRAM, NAND and EBI spare header 7 [GND] - GND 8 [D4] PC4 D4 SRAM, NAND and EBI spare header 9 [D5] PC5 D5 SRAM, NAND and EBI spare header 10 [D6] PC6 D6 SRAM, NAND and EBI spare header 11 [D7] PC7 D7 SRAM, NAND and EBI spare header 12 [GND] - GND 13
4.1.3 Pin on EXT4 SAM4E pin Function Shared functionality 45 [IRQ2] PE4 IRQ2 IRQ1 and EDBG DGI 46 [PWM] PD27 PWML3 EDBG DGI 47 [RESET] PE0 GPIO 48 [VCC] - VCC_P3V3 49 [VCC] - VCC_P3V3 50 [GND] - GND Chip Erase Header There is a 1x2 pin-header that is connected to the SAM4E chip erase pin (PB12) and 3V3 marked ERASE as shown in Figure 1-1, “SAM4E Xplained Pro Evaluation Kit Overview” on page 4.
4.2.
Table 4-7, “NAND Flash Connections” on page 16 lists all I/O-lines connected to the NAND flash. Table 4-7. NAND Flash Connections 4.2.
4.2.
cutting the strap and adding a resistor across the strap. More information about oscillator allowance and safety 1 factor can be found in appnote AVR4100 . Table 4-12. External 32.768kHz Crystals Pin on SAM4E Function PA7 XIN32 PA8 XOUT32 Table 4-13. External 12MHz Crystals 4.2.8 Pin on SAM4E Function PB9 XIN PB8 XOUT Mechanical Buttons SAM4E Xplained Pro contains two mechanical buttons.
Table 4-17. Virtual COM Port Connections 4.3.3 Pin on SAM4E Function PA9 URXD0 (SAM4E RX line) PA10 UTXD0 (SAM4E TX line) Atmel Data Gateway Interface The Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either a USART or TWI port. The DGI can be used to send a variety of data from the SAM4E to the host PC. For further information on how to use the DGI interface see “Embedded Debugger” on page 6. Table 4-18.
5. Kit Specific Data One of the user pages in the EDBG is programmed with data specific to the SAM4E Xplained Pro. The data 2 can be read through the I C interface connected to the EDBG, for detailed information see the EDBG User Guide on page 5. All data is stored as little endian. Table 5-1.
6. Hardware Revision History and Known Issues 6.1 Identifying Product ID and Revision The revision and product identifier of Xplained Pro boards can be found in two ways, through Atmel Studio or by looking at the sticker on the bottom side of the PCB. By connecting a Xplained Pro MCU board to a computer with Atmel Studio running, an information window will pop up. The first six digits of the serial number, which is listed under kit details, contain the product identifier and revision.
7.
8. 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 Corporation 1600 Technology Drive, San Jose, CA 95110 USA T: (+1)(408) 441.0311 F: (+1)(408) 436.4200 | www.atmel.com © 2014 Atmel Corporation. All rights reserved. / Rev.: 42216A-MCU-01/2014 ® ® ® ® Atmel , Atmel logo and combinations thereof, Enabling Unlimited Possibilities , AVR , maXTouch , and others are registered trademarks or trademarks ® ® of Atmel Corporation or its subsidiaries. Windows is a registered trademark of Microsoft Corporation in U.S. and or other countries.