Atmel SAM4N Xplained Pro User Manual
Atmel SAM4N Xplained Pro User Manual

Atmel SAM4N Xplained Pro User Manual

Smart arm-based microcontrollers
Hide thumbs Also See for SAM4N Xplained Pro:

Advertisement

Quick Links

SMART ARM-based Microcontrollers
SAM4N Xplained Pro
USER GUIDE

Preface

®
The Atmel
SAM4N Xplained Pro evaluation kit is a hardware platform to
evaluate the ATSAM4N16C microcontroller.
Supported by the Atmel Studio integrated development platform, the kit
provides easy access to the features of the Atmel ATSAM4N16C 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 ATSAM4N16C.
The Xplained Pro extension kits offers additional peripherals to extend the
features of the board and ease the development of custom designs.
Atmel-42104B-SAM4N-Xplained-Pro_User Guide-04/2016

Advertisement

Table of Contents
loading

Summary of Contents for Atmel SAM4N Xplained Pro

  • Page 1: Preface

    USER GUIDE Preface ® The Atmel SAM4N Xplained Pro evaluation kit is a hardware platform to evaluate the ATSAM4N16C microcontroller. Supported by the Atmel Studio integrated development platform, the kit provides easy access to the features of the Atmel ATSAM4N16C and explains how to integrate the device in a custom design.
  • Page 2: Table Of Contents

    5.1. Getting Started with IAR......................18 6. Hardware Revision History and Known Issues............21 6.1. Identifying Product ID and Revision................... 21 6.2. Revision 2...........................21 7. Document Revision History..................22 8. Evaluation Board/Kit Important Notice..............23 Atmel SAM4N Xplained Pro [USER GUIDE] Atmel-42104B-SAM4N-Xplained-Pro_User Guide-04/2016...
  • Page 3: Introduction

    32kHz crystal 1.2. Kit Overview The Atmel SAM4N Xplained Pro evaluation kit is a hardware platform to evaluate the Atmel ATSAM4N16C. The kit offers a set of features that enables the ATSAM4N16C user to get started using the ATSAM4N16C peripherals right away and to get an understanding of how to integrate the device in their own design.
  • Page 4 Figure 1-1. SAM4N Xplained Pro Evaluation Kit Overview Atmel SAM4N Xplained Pro [USER GUIDE] Atmel-42104B-SAM4N-Xplained-Pro_User Guide-04/2016...
  • Page 5: Getting Started

    , Windows 7, Windows 8, Windows 10, and Windows Server 2012. Once the Xplained Pro MCU board is powered the green power LED will be lit and Atmel Studio will auto detect which Xplained Pro MCU- and extension board(s) are connected. Atmel Studio will present relevant information like datasheets and kit documentation.
  • Page 6 • SAM4N Xplained Pro on the Atmel website - Atmel website link. Atmel SAM4N Xplained Pro [USER GUIDE] Atmel-42104B-SAM4N-Xplained-Pro_User Guide-04/2016...
  • Page 7: Xplained Pro

    Atmel Data Visualizer is used to send and receive data through DGI. The EDBG controls two LEDs on SAM4N Xplained Pro; a power LED and a status LED. The table below shows how the LEDs are controlled in different operation modes.
  • Page 8: Hardware Identification System

    3600 Maximum Current [mA] uint16_t 3.3. Power Sources The SAM4N Xplained Pro kit can be powered by several power sources as listed in the table below. Table 3-3. Power Sources for SAM4N Xplained Pro Power input Voltage requirements Current requirements Connector marking External power 5V ±2% (±100mV) for...
  • Page 9: Xplained Pro Headers And Connectors

    Clock line for I C interface. Always implemented, bus type. UART_RX Receiver line of target device UART UART_TX Transmitter line of target device UART SPI_SS_A Slave select for SPI. Should preferably be unique. Atmel SAM4N Xplained Pro [USER GUIDE] Atmel-42104B-SAM4N-Xplained-Pro_User Guide-04/2016...
  • Page 10: Xplained Pro Power Header

    Xplained Pro Power Header The power header can be used to connect external power to the SAM4N Xplained Pro kit. The kit will automatically detect and switch to any external power if supplied. The power header can also be used as supply for external peripherals or extension boards.
  • Page 11: Hardware User Guide

    Xplained Pro Standard Extension Headers The SAM4N Xplained Pro headers EXT1, EXT2, and EXT3 offers access to the I/O of the microcontroller in order to expand the board e.g. by connecting extensions to the board. These headers all comply with the Xplained Pro standard extension header.
  • Page 12 EXT1, EXT3 Table 4-3. Extension Header EXT3 Pin on EXT3 SAM4N pin Function Shared functionality Communication line to ID chip on extension board PC29 AD13 PC30 AD14 GPIO GPIO PA26 TIOA2 PA27 TIOB2 Atmel SAM4N Xplained Pro [USER GUIDE] Atmel-42104B-SAM4N-Xplained-Pro_User Guide-04/2016...
  • Page 13: Other Headers

    4.1.2. Other Headers In addition to the Xplained Pro standard extension headers, SAM4N Xplained Pro has three additional headers with spare signals that offers access to the I/O of the microcontroller that are otherwise not easily available elsewhere or might be favorable to have collected together. All headers have a pitch of 2.54mm.
  • Page 14: Current Measurement Header

    4.2.1. Crystals The SAM4N Xplained Pro kit contains two crystals that can be used as clock sources for the SAM4N device. Each crystal has a cut-strap next to it that can be used to measure the oscillator safety factor. Atmel SAM4N Xplained Pro [USER GUIDE]...
  • Page 15: Mechanical Buttons

    RESET PA30 4.2.3. There is one yellow LED available on the SAM4N Xplained Pro board that can be turned on and off. The LED can be activated by driving the connected I/O line to GND. Table 4-10. LED Connections Pin on SAM4N...
  • Page 16: Serial Wire Debug

    UART, an Atmel Data Gateway Interface over SPI and TWI and it monitors four of the SAM4N GPIOs. Atmel Studio can be used as a front end for the Embedded Debugger. 4.3.1. Serial Wire Debug The Serial Wire Debug (SWD) interface use two pins to communicate with the target. For further information on how to use the programming and debugging capabilities of the EDBG, see the EDBG user guide.
  • Page 17 Table 4-15. GPIO Lines Connected To the EDBG Pin on SAM4N Function PC21 GPIO0 PC20 GPIO1 PC19 GPIO2 PC18 GPIO3 Atmel SAM4N Xplained Pro [USER GUIDE] Atmel-42104B-SAM4N-Xplained-Pro_User Guide-04/2016...
  • Page 18: Appendix

    Select System (default) as the reset method. In the category Debugger > CMSIS DAP, select the JTAG/SWD tab. Select SWD as the interface and optionally select the SWD speed. Figure 5-1. Select Target Device Atmel SAM4N Xplained Pro [USER GUIDE] Atmel-42104B-SAM4N-Xplained-Pro_User Guide-04/2016...
  • Page 19 Figure 5-2. Select Debugger Figure 5-3. Configure Flash Loader Atmel SAM4N Xplained Pro [USER GUIDE] Atmel-42104B-SAM4N-Xplained-Pro_User Guide-04/2016...
  • Page 20 Figure 5-4. Configure Reset Figure 5-5. Configure Interface Atmel SAM4N Xplained Pro [USER GUIDE] Atmel-42104B-SAM4N-Xplained-Pro_User Guide-04/2016...
  • Page 21: 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; either through Atmel Studio or by looking at the sticker on the bottom side of the PCB. By connecting an Xplained Pro MCU board to a computer with Atmel Studio running, an information window will pop up.
  • Page 22: Document Revision History

    Document Revision History Doc. rev. Date Comment 42104B 04/2016 Added appendix 42104A 07/2013 First release Atmel SAM4N Xplained Pro [USER GUIDE] Atmel-42104B-SAM4N-Xplained-Pro_User Guide-04/2016...
  • Page 23: Evaluation Board/Kit Important Notice

    (WEEE), FCC, CE or UL (except as may be otherwise noted on the board/kit). Atmel supplied this board/kit "AS IS", without any warranties, with all faults, at the buyer's and further users' sole risk. The user assumes all responsibility and liability for proper and safe handling of the goods.
  • Page 24 DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual 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...
  • Page 25 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Atmel ATSAM4N-XSTK...

Table of Contents