USER GUIDE Atmel SAM4S Xplained Pro Preface The Atmel® SAM4S Xplained Pro evaluation kit is a hardware platform to evaluate the ATSAM4SD32C microcontroller. Supported by the Atmel Studio integrated development platform, the kit provides easy access to the features of the Atmel ATSAM4SD32C 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 ATSAM4SD32C.
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 ATSAM4SD32C 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 an USB cable to the DEBUG USB port. Connecting the kit When connecting Atmel SAM4S 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 Maximum Voltage [mV] uint16_t 3600 Maximum Current [mA] uint16_t 30 Power supply The SAM4S 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 “Power header” on page 10. The available power sources and specifications are listed in Table 3.3, “Power sources for SAM4S Xplained Pro”. Table 3.3.
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 Pin number Name Description 1 ID Communication line to the ID chip on extension board.
Pin number Name RGB interface description MCU interface description 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 D20 Data line 29 D21 Data line 30 D22 Data line
3.4.3 Pin number Name RGB interface description MCU interface description 45 IRQ2 Interrupt line for other I2C devices 46 PWM Backlight control 47 RESET 48 VCC 3.3V power supply for extension board 49 VCC 3.3V power supply for extension board 50 GND Ground Reset for both display and maxTouch Power header The power header can be used to connect external power to the SAM4S Xplained Pro kit. The kit will automatically detect and switch to the external power if supplied.
4. Hardware user guide 4.1 Connectors This chapter describes the implementation of the relevant connectors and headers on SAM4S Xplained Pro and their connection to the ATSAM4SD32C. 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 SAM4S 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 SAM4S pin Function Shared functionality 8 PA20 PWML1 9 PC26 GPIO 10 PC27 GPIO 11 PA3 TWD0 EXT1 and EDBG 12 PA4 TWCK0 EXT1 and EDBG 13 PA21 USART1/RXD1 EXT1 14 PA22 USART1/TXD1 EXT1 15 PA9 SPI/NPCS[1] LCD connector (EXT4) 16 PA13 SPI/MOSI EXT1, EXT3, LCD connector (EXT4) and EDBG 17 PA12 SPI/MISO EXT1, EXT3, LCD connector (EXT4) and EDBG 18 PA14 SPI/SPCK EXT1, EXT3, LCD connector (EXT4) and EDBG 19 - - GND 20 - - VCC Table 4.3.
Table 4.4. LCD display connector EXT4 Pin on EXT4 SAM4S pin Function Shared functionality 1 - - Communication line to ID chip on extension board.
4.1.
Table 4.7. NAND Flash connections 4.2.
Table 4.10. External 12MHz crystals 4.2.4 Pin on SAM4S Function PB9 XIN0 PB8 XOUT0 Mechanical buttons SAM4S Xplained Pro contains two mechanical buttons. One button is the RESET button connected to the SAM4S reset line and the other is a generic user configurable button. When a button is pressed it will drive the I/O line to GND. Table 4.11. Mechanical buttons 4.2.
4.3.3 Pin on SAM4S Function PB2 UART RXD (SAM4S RX line) Atmel Data Gateway Interface The Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either a SPI or TWI port. The DGI can be used to send a variety of data from the SAM4S to the host PC. For further information on how to use the DGI interface see “Embedded Debugger” on page 6. Table 4.15.
5. Hardware revision history and known issues 5.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 6 digits of the serial number, which is listed under kit details, contain the product identifier and revision.
6. Document revision history Doc. Rev.
7. 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 © 2013 Atmel Corporation. All rights reserved. / Rev.: Atmel-42075B-MCU-Atmel SAM4S Xplained Pro-USER GUIDE-03/2013 Atmel®, Atmel logo and combinations thereof, AVR®, Enabling Unlimited Possibilities®, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Windows® is a registered trademark of Microsoft Corporation in U.S.