SAM3N-EK Development Board
....................................................................................................................
User Guide
11080C–ATARM–30-Mar-11
Section 1 |
|
|
|
Introduction................................................................................................................. |
|
1-1 |
|
1.1 |
SAM3N Evaluation Kit........................................................................................................ |
1-1 |
|
1.2 |
User Guide......................................................................................................................... |
1-1 |
|
1.3 |
References and Applicable Documents ............................................................................. |
1-1 |
|
|
|
|
|
Section 2 |
|
|
|
Kit Contents ................................................................................................................ |
|
2-1 |
|
2.1 |
Deliverables ....................................................................................................................... |
2-1 |
|
2.2 |
Electrostatic Warning ......................................................................................................... |
2-2 |
|
|
|
|
|
Section 3 |
|
|
|
Power Up |
.................................................................................................................... |
|
3-1 |
3.1 |
Power up the Board ........................................................................................................... |
3-1 |
|
3.2 |
DevStart |
............................................................................................................................. |
3-1 |
3.3 |
Recovery Procedure .......................................................................................................... |
3-1 |
|
3.4 |
Sample Code and Technical Support ................................................................................ |
3-1 |
|
|
|
|
|
Section 4 |
|
|
|
Evaluation Kit Hardware ............................................................................................. |
4-1 |
||
4.1 |
Board Overview.................................................................................................................. |
4-1 |
|
4.2 |
Features List ...................................................................................................................... |
4-2 |
|
4.3 |
Function Blocks.................................................................................................................. |
4-2 |
|
|
4.3.1 |
Processor............................................................................................................. |
4-2 |
|
4.3.2 |
Memory................................................................................................................ |
4-2 |
|
4.3.3 |
Clock Circuitry...................................................................................................... |
4-3 |
|
4.3.4 |
Reset Circuitry ..................................................................................................... |
4-3 |
|
4.3.5 |
Power Supply and Management.......................................................................... |
4-4 |
|
4.3.6 |
UART ................................................................................................................... |
4-4 |
|
4.3.7 |
Display Interface .................................................................................................. |
4-5 |
|
4.3.8 |
Backlight Control.................................................................................................. |
4-5 |
|
4.3.9 |
JTAG/ICE............................................................................................................. |
4-6 |
|
4.3.10 |
PWM Buzzer........................................................................................................ |
4-6 |
|
4.3.11 |
SD/MMC Card ..................................................................................................... |
4-6 |
|
4.3.12 |
Touch Elements.................................................................................................. |
4-7 |
|
4.3.13 |
User Buttons ........................................................................................................ |
4-7 |
|
4.3.14 |
LEDs .................................................................................................................... |
4-8 |
|
4.3.15 |
ZigBee ................................................................................................................. |
4-8 |
|
4.3.16 |
PIO Expansion..................................................................................................... |
4-8 |
4.4 |
Configuration...................................................................................................................... |
4-9 |
|
|
4.4.1 |
PIO Usage ........................................................................................................... |
4-9 |
SAM3N-EK Development Board User Guide |
|
|
1-1 |
|
|
||
|
|
||
|
|
||
|
|
|
|
11080C–ATARM–30-Mar-11
4.4.2 |
Jumpers ............................................................................................................. |
4-12 |
4.4.3 |
Test Points......................................................................................................... |
4-12 |
4.4.4 Assigned PIO Lines, Disconnection Possibility.................................................. |
4-13 |
Section 5 |
|
|
|
QT600......................................................................................................................... |
|
|
5-1 |
5.1 |
Overview ............................................................................................................................ |
5-1 |
|
5.2 |
System Description ............................................................................................................ |
5-2 |
|
5.3 |
Features |
............................................................................................................................. |
5-2 |
5.4 |
Getting Started................................................................................................................... |
5-3 |
|
5.5 |
Hardware Description......................................................................................................... |
5-5 |
|
|
5.5.1 |
QT600 Interface Board ........................................................................................ |
5-5 |
|
5.5.2 |
TOUCH DATA Connectors .................................................................................. |
5-7 |
|
5.5.3 |
Target Voltage VTG............................................................................................. |
5-8 |
|
5.5.4 |
VTG LED ............................................................................................................. |
5-8 |
|
5.5.5 |
TOUCH DATA LED ............................................................................................. |
5-8 |
|
5.5.6 |
STATUS LED....................................................................................................... |
5-9 |
|
5.5.7 |
Touch ATx Firmware ........................................................................................... |
5-9 |
5.6 |
Touch Debug...................................................................................................................... |
5-9 |
|
5.7 |
Using QT600 and AVR QTouch Studio for Custom Applications....................................... |
5-9 |
|
5.8 |
Troubleshooting and Support........................................................................................... |
5-10 |
|
|
5.8.1 |
Technical Support.............................................................................................. |
5-10 |
|
5.8.2 |
Force Firmware Upgrade................................................................................... |
5-10 |
|
|
|
|
Section 6 |
|
|
|
Schematics ................................................................................................................. |
|
6-1 |
|
6.1 |
Schematics......................................................................................................................... |
6-1 |
|
|
|
|
|
Section 7 |
|
|
|
Troubleshooting.......................................................................................................... |
|
7-1 |
|
7.1 |
Self-Test............................................................................................................................. |
7-1 |
|
7.2 |
Board Recovery ................................................................................................................. |
7-1 |
|
|
|
|
|
Section 8 |
|
|
|
Revision History.......................................................................................................... |
|
8-1 |
|
8.1 |
Revision History ................................................................................................................. |
8-1 |
SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
The SAM3N Evaluation Kit (SAM3N-EK) allows the evaluation of the SAM3N series devices. It has enough features to demonstrate most of the product's capabilities to the users. The SAM3N-EK also features extension connectors to allow the users to add new interfaces in case they are not on-board.
This guide focuses on the SAM3N-EK board as an evaluation platform. It is made up of 6 sections:
Section 1 includes references, applicable documents, acronyms and abbreviations.
Section 2 summarizes the kit contents.
Section 3 provides instructions to power up the SAM3N-EK and describes how to use it.
Section 4 describes the SAM3N-EK board design in more detail.
Section 5 provides schematics.
Section 6 describes the troubleshooting.
Table 1-1. References and Applicable Documents
Title |
Comment |
|
|
SAM3N Datasheet |
http://atmel.com/dyn/products/devices.asp?family_id=605#2245 |
|
|
SAM3N-EK Development Board User Guide |
1-1 |
11080C–ATARM–30-Mar-11
The Atmel® SAM3N Evaluation Kit contains the following items:
a SAM3N-EK board
a universal input AC/DC power supply with US, Europe and UK plug adapters
one serial RS232 cable
a welcome letter
Figure 2-1. Unpacked SAM3N-EK
Unpack and inspect the kit carefully. Contact your local Atmel distributor, should you have issues concerning the contents of the kit.
SAM3N-EK Development Board User Guide |
2-1 |
11080C–ATARM–30-Mar-11
Kit Contents
The SAM3N-EK board must not be subjected to high electrostatic potentials. A grounding strap or similar protective device should be worn when handling the board. Avoid touching the components or any other metallic element of the board.
2-2 |
|
|
SAM3N-EK Development Board User Guide |
|
|
||
|
|
||
|
|
||
|
|
|
|
11080C–ATARM–30-Mar-11
Unpack the board taking care to avoid electrostatic discharge. Unpack the power supply, select the right power plug adapter corresponding to that of your country, and insert it in the power supply.
Connect the power supply DC connector to the board and plug the power supply to an AC power plug. The board LCD should light up and run a Touch demo (shows a screen animation that matches the Touch devices operated on the PCB).
The CDROM provided in the kit contains what we call a "DevStart" a.k.a. "Development Start". This bundle guides you through the first steps of building and running a software application on the SAM3N-EK.
If the CD does not auto-play on your PC, just open it through the explorer and click the file welcome.html to get started.
The SAM3N-EK DevStart guides you through the installation processes of IAR™ EWARM, Keil MDK and GNU toolkits. Then, it gives you step-by-step instructions on how to rebuild a single example project and how to program it into the SAM3N-EK. Optionally, if you have a SAM-ICE™, instructions are also given about how to debug the code.
The DevStart ends by giving step-by-step instructions on how to recover the SAM3N-EK to the state as it was when shipped by Atmel.
SAM3N-EK Test Software, Chapter 3.1 "Flash Recovery" gives instructions if you deleted the contents of the embedded Flash or the DataFlash® and want to recover from this situation.
After boot up, you can run some sample code or your own application on the development kit. You can download sample code and get technical support from Atmel website (http://support.atmel.no/bin/customer).
SAM3N-EK Development Board User Guide |
3-1 |
11080C–ATARM–30-Mar-11
This section introduces the Atmel SAM3N Evaluation Kit design. It introduces system-level concepts, such as power distribution, memory, and interface assignments.
The SAM3N-EK board is based on the integration of an ARM® Cortex®-M3 processor with on-board Flash and a set of popular peripherals. It is designed to provide a high performance processor evaluation solution with high flexibility for various kinds of applications.
Figure 4-1. SAM3N-EK Block Diagram
SAM3N-EK Development Board User Guide |
4-1 |
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
Here is the list of the main board components and interfaces:
SAM3N4C QFP chip with optional socket footprint
12 MHz crystal
32.768 KHz crystal
32-Megabit Serial DataFlash
2.0 inch TFT color LCD display with backlight
UART port with level shifter IC
Micro SD interface
Reset buttons: NRST
User buttons: Left and Right
QTouch® buttons: Left, Right, and Slider
JTAG port
On-board power regulation
Two user LEDs
Power LED
ZigBee® connector
2x32 bit PIO connection interfaces (PIOA, PIOC) and 1x15 bit PIO connection interface (PIOB)
The SAM3N-EK is equipped with a SAM3N4C device in LQFP100 package.
The SAM3N4 chip embeds:
256 Kbytes of embedded Flash
24 Kbytes of embedded SRAM with dual bank
16 Kbytes of ROM with embedded BootLoader routines (UART) and In-Application Programming functions (IAP) routines.
The SAM3N-EK features an external DataFlash through SPI bus
Figure 4-2. DataFlash
|
|
|
+3V3 |
|
|
|
|
|
|
R27 |
|
MN7 |
|
|
|
|
|
AT25DF321 |
+3V3 |
|
|
|
|
47K |
|
||
|
|
|
|
|
|
|
NPCS_DATAFLASH |
PA22 |
|
|
1 |
|
8 |
SPI CLK |
PA14 |
R28 |
0R |
6 |
NCS |
VCC |
SPI MOSI |
PA13 |
|
|
5 |
SCK |
|
|
|
SI |
|
|||
SPI MISO |
PA12 |
R29 |
10R |
2 |
C35 |
|
|
|
|
|
|
SO |
100nF |
|
+3V3 |
|
|
|
|
|
|
R31 |
0R |
3 |
|
4 |
|
|
|
NWP |
||||
|
|
R32 |
0R |
7 |
GND |
|
|
|
NHOLD |
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
DGND |
DATA FLASH
NPCS3 chip select signal is used for DataFlash chip selection.
4-2 |
|
|
SAM3N-EK Development Board User Guide |
|
|
||
|
|
||
|
|
||
|
|
|
|
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
The clock generator of a SAM3N microcontroller is made up of:
A Low Power 32,768 Hz Slow Clock Oscillator with bypass mode
A Low Power RC Oscillator
A 3 to 20 MHz Crystal Oscillator, which can be bypassed
A factory programmed fast internal RC Oscillator. 3 output frequencies can be selected: 4 (default value), 8 or 12 MHz.
A 60 to 130 MHz programmable PLL (input from 3.5 to 20 MHz), capable to provide the clock MCK to the processor and to the peripherals.
The SAM3N-EK board is equipped with one 12 MHz crystal, and one 32.768 Hz crystal. An optional 12 MHz Piezoelectric Ceramic Resonator can be mounted in place of the 12 MHz crystal (for low cost clocking option evaluation).
Figure 4-3. |
SAM3N MCU |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PC[0..31] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<![if ! IE]> <![endif]>PC0 PC1 PC2 PC3 PC4 PC5 |
<![if ! IE]> <![endif]>PC6 |
<![if ! IE]> <![endif]>PC7 |
<![if ! IE]> <![endif]>PC8 |
<![if ! IE]> <![endif]>PC9 |
<![if ! IE]> <![endif]>PC10 |
<![if ! IE]> <![endif]>PC11 |
<![if ! IE]> <![endif]>PC12 |
<![if ! IE]> <![endif]>PC13 |
<![if ! IE]> <![endif]>PC14 |
<![if ! IE]> <![endif]>PC15 |
<![if ! IE]> <![endif]>PC16 |
<![if ! IE]> <![endif]>PC17 |
<![if ! IE]> <![endif]>PC18 |
<![if ! IE]> <![endif]>PC19 |
<![if ! IE]> <![endif]>PC20 |
<![if ! IE]> <![endif]>PC21 |
<![if ! IE]> <![endif]>PC22 |
<![if ! IE]> <![endif]>PC23 |
<![if ! IE]> <![endif]>PC24 |
<![if ! IE]> <![endif]>PC25 |
<![if ! IE]> <![endif]>PC26 |
<![if ! IE]> <![endif]>PC27 |
<![if ! IE]> <![endif]>PC28 |
<![if ! IE]> <![endif]>PC29 |
<![if ! IE]> <![endif]>PC30 |
<![if ! IE]> <![endif]>PC31 |
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
MN1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SAM3N4C-AU |
|
<![if ! IE]> <![endif]>25 |
<![if ! IE]> <![endif]>47 |
<![if ! IE]> <![endif]>43 |
<![if ! IE]> <![endif]>40 37 |
<![if ! IE]> <![endif]>35 |
<![if ! IE]> <![endif]>32 |
<![if ! IE]> <![endif]>29 |
<![if ! IE]> <![endif]>58 62 |
<![if ! IE]> <![endif]>65 |
<![if ! IE]> <![endif]>68 |
<![if ! IE]> <![endif]>23 |
<![if ! IE]> <![endif]>21 71 |
<![if ! IE]> <![endif]>19 |
<![if ! IE]> <![endif]>73 |
<![if ! IE]> <![endif]>75 |
<![if ! IE]> <![endif]>78 80 |
<![if ! IE]> <![endif]>82 |
<![if ! IE]> <![endif]>84 |
<![if ! IE]> <![endif]>86 |
<![if ! IE]> <![endif]>90 92 |
<![if ! IE]> <![endif]>94 |
<![if ! IE]> <![endif]>13 |
<![if ! IE]> <![endif]>17 |
<![if ! IE]> <![endif]>54 4 |
<![if ! IE]> <![endif]>6 |
<![if ! IE]> <![endif]>8 |
|
|
|
|
|
|
|
|
|
|||||
|
<![if ! IE]> <![endif]>2 1 |
R1 |
DNP |
|
|
|
|
|
|
|
|
<![if ! IE]> <![endif]>PC0 |
<![if ! IE]> <![endif]>PC1 |
<![if ! IE]> <![endif]>PC2 PC3 |
<![if ! IE]> <![endif]>PC4 NPCS1 |
<![if ! IE]> <![endif]>PC5 |
<![if ! IE]> <![endif]>PC6 |
<![if ! IE]> <![endif]>PC7 NPCS2 |
<![if ! IE]> <![endif]>PC8 PWM0 |
<![if ! IE]> <![endif]>PC9 PWM1 |
<![if ! IE]> <![endif]>PC10PWM2 |
<![if ! IE]> <![endif]>PC11PWM3 |
<![if ! IE]> <![endif]>PC12 AD12 |
<![if ! IE]> <![endif]>PC13 AD10 |
<![if ! IE]> <![endif]>PC14 PCK2 |
<![if ! IE]> <![endif]>PC15 AD11 |
<![if ! IE]> <![endif]>PC16 PCK0 |
<![if ! IE]> <![endif]>PC17 PCK1 |
<![if ! IE]> <![endif]>PC18PWM0 |
<![if ! IE]> <![endif]>PC19PWM1 |
<![if ! IE]> <![endif]>PC20PWM2 |
<![if ! IE]> <![endif]>PC21PWM3 |
<![if ! IE]> <![endif]>PC22PWM0 |
<![if ! IE]> <![endif]>PC23TIOA3 |
<![if ! IE]> <![endif]>PC24TIOB3 |
<![if ! IE]> <![endif]>PC25TCLK3 |
<![if ! IE]> <![endif]>PC26TIOA4 |
<![if ! IE]> <![endif]>PC27TIOB4 |
<![if ! IE]> <![endif]>PC28TCLK4 |
<![if ! IE]> <![endif]>TIOA5PC29 AD13 |
<![if ! IE]> <![endif]>TIOB5PC30 AD14 |
<![if ! IE]> <![endif]>TCLK5PC31 AD15 |
|
|
|
|
|
|
|
|
DGND |
R7 |
DNP |
15pF |
R2 |
0R |
XIN |
97 |
|
|
|
|
|
PA4_TWCK0_TCLK0 |
53 |
|
|
||||||||||||||||||||||||||||||||||
|
|
|
C1 |
PB9_XIN |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
|
|||||
3 |
|
Y1 |
|
Y2 |
12MHz |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PA0_PWM0_TIOA0 |
72 |
|
|
||
|
|
DNP |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PA1_PWM1_TIOB0 |
67 |
|
|
||||
|
|
|
DGND |
|
R3 |
0R |
XOUT |
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PA2_PWM2_SCK0_DATRG |
66 |
|
|
||||
|
|
|
|
PB8_XOUT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PA3_TWD0_NPCS3 |
|
|
||||||||
|
|
|
C2 |
15pF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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DDCORE |
|
<![if ! IE]> <![endif]>VDDCORE |
|
<![if ! IE]> <![endif]>VDDCORE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|
|
<![if ! IE]> <![endif]>VDDIN |
|
|
|
<![if ! IE]> <![endif]>VDDOUT |
|
|
|
|
|
|
|
|
|
|
<![if ! IE]> <![endif]>VDDPLL |
|
|
|
<![if ! IE]> <![endif]>GND |
|
<![if ! IE]> <![endif]>GND |
|
<![if ! IE]> <![endif]>GND |
|
<![if ! IE]> <![endif]>GND |
|
<![if ! IE]> <![endif]>GND |
|
<![if ! IE]> <![endif]>VDDIO |
<![if ! IE]> <![endif]>VDDIO |
<![if ! IE]> <![endif]>VDDIO |
<![if ! IE]> <![endif]>VDDIO |
<![if ! IE]> <![endif]>VDDIO |
|
|
|
|||||
|
|
|
|
|
|
|
|
61 |
TEST |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VDDOUT |
<![if ! IE]> <![endif]>10 |
<![if ! IE]> <![endif]>11 |
<![if ! IE]> <![endif]>16 |
<![if ! IE]> <![endif]>36 |
<![if ! IE]> <![endif]>56 |
<![if ! IE]> <![endif]>85 |
<![if ! IE]> <![endif]>100 |
<![if ! IE]> <![endif]>26 |
<![if ! IE]> <![endif]>45 |
<![if ! IE]> <![endif]>70 |
<![if ! IE]> <![endif]>95 |
<![if ! IE]> <![endif]>2 |
<![if ! IE]> <![endif]>27 |
<![if ! IE]> <![endif]>50 |
<![if ! IE]> <![endif]>69 |
<![if ! IE]> <![endif]>91 |
<![if ! IE]> <![endif]>98 |
VDDIN |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VDDIO |
<![if ! IE]> <![endif]>100nF |
<![if ! IE]> <![endif]>100nF |
<![if ! IE]> <![endif]>2.2uF |
<![if ! IE]> <![endif]>100nF |
<![if ! IE]> <![endif]>100nF |
<![if ! IE]> <![endif]>100nF |
<![if ! IE]> <![endif]>100nF |
<![if ! IE]> <![endif]>DNP |
<![if ! IE]> <![endif]>100nF |
DGND |
<![if ! IE]> <![endif]>100nF |
<![if ! IE]> <![endif]>100nF |
<![if ! IE]> <![endif]>100nF |
<![if ! IE]> <![endif]>100nF |
<![if ! IE]> <![endif]>100nF |
<![if ! IE]> <![endif]>4.7uF |
<![if ! IE]> <![endif]>4.7uF |
<![if ! IE]> <![endif]>C7 |
<![if ! IE]> <![endif]>C8 |
<![if ! IE]> <![endif]>C9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<![if ! IE]> <![endif]>C10 |
<![if ! IE]> <![endif]>C11 |
<![if ! IE]> <![endif]>C12 |
<![if ! IE]> <![endif]>C13 |
<![if ! IE]> <![endif]>C14 |
<![if ! IE]> <![endif]>C15 |
|
<![if ! IE]> <![endif]>C16 |
<![if ! IE]> <![endif]>C17 |
<![if ! IE]> <![endif]>C18 |
<![if ! IE]> <![endif]>C19 |
<![if ! IE]> <![endif]>C20 |
<![if ! IE]> <![endif]>C21 |
<![if ! IE]> <![endif]>C22 |
VDDCORE |
DGND |
DGND |
VDDPLL |
DGND |
|
|
PA[0..31] |
|
PA0 |
|
|
PA1 |
|
|
PA2 |
|
|
PA3 |
|
|
PA4 |
|
|
PA5 |
|
|
PA6 |
|
DNP |
PA7 |
|
DNP |
PA8 |
|
|
PA9 |
|
|
PA10 |
|
|
PA11 |
|
|
PA12 |
|
|
PA13 |
|
|
PA14 |
|
|
PA15 |
|
|
PA16 |
|
|
PA17 |
|
|
PA18 |
|
|
PA19 |
|
|
PA20 |
|
|
PA21 |
|
|
PA22 |
|
|
PA23 |
|
|
PA24 |
|
|
PA25 |
|
|
PA26 |
|
|
PA27 |
|
|
PA28 |
|
|
PA29 |
|
|
PA30 |
|
|
PA31 |
+3V3 |
|
JP2 |
|
|
C5 |
|
|
100nF |
|
|
DGND |
|
|
|
PB[0..14] |
|
PB0 |
|
|
PB1 |
|
|
PB2 |
|
|
PB3 |
|
|
PB4 |
|
|
PB5 |
|
|
PB6 |
|
|
PB7 |
|
|
PB10 |
|
|
PB11 |
|
|
PB12 |
|
|
PB13 |
|
|
PB14 |
|
The on-board NRST button BP1 provides the SAM3N4C with external reset control.
Two User buttons BP2 and BP3, can be used to wake up the chip from low power modes.
The NRST pin is bidirectional. It is handled by the on-chip reset controller. It can be driven low to provide a reset signal out to the external components. Conversely, it can be asserted low from the outside to reset the microcontroller, its core and peripherals, with exception of the backup region (RTC, RTT and
SAM3N-EK Development Board User Guide |
|
|
4-3 |
|
|
||
|
|
||
|
|
||
|
|
|
|
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
Supply Controller). The NRST pin integrates a permanent pull-up resistor of about 100 kOhm to VDDIO. On the SAM3N-EK board, the NRST signal is connected to the JTAG port.
The SAM3N-EK board is supplied with an external 5V DC block through the J1 socket. It is protected by a PolyZen diode MN3. The PolyZen protects the board in the case of an incorrect power supply connection.
The LDO regulator MN4 is used for the 3.3V main supply. It powers all the 3.3V components on the board.
Figure 4-4. Power Block
J1 |
|
MN3 |
+5V |
|
MN4 |
|
|
MP179P 2.1mm |
|
ZEN056V130A24LS |
|
LP38692MP-3.3 |
|||
1 |
1 |
3 |
|
|
4 |
|
3 |
2 |
|
|
|
|
VIN |
|
VOUT |
<![if ! IE]> <![endif]>3 |
|
<![if ! IE]> <![endif]>2 |
|
|
VEN |
<![if ! IE]> <![endif]>GND |
NC |
|
|
|
|
||||
|
|
C27 |
+ C28 |
C29 |
1 |
|
2 |
|
|
|
|
|
|||
|
|
100nF |
22uF |
10uF 0805 |
|
<![if ! IE]> <![endif]>5 |
|
|
+3V3 |
C25 |
C26 |
1uF |
10uF 0805 |
DGND
The SAM3N4/2/1 product series has different types of power supply pins:
VDDIN pin: Power for the internal voltage regulator, ADC, DAC, and analog comparator power supplies. This voltage ranges from 1.8V to 3.6V.
VDDIO pin: Powers the Peripheral I/O lines, Backup part, 32 kHz crystal oscillator and oscillator pads. This voltage ranges from 1.62V to 3.6V.
VDDOUT pin: Output of the internal voltage regulator.
VDDCORE pin: Powers the core, including the processor, the embedded memories and the peripherals. This voltage ranges from 1.62V to 1.95V.
VDDPLL pin: Powers the PLL, the Fast RC and the 3 to 20 MHz oscillators. This voltage ranges from 1.62V to 1.95V.
The Universal Asynchronous Receiver Transmitter features a two-pin UART that can be used for communication and trace purposes. It offers an ideal channel for in-situ programming solutions. This UART is associated with two PDC channels to reduce the processor time on packet handling.
The two-pin UART (TXD and RXD only) is buffered through an RS232 Transceiver MN8 and brought to the DB9 male connector J4.
4-4 |
|
|
SAM3N-EK Development Board User Guide |
|
|
||
|
|
||
|
|
||
|
|
|
|
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
Figure 4-5. |
UART |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MN8 |
|
|
|
|
|
|
|
+3V3 |
|
|
MAX3232CSE |
|
|
|
|
|
|
|
|
16 |
|
|
1 |
|
|
|
|
|
|
|
|
VCC |
C1+ |
|
|
||
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
C39 |
|
|
C38 |
|
|
|
|
|
|
|
100nF |
|
|
100nF |
|
|
|
+3V3 |
|
+3V3 |
C40 |
2 |
V+ |
C1- |
3 |
|
|
|
|
6 |
4 |
|
|
|||||
|
|
|
|
100nF |
V- |
C2+ |
J4 |
|
||
|
|
|
|
|
|
|
|
|
||
|
R35 |
R36 |
|
C41 |
|
|
C42 |
1 |
|
|
|
|
100nF |
|
|
100nF |
6 |
|
|||
|
100K |
100K |
|
|
|
|
||||
|
|
15 |
|
|
5 |
2 |
|
|||
|
|
|
|
|
GND |
C2- |
|
|||
|
|
|
|
|
|
|
7 |
|
||
|
PA10 |
|
R39 |
0R |
11 |
T1IN |
T1OUT |
14 |
3 |
|
|
PA9 |
|
R40 |
0R |
12 |
13 |
8 |
|
||
|
|
|
|
|
10 |
R1OUT |
R1IN |
7 |
4 |
|
|
|
|
R41 |
0R |
9 |
T2IN |
T2OUT |
8 |
9 |
|
|
|
|
|
|
|
R2OUT |
R2IN |
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
TP6 |
TP7 |
|
|
DGND |
UART |
DGND |
<![if ! IE]> <![endif]>10 |
<![if ! IE]> <![endif]>11 |
|
|
|
|
|
|||||||
|
SMD |
SMD |
|
|
|
|||||
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
FGND |
|
The SAM3N-EK carries a TFT Transmissive LCD module with touch panel, TM020GDZ18. Its integrated driver IC is ILI9225B. The LCD display area is 2.0 inches diagonally measured, with a native resolution of 176x220 pixels.
The LCD module gets reset from GPIO PA29. The LCD chip select signal is connected to NPCS2. The SAM3N communicates with the LCD through the SPI bus.
Figure 4-6. LCD
NPCS_LCD
SPI CLK
SPI MOSI
|
|
|
+3V3 |
|
|
|
|
|
|
+ C30 |
C31 |
R18 |
R60 |
|
|
|
|
10uF |
100nF |
47K |
47K |
|
|
|
|
|
DGND |
|
|
|
MN6 |
|
|
|
|
|
|
1 |
TM020GDZ18 |
|
|
|
|
|
|
ID |
|
PA30 |
|
|
|
|
|
2 |
|
PA14 |
R19 |
0R |
|
|
|
3 |
NCS |
PA13 |
|
|
|
|
|
4 |
SCL |
|
|
|
|
|
SDA |
||
PA28 |
|
|
|
|
|
5 |
|
PA29 |
|
|
|
|
|
6 |
RS |
|
|
|
|
|
|
7 |
NREST |
|
|
|
|
|
|
8 |
GND |
|
|
|
|
|
|
9 |
IOVDD |
|
|
|
LED_A |
R21 |
0R |
10 |
VDD |
|
|
|
LED_K1 |
|
|
11 |
LEDA |
|
|
|
LED_K2 |
|
|
12 |
LEDK1 |
|
|
DGND |
LED_K3 |
|
|
13 |
LEDK2 |
|
|
|
|
|
|
14 |
LEDK3 |
|
|
|
|
|
|
15 |
Y+ |
|
|
|
|
|
|
16 |
Y- |
|
|
|
LCD |
|
17 |
X+ |
|
|
|
|
|
18 |
X- |
||
|
|
|
|
|
|
|
NC |
The LCD backlight is made of four integrated white chip-LEDs arranged in parallel. These are driven by an AAT3193 charge pump, MN5. The AAT3193 is controlled by the SAM3N through a single PIO line interface (PC13); the 0 Ohm resistor R17 is mounted in series on this line, which permits to use it for other custom purposes. In that case, the pull-up resistor R64 maintains the charge pump permanently enabled by default.
On the anode drive line, a 0 Ohm resistor R21 is implemented in series for an optional current limitation.
SAM3N-EK Development Board User Guide |
|
|
4-5 |
|
|
||
|
|
||
|
|
||
|
|
|
|
11080C–ATARM–30-Mar-11