SAM3N-EK Development Board....................................................................................................................
User Guide
11080C–ATARM–30-Mar-11
Section 1Introduction.................................................................................................................1-1
1.1 SAM3N Evaluation Kit........................................................................................................ 1-1
1.2 User Guide......................................................................................................................... 1-1
1.3 References and Applicable Documents ............................................................................. 1-1
Section 2Kit Contents ................................................................................................................2-1
2.1 Deliverables ....................................................................................................................... 2-1
2.2 Electrostatic Warning ......................................................................................................... 2-2
Section 3Power 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 4Evaluation 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 5QT600.........................................................................................................................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 6Schematics .................................................................................................................6-1
6.1 Schematics......................................................................................................................... 6-1
Section 7Troubleshooting..........................................................................................................7-1
7.1 Self-Test............................................................................................................................. 7-1
7.2 Board Recovery ................................................................................................................. 7-1
Section 8Revision History..........................................................................................................8-1
8.1 Revision History ................................................................................................................. 8-1
SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
Section 1
Introduction
1.1 SAM3N Evaluation Kit
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 fea-tures extension connectors to allow the users to add new interfaces in case they are not on-board.
1.2 User Guide
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.
1.3 References and Applicable Documents
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
Section 2
Kit Contents
2.1 Deliverables
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 con-cerning the contents of the kit.
SAM3N-EK Development Board User Guide 2-1
11080C–ATARM–30-Mar-11
Kit Contents
2.2 Electrostatic Warning
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
Section 3
Power Up
3.1 Power up the Board
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).
3.2 DevStart
The CDROM provided in the kit contains what we call a "DevStart" a.k.a. "Development Start". This bun-dle 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.
3.3 Recovery Procedure
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.
3.4 Sample Code and Technical Support
After boot up, you can run some sample code or your own application on the development kit. You can down load sample code and ge t techn ica l suppor t f rom Atme l webs i te (http://support.atmel.no/bin/customer).
SAM3N-EK Development Board User Guide 3-1
11080C–ATARM–30-Mar-11
Section 4
Evaluation Kit Hardware
4.1 Board Overview
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
4.2 Features List
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)
4.3 Function Blocks
4.3.1 Processor
The SAM3N-EK is equipped with a SAM3N4C device in LQFP100 package.
4.3.2 Memory
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
NPCS3 chip select signal is used for DataFlash chip selection.
DATA FLASH
SPI MOSISPI MISO
SPI CLKNPCS_DATAFLASH
PA12PA13PA14PA22
+3V3
DGND
+3V3
+3V3
R32 0RR32 0R
R28 0RR28 0R
R29 10RR29 10R
MN7AT25DF321MN7AT25DF321
NCS1
SO2
NWP3
VCC8
NHOLD7
SCK6
GND4
SI5
R2747KR2747K
C35100nFC35100nF
R31 0RR31 0R
4-2 SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
4.3.3 Clock Circuitry
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
4.3.4 Reset Circuitry
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
DNP
XIN
PB2
PB3
PB10
PB11
PB4PB6PB7PB5
NRST
PB1
PA0PA1PA2PA3PA4PA5PA6
PA9PA10PA11PA12PA13PA14PA15PA16PA17PA18PA19PA20PA21PA22PA23PA24PA25PA26PA27PA28PA29PA30PA31
PC0
PC1
PC2
P C3
PC4
PC5
PC6
PC7
PC8
PC9
P C10
PC11
PC12
PC13
P C14
PC15
PC16
P C17
PC18
PC19
PC20
PC21
P C22
PC23
PC24
PC25
PC26
P C27
PC28
PC29
PC30
PC31
XOUT
XOUT32
PB0
JTAGSEL
XIN32
PB0
PB6PB7PB10PB11
PB1PB2
PB12
PB3
PB14PB13
PB4PB5
PB13
PB14PB12
XIN32XOUT32
PA7PA8
ADVREF
DGND
DGND
VDDIO
DGND
DGND
DGND VDDPLLVDDCORE DGND
VDDINVDDOUT
DGND
DGND
+3V3
+3V3
+3V3
PA[0..31]
PC[0..31]
PB[0..14]
NRST
R1 DNPR1 DNP
C224.7uF
C224.7uF
C13100nF
C13100nF
R9 DNPR9 DNP
C7100nF
C7100nF
C37pFC37pF
R2 0RR2 0R
C214.7uF
C214.7uF
C10100nF
C10100nF
C47pFC47pF
C20100nF
C20100nF
C15100nF
C15100nF
Y1Y1
12
3
C19100nF
C19100nF
JP3JP3
JP2JP2
C12100nF
C12100nF
Y332.768KHzY332.768KHz
1 234
C18100nF
C18100nF
R7 DNPR7 DNP
C92.2uF
C92.2uF
C17100nF
C17100nF
C5100nFC5100nF
SAM3N - LQFP100
MN1SAM3N4C-AU
SAM3N - LQFP100
MN1SAM3N4C-AU
PA0_PWM0_TIOA074
PA1_PWM1_TIOB072
PA2_PWM2_SCK0_DATRG67
PA3_TWD0_NPCS366
PA4_TWCK0_TCLK055
PA5_RXD0_NPCS353
PA6_TXD0_PCKO52
PA7_RTS0_PWM349
PA8_CTS0_ADTRG48
PA9_URXD0_NPCS146
PA10_UTXD0_NPCS244
PA11_NPCS0_PWM042
PA12_MISO_PWM141
PA13_MOSI_PWM233
PA14_SPCK_PWM331
PA15_TIOA130
PA16_TIOB128
PA17_PCK1_AD012
PA18_PCK2_AD114
PA19_AD218
PA20_AD324
PA21_RXD1_PCK1_AD815
PA22_TXD1_NPCS3_AD920
PA23_SCK1_PWM022
VDDCORE
85
JTAGSEL77
GND
45
GND
95GND
70
GND
26
VDDIO
27
VDDIO
69
VDDIO
91
PB8_XOUT96
PB9_XIN97
PB0_PWM0_AD43
NRST60
VDDCORE
56
ADVREF1
PA25_CTS1_PWM238PA24_RTS1_PWM134
PB2_URXD1_NPCS2_AD67
PB3_UTXD1_PCK2_AD79
PB6_TMS_SWDIO79 PB4_TWD1_PWM2_TDI51
PB5_TWCK1_TDO_TACESWO76 PB7_TCK_SWCLK83
TEST61
PB12_ERASE87 PB14_NPCS1_PWM3
99
VDDOUT
11
PB1_PWM1_AD55
PA26_TIOA239
PA27_TIOB257
PA28_TCLK159
PA29_TCLK263
PA30_NPCS264
PA31_NPCS1_PCK281
VDDIN
10
PB10_DDM88
PB11_DDP89
PB13_PCK0_DAC093
VDDIO
98
VDDCORE
36VDDCORE
16
VDDPLL
100
VDDIO
50
GND
2
PC0
25
PC1
47
PC2
43
PC3
40
PC4_NPCS1
37
PC5
35
PC6
32
PC7_NPCS2
29
PC8_PWM0
58
PC9_PWM1
62
PC10_PWM2
65
PC11_PWM3
68
PC12_AD12
23
PC13_AD10
21
PC14_PCK2
71
PC15_AD11
19
PC16_PCK0
73
PC17_PCK1
75
PC18_PWM0
78
PC19_PWM1
80
PC20_PWM2
82
PC21_PWM3
84
PC22_PWM0
86
PC23_TIOA3
90
PC24_TIOB3
92
PC25_TCLK3
94
PC26_TIOA4
13
PC27_TIOB4
17
PC28_TCLK4
54
PC29_TIOA5_AD13
4
PC30_TIOB5_AD14
6
PC31_TCLK5_AD15
8
R50RR50R
C14
DNP
C14
DNP
C8100nF
C8100nF
Y2 12MHzY2 12MHz
C1 15pFC1 15pF
C16100nF
C16100nF
R4 DNPR4 DNP
R3 0RR3 0R
R100RR100R
JP1DNPJP1DNP
C2 15pFC2 15pF
C11100nF
C11100nF
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.
4.3.5 Power Supply and Management
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
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.
4.3.6 UART
The Universal Asynchronous Receiver Transmitter features a two-pin UART that can be used for com-munication 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.
+3V3+5V
DGND
C251uFC251uFC29
10uF 0805C2910uF 0805
J1MP179P 2.1mmJ1MP179P 2.1mm
12
3
+ C2822uF
+ C2822uF
MN4LP38692MP-3.3MN4LP38692MP-3.3
VIN4
VOUT3
VEN1
NC2
GND
5
MN3ZEN056V130A24LSMN3ZEN056V130A24LS
1
2
3
C27100nFC27100nF
C2610uF 0805C2610uF 0805
4-4 SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
Figure 4-5. UART
4.3.7 Display Interface
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
4.3.8 Backlight Control
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.
UART
PA10PA9
+3V3
DGNDDGND
+3V3 +3V3
FGND
C39100nFC39100nF
C40100nFC40100nF
TP6SMDTP6SMD
J4J4
5
4
3
2
1
9
8
7
6
10 11
R36100KR36100K
R39 0RR39 0R
C38100nFC38100nF
TP7SMDTP7SMD
C41100nFC41100nF
R40 0RR40 0R
R41 0RR41 0R
C42100nFC42100nF
MN8MAX3232CSEMN8MAX3232CSE
T1IN11
T2IN10 R1OUT12
R2OUT9
T1OUT14
T2OUT7R1IN13
R2IN8
V+2
C1+1
C1-3
C2+4
C2-5
V-6
VCC16
GND15
R35100KR35100K
LCD
SPI MOSISPI CLKNPCS_LCD
LED_A
PA14PA13
PA29
LED_K3
PA28
LED_K2LED_K1
PA30
DGND
+3V3
DGND
R19 0RR19 0R
R6047KR6047K
MN6TM020GDZ18MN6TM020GDZ18
1IDNCS
2
SCL3
SDA4
RS5
NREST6
GND7
IOVDD8
VDD9
LEDA10
LEDK111
LEDK212
LEDK313
Y+14
Y-15
X+16
X-17
NC18
C31100nFC31100nF R18
47KR1847K
R21 0RR21 0R
+ C3010uF
+ C3010uF
SAM3N-EK Development Board User Guide 4-5
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
Figure 4-7. Backlight
4.3.9 JTAG/ICE
A standard 20-pin JTAG/ICE connector is implemented on the SAM3N-EK for the connection of a com-patible ARM JTAG emulator interface, such as the SAM-ICE from Segger.
Notes: 1. The NRST signal is connected to BP1 system button. The 0 ohm resistor R30 may be removed in order to isolate the JTAG port from this system reset signal.
2. The TDO pin is in input mode with the pull-up resistor disabled when the Cortex M3 is not in debug mode. To avoid current consumption on VDDIO and/or VDDCORE due to floating input, the internal pull-up resistor corresponding to this PIO line must be enabled.
Figure 4-8. JTAG Connector
4.3.10 PWM Buzzer
A small, magnetic audio transducer connects through a MOSFET to PWM, allowing a range of options for generating simple and complex tones.
Figure 4-9. PWM Buzzer
4.3.11 SD/MMC Card
The SAM3N has a high-speed 4-bit multimedia MMC interface, which is connected to a 4-bit SD/MMC micro card slot featuring a card detection switch.
LCD BACKLIGHT
LED_A
PC13
LED_K1LED_K2LED_K3
+3V3
+3V3
DGND
DGND
R1647KR1647K
R2019.1k, 1%R2019.1k, 1%
C341uFC341uF
C321uFC321uF
MN5AAT3193IJQ-1-T1MN5AAT3193IJQ-1-T1
C+4
C-3
EN/SET6
RSET7
OUT2
IN5
GND8
D11
D210
D39
R170RR170R
C334.7uFC334.7uF
B1BN03K314S300RB1BN03K314S300R
ICE INTERFACE
PB5
PB7PB6PB4
+3V3
DGND
PB[0..14]
NRST
R26100KR26100K
R24100KR24100K
R22100KR22100K
J2J2
VTref1
Vsupply2
nTRST3
GND14
TDI5
GND26
TMS7
GND38
TCK9
GND410
RTCK11
GND512
TDO13
GND614
nSRST15
GND716
DBGRQ17
GND818
DBGACK19
GND920
R25100KR25100K
R23100KR23100K
R30 0RR30 0R
PA1
DGND
+3V3
D5D5
B2BN03K314S300RB2BN03K314S300R
R5922RR5922R
MN9SMD-050020F-03640MN9SMD-050020F-03640
+1
-2
Q2IRLML2502
Q2IRLML2502
1
32
R5810KR5810K
4-6 SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
Figure 4-10. SD Card
4.3.12 Touch Elements
QTouch keys consist of a series of sensors formed by the association of a copper area and the capaci-tive effect of human fingers approaching it.
Figure 4-11. QTouch Elements
Keys
The SAM3N-EK implements two individual capacitive touch keys (RIGHT, LEFT) using two pairs of PIOs.
Slider
A group of channels forms a Slider. A Slider is composed of three channels for a QTouch acquisition method using three pairs of PIOs. Such a sensor is used to detect a linear finger displacement on a sen-sitive area. A typical slider implementation is volume control.
4.3.13 User Buttons
There are two mechanical user buttons on the SAM3N-EK, which are connected to PIO lines and defined to be "left" and "right" buttons by default.
In addition, a mechanical button controls the system reset, signal NRST.
Micro SD CARD in SPI Mode
NPCS_MicroSDSPI MOSI
SPI MISO
SPI CLK PA14
PA11PA13
PA19
PA12
DGND
+3V3
DGND
DGND
R37 0RR37 0R
R3410KR3410K
R3310KR3310K
C37100nFC37100nF
R38 10RR38 10R
J3TF01AJ3TF01A
RSV(DAT2)1
CS(DAT3)2
DI(CMD)3
VCC4
CLK5
VSS6
DO(DAT0)7
RSV(DAT1)8
GND10
CD9
Sh111
Sh212
Sh313
RA147KX4RA147KX4
12345 6 7 8
+ C3610uF
+ C3610uF
QTOUCH
PC9
PC11
PC8
PC10
PC0
PC1
PC3
PC2
PC4
PC5
R55 1KR55 1K
S1DNPS1DNP
SL
SM
SR
SR
K1DNPK1DNP
C5022nFC5022nF
C4622nFC4622nF
R57 1KR57 1K
R54 1KR54 1K
C4722nFC4722nF
K2DNPK2DNP
C4822nFC4822nF
R53 1KR53 1K
C4922nFC4922nF
R56 1KR56 1K
SAM3N-EK Development Board User Guide 4-7
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
Figure 4-12. User Buttons
4.3.14 LEDs
There are four LEDs on the SAM3N-EK board:
A blue LED (D1), a green LED (D2), and an amber LED (D3) which are user-defined and controlled by the GPIO.
A red LED (D4), which is a power LED indicating that the 3.3V power rail is active. It is also controlled by the GPIO and can be treated as a user LED as well. The only difference with the three others is that it is controlled through a MOS transistor. By default, the PIO line is disabled; a pull-up resistor controls the MOS to light the LED when the power is ON.
Figure 4-13. LEDs
4.3.15 ZigBee
SAM3N-EK has a 10-pin male connector for the RZ600 ZigBEE module.
Note: 0 Ohm resistors have been implemented in series with the PIO lines that are used else-where in the design, thereby enabling their individual disconnection, should a conflict occur in your application.
Figure 4-14. ZigBee
4.3.16 PIO Expansion
The SAM3N product features three PIO controllers, PIOA, PIOB and PIOC, which are multiplexed with the I/O lines of the embedded peripherals. Each PIO Controller controls up to 32 lines (15 for PIOB).
Expansion ports J5, J6 provide PIO lines access for customer defined usage.
BUTTONS
PA15
PA16
DGND
NRST
BP1BP11
423
BP3BP31
423
BP2BP21
423
PB14
PA25
PA0
PA23
+3V3
DGND
R44470RR44470R
R42470RR42470R
D4 Red-ledD4 Red-led
Q1IRLML2502
Q1IRLML2502
1
32
R45 100KR45 100K
D3 Amber-ledD3 Amber-led
R46470RR46470R
D2 Green-ledD2 Green-led
D1 Blue-ledD1 Blue-led
R43470RR43470R
IRQ0_ZBEEIRQ1_ZBEECSMISO
MOSISPCK
SLP_TRZB_RSTN
PA13
PC24
PA31PA12 PA14
PC26PC25PC23
DGND
+3V3
C4318pFC4318pF
R52 0RR52 0R
R49 0RR49 0RJ7J7
1 23 45 67 89 10
R48 0RR48 0RR47 0RR47 0R
R50 0RR50 0R
C442.2nFC442.2nF
C452.2uFC452.2uF
R51 10RR51 10R
4-8 SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
Note: All PIO lines are available on these expansion connectors, except those that are used for the QTouch elements.
Figure 4-15. PIO Expansion
4.4 Configuration
This section describes the PIO usage, the jumpers, the test points and the solder drops of a SAM3N-EK board.
4.4.1 PIO Usage
PA0PA1PA2PA3PA4PA5PA6PA7PA8PA9PA10PA11PA12PA13PA14PA15
PA19
PA17
PA21
PA16
PA20
PA18
PA27
PA29
PA26
PA30PA31
PA28
PA25PA24PA23PA22 PC12
PC13PC14PC15PC16PC17PC18PC19PC20PC21
PB10PB11PB12
PC6PB14PB13
PC24PC23PC22
PC25
PC27PC26
PC29PC30PC31
PC28
PB2PB1
PB4PB5PB6
PB3
PB0 PB7
+3V3 +3V3 +3V3+3V3
DGND DGND DGND DGND
+3V3 +5V +5V+3V3
PA[0..31]
PB[0..14]
PC[0..31]
JP9JP91
2
3JP8JP8
1
2
3
J6J61 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 40
J5J51 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 40
Table 4-1. PIO Port A Assignment
I/O Line Peripheral A Peripheral B Peripheral C Extra Function EK Usage Device
PA0 PWM0 TIOA0 WKUP00 POWER LED Led Red
PA1 PWM1 TIOB0 WKUP01 CMD_SOUND BUZZER
PA2 PWM2 SCK0 DATRG WKUP02
PA3 TWD0 NPCS3 WKUP03
PA4 TWCK0 TCLK0
PA5 RXD0 NPCS3 WKUP04
PA6 TXD0 PCK0
PA7 RTS0 PWM3 XIN32 32K Crystal
PA8 CTS0 ADTRG WKUP05 XOUT32 32K Crystal
PA9 URXD0 NPCS1 WKUP06 RX_UART0 UART
PA10 UTXD0 NPCS2 TX_UART0 UART
PA11 NPCS0 PWM0 WKUP07 SPI_NPCS0# MicroSD
SAM3N-EK Development Board User Guide 4-9
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
PA12 MISO PWM1 SPI_MISO
LCD
MicroSDDataFlash
Zigbee
PA13 MOSI PWM2 SPI_MOSI
LCDMicroSD
DataFlash
Zigbee
PA14 SPCK PWM3 WKUP08 SPI_SPCK
LCD
MicroSDDataFlash
Zigbee
PA15 TIOA1 WKUP14 PB_LEFT# Push Button Left
PA16 TIOB1 WKUP15 PB_RIGHT# Push Button Right
PA17 PCK1 AD0
PA18 PCK2 AD1
PA19 AD2/ WKUP09 MicroSD_CD MicroSD
PA20 AD3/ WKUP10
PA21 RXD1 PCK1 AD8
PA22 TXD1 NPCS3 AD9 SPI_NPCS3# DataFlash
PA23 SCK1 PWM0 USR_LED1# Led Blue
PA24 RTS1 PWM1
PA25 CTS1 PWM2 USR_LED3# Led Amber
PA26 TIOA2
PA27 TIOB2
PA28 TCLK1 RS_LCD LCD
PA29 TCLK2 RST_LCD LCD
PA30 NPCS2 WKUP11 SPI_NPCS2# LCD
PA31 NPCS1 PCK2 SPI_NPCS1# ZigBee
Table 4-1. PIO Port A Assignment (Continued)
I/O Line Peripheral A Peripheral B Peripheral C Extra Function EK Usage Device
Table 4-2. PIO Port B Assignment
I/O Line Peripheral A Peripheral B Peripheral C Extra Function EK Usage Device
PB0 PWM0 AD4
PB1 PWM1 AD5
PB2 URXD1 NPCS2 AD6/ WKUP12
PB3 UTXD1 PCK2 AD7
PB4 TWD1 PWM2 TDI JTAG
PB5 TWCK1 WKUP13TDO/
TRACESWOJTAG
4-10 SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
PB6 TMS/SWDIO JTAG
PB7 TCK/SWCLK JTAG
PB8 XOUT_12M 12M Crystal
PB9 XIN_12M 12M Crystal
PB10
PB11
PB12 ERASE JUMPER
PB13 PCK0 DAC0
PB14 NPCS1 PWM3 USR_LED2# Led Green
Table 4-2. PIO Port B Assignment (Continued)
I/O Line Peripheral A Peripheral B Peripheral C Extra Function EK Usage Device
Table 4-3. PIO Port C Assignment
I/O Line Peripheral A Peripheral B Peripheral C Extra Function EK Usage Device
PC0 QT_SL_SNS QTOUCH_SLIDER
PC1 QT_SL_SNSK QTOUCH_SLIDER
PC2 QT_SM_SNS QTOUCH_SLIDER
PC3 QT_SM_SNSK QTOUCH_SLIDER
PC4 NPCS1 QT_SR_SNS QTOUCH_SLIDER
PC5 QT_SR_SNSK QTOUCH_SLIDER
PC6
PC7 NPCS2
PC8 PWM0 QT1_ SNS QTOUCH_KEY_Left
PC9 PWM1 QT1_ SNSK QTOUCH_KEY_Left
PC10 PWM2 QT2_ SNS QTOUCH_KEY_Right
PC11 PWM3 QT2_ SNSK QTOUCH_KEY_Right
PC12 AD12
PC13 AD10 EN_LCD LCD
PC14 PCK2
PC15 AD11
PC16 PCK0
PC17 PCK1
PC18 PWM0
PC19 PWM1
PC20 PWM2
PC21 PWM3
PC22 PWM0 AD16
PC23 TIOA3 ZB_RSTN ZigBee
SAM3N-EK Development Board User Guide 4-11
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
4.4.2 Jumpers
The SAM3N-EK board jumpers are used for many purposes such as internal Flash Memory reinitializa-tion, power current measurement and other configurations.
4.4.3 Test Points
Some test points have been placed on the SAM3N-EK board for the verification of important signals.
PC24 TIOB3 ZB_IRQ0 ZigBee
PC25 TCLK3 ZB_IRQ1 ZigBee
PC26 TIOA4 ZB_SLPTR ZigBee
PC27 TIOB4
PC28 TCLK4
PC29 TIOA5 AD13
PC30 TIOB5 AD14
PC31 TCLK5 AD15
Table 4-3. PIO Port C Assignment (Continued)
I/O Line Peripheral A Peripheral B Peripheral C Extra Function EK Usage Device
Table 4-4. Jumpers
Designation LabelDefault Setting Feature
JP1 JTAGSEL OPEN
Close it to reinitialize the Flash content and some of its NVM bits.
This jumper must be closed for more than 220 ms at power-up to perform the reinitialization.
JP2 ADVREF CLOSEAnalog reference voltage selection, access for external reference voltage
JP3 PB12 OPENERASE, Close to reinitialize the Flash contents and some of its NVM bits
JP4 VDDIO CLOSE Access for current measurement on VDDIO
JP5 VDDIN CLOSE Access for current measurement on VDDIN
JP6 VDDPLL CLOSE Access for current measurement on VDDPLL
JP7 VDDCORE CLOSE Access for current measurement on VDDCORE
JP8 +3V3 1-2DC voltage selection between 3.3V and 5V on PIO expansion ports, default for 3.3V
JP9 +3V3 1-2DC voltage selection between 3.3V and 5V on PIO expansion ports, default for 3.3V
Table 4-5. Test Points
Designation Part Description
TP1 Ring Hook +5V
TP2 Ring Hook +3V3
TP3 Ring Hook GND
TP4 Ring Hook GND
4-12 SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
Evaluation Kit Hardware
4.4.4 Assigned PIO Lines, Disconnection Possibility
As pointed out in previous interface descriptions, 0-Ohm resistors have been inserted on the PIO lines receiver path of the SAM3N-EK. Some PIO lines are connected to an external driver on the board. The 0-Ohm resistors allow disconnecting each of these for custom usage (through PIO expansion connec-tors, for example). This feature gives the user an added level of versatility for prototyping a system of his own. See the table below.
TP5 Ring Hook GND
TP6 Pad UTXD0
TP7 Pad URXD0
Table 4-5. Test Points (Continued)
Designation Part Description
Table 4-6. Disconnection Possibility
Designation Default Assignment PIO
R2 XIN PB9
R3 XOUT PB8
R9, R5 XIN32 PA7
R4, R10 XOUT32 PA8
R17 EN_LCD PC13
R39 URXD0 PA9
R40 UTXD0 PA10
R47 ZB_RSTN PC23
R48 IRQ1_ZBEE PC25
R49 IRQ0_ZBEE PC24
R50 SLP_TR PC26
SAM3N-EK Development Board User Guide 4-13
11080C–ATARM–30-Mar-11
Section 5
QT600
5.1 Overview
The QT600 is an integrated board added in the kit that allows you to develop and debug any application using the Atmel QTouch Library™. QT600 has been designed to give developers a quick and easy way to start developing touch solutions on Atmel ATx Microcontrollers.
QT600 is fully supported by QTouch Library and AVR Studio®, and together these tools form the Atmel QTouch Suite™.
Figure 5-1. SAM3N-EK and QT600 Connection
SAM3N-EK Development Board User Guide 5-1
11080C–ATARM–30-Mar-11
QT600
5.2 System Description
The development system is based on two boards connected together:
QT600 Interface Board
SAM3N-EK Board with Touch Sensor
Figure 5-2. QT600 System Block Diagram
The QT600 Interface board is used to stream live touch data from the SAM3N-EK board. QTouch Studio™ is used as the PC front-end, for visualization of the touch data.
5.3 Features
Live streaming of touch data to QTouch Studio
USB Interface to PC for programming and streamed QTouch Debug data
Powered from USB bus
SAM3N-EKMCU Board + Touch
QT600 Interface Board
Interface betweenTouch MCU and PC PC Front-End
USB QTouch StudioSPI or PIO
5-2 SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
QT600
5.4 Getting Started
To use the QT600 interface, it is necessary to have QTouch Studio™ 3.4.0 or later installed. Download the latest version from www.atmel.com.
Download and install the “Atmel_QTouch_Libraries_4.3_SAM3N_Patch.exe” and follow the installation steps as detailed below:
1. Start the installation process
Figure 5-3. Installation Step 1
2. Accept the terms of the licence agreement
3. Choose the destination location of the folder
4. Update the QT600 firmware
5. Install the program
6. When the installation is complete, click the “Finish” button
Figure 5-4. Installation Step 6
SAM3N-EK Development Board User Guide 5-3
11080C–ATARM–30-Mar-11
QT600
The SAM3N-EK boards must be programmed with the QTouch application code. For ARM products, the examples can be retrieved from the QTouch Library (installation process described on page 5-3).
The example projects must be compiled for the application to work. Refer to the main.c file in each proj-ect for details.
For the SPI interface, the project files are located in:
C:\ProgramFiles\Atmel\Atmel_QTouch_Libraries_4.3\Generic_QTouch_Libraries\AT91SAM\SAM3\QTouch\example_projects\sam3n4_iar_qt_example_spi
For the PIO interface, the project files are located in:
C:\ProgramFiles\Atmel\Atmel_QTouch_Libraries_4.3\Generic_QTouch_Libraries\AT91SAM\SAM3\QTouch\example_projects\sam3n4_iar_qt_example
The Touch Data LED on the QT600 indicates the mode:
Touch Data LED green: Touch Debug Mode (default mode after power-up).
Touch Data LED off: Programmer Mode
Make sure that the Touch Data LED is off before attempting to connect to the QT600 from the QTouch Studio programming dialog. Use AVR Studio 4.18 or later.
1. Connect the 10 wire flat-cable between the Touch Data header on the QT600 and the selected SAM3N-EK board (see Figure 5-9 on page 5-7)
2. Make sure that VTG header is open on the QT600 (see “Target Voltage VTG” on page 5-8)
3. Start AVR QTouch Studio
4. Plug in the USB cable to the QT600. AVR QTouch Studio should now automatically connect to the SAM3N-EK
5. Press the Start Debug button
You should now be able to view the touch data signals and the state of each sensor.
5-4 SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
QT600
Figure 5-5. QTouch Studio GUI
5.5 Hardware Description
5.5.1 QT600 Interface Board
Figure 5-6. QT600 Interface Board
The QT600 Interface Board is the communication interface between the touch system (presently SAM3N-EK) and the AVR QTouch Studio. It receives touch signal data from the MCU running the QTouch Library, and forwards this data to the AVR QTouch Studio for visual presentation.
The QT600 can also be used as a programmer for programming the on-chip flash memory of the micro-controllers on the SAM3N-EK board.
SAM3N-EK Development Board User Guide 5-5
11080C–ATARM–30-Mar-11
QT600
Figure 5-7. QT600 Interface Board Block Diagram
5-6 SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
QT600
5.5.2 TOUCH DATA Connectors
Figure 5-8. TOUCH DATA Connector Pinout
The TOUCH DATA connector located on the QT600 interface board is used for streaming touch data to the PC using the SPI (or PIO) interface. The corresponding connector is located on the Touch SAM3N-EK board. A straight 10-wire cable can be connected between these two connectors.
Figure 5-9. TOUCH DATA Connector
Table 5-1. TOUCH DATA Connector Pinout
Pin Interface NameDirection, QT600 interface board Direction SAM3N-EK Remarks
1TWI
SDA Bi-directional Bi-directionalNot used
2 SCL Bi-directional Bi-directional
3UART
RxD Output InputNot used
4 TxD Input Output
5
SPI
SS Input Output
6 MOSI Input Output
7 MISO Output Input
8 SCK Input Output
9 ALL GND
10 ALL VTG Keep Jumper Open
SDA SCLRxD TxD
SS MOSIMISO SCKGND VTG
1 2
PA31 PA13PA12 PA14GND
1 2
In PIO modeIn SPI mode
Touch Data Connectors
J7 Touch Data
SAM3N-EK Development Board User Guide 5-7
11080C–ATARM–30-Mar-11
QT600
5.5.3 Target Voltage VTG
The VTG is supplied by the MCU board through the 10-wire cable (connected to the TOUCH DATA Connector).
Figure 5-10. VTG
5.5.4 VTG LED
A green LED labeled VTG on the QT600 board is lit when a voltage of 0.9V or higher is available on the VTG net.
5.5.5 TOUCH DATA LED
The status of the LED indicates the operating mode of the QT600.
5.5.5.1 Touch Streaming Mode
When the QT600 is in Touch streaming mode (for use with AVR QTouch Studio), the TOUCH DATA LED is green. When touch data is received from the SAM3N-EK, the LED starts to flash.
5.5.5.2 Programming Mode
When the QT600 is in programming mode (for use with AVR Qtouch Studio), the TOUCH DATA LED is not lit.
Keepopen
5-8 SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
QT600
5.5.6 STATUS LED
Green: Ready state
Orange: Busy programming
Orange/red flashing: Upgrade mode
Orange/green flashing: Upgrade mode, upgrade in progress
During programming, the LED is orange. When the Atmel target device has been successfully pro-grammed, the LED turns green.
5.5.7 Touch ATx Firmware
The firmware for the Touch ATx is based on the QTouch Library. The QTouch Library handles the touch acquisition. The touch measurement values are made available for the application firmware trough an API, which is described in detail in the QTouch Library User Guide.
The touch measurement values available through the Touch Library API are sent to the QT600 with anSPI (or PIO) interface, using a custom protocol. AVR QTouch Studio will read these data packets from the QT600.
See the QT600 Protocol Document for details about the communication protocol.
5.6 Touch Debug
Before a touch debug session can be started, the target microcontroller on the SAM3N-EK board must be programmed. The example projects can be retrieved from the QTouch Library (installation steps are detailed in Section 5.4).
Example projects for both GCC and IAR compilers are available.
1. Connect a 10-wire cable between the Touch Data Connector on the SAM3N-EK board and the Touch Data connector on the QT600 Interface board (see Figure 5-9 on page 5-7)
2. Start AVR QTouch Studio
3. Connect the USB cable to the QT600 interface board
4. Press the Start Debug Button in AVR QTouch Studio
AVR QTouch Studio automatically connects to the QT600 when the USB plug is inserted. The Touch Data streaming starts when the "Start Debug" button is pressed.
5.7 Using QT600 and AVR QTouch Studio for Custom Applications
The QT600 Interface Board and QTouch Studio can be used to read touch data from any application based on the QTouch Library. The only requirement is that there are two I/O pins available and that there is enough free space in flash for the debug protocol and serial interface driver.
The QT600 interface uses an SPI protocol at a frequency of 200 kHz.
Complete firmware driver files are available in the QT600 example projects, which can be downloaded from www.atmel.com/QT600. See the readme.txt file in the QT600 Example Projects folder for instruc-tions on how to add the QT600 protocol files to your firmware project.
SAM3N-EK Development Board User Guide 5-9
11080C–ATARM–30-Mar-11
QT600
5.8 Troubleshooting and Support
5.8.1 Technical Support
For technical support, contact [email protected]. When requesting technical support for the QT600, you should provide the following information:
PC processor type and speed
PC operating system and version
Atmel target device used (complete part number)
Target voltage
Jumper settings
A detailed description of the problem
5.8.2 Force Firmware Upgrade
Before starting the procedure, make sure that the latest AVR Studio release (4.0 or later) has been installed on your PC.
1. If connected to the PC with a USB cable, unplug the QT600.
2. Press and hold the button on QT600 when connecting the USB cable: the status LED flashes red and orange, indicating the upgrade mode.
3. In AVR Studio, go to the Tools menu and select QT600 Upgrade.
4. The Atmel QT600 Upgrade program starts. If a connection has been established, the Status shows "QT600 present".
5. Press the Start Upgrade button: the upgrade program upgrades QT600's firmware.
6. When complete, a message box indicates if the upgrade was successful or not. Disconnect and then reconnect the USB cable.
7. If the upgrade was successful, the status LED turns green. Try to connect to the starter kit with QTouch Studio.
The QT600 USB Br idge f i rmware must be updated us ing the batch f i le ava i lab le in “C:\...\QT600_USB_Bridge_Update” folder before using the Example projects.
Figure 5-11. USB Connector
5-10 SAM3N-EK Development Board User Guide
11080C–ATARM–30-Mar-11
Section 6
Schematics
6.1 SchematicsThis section contains the following schematics:
Block Diagram
Reference Guide
Microcontroller, Power
DataFlash, Micro SD, LCD, BL Driver, JTAG, RS232
IO Expansion, Buzzer, ZigBEE, LEDs, Buttons, QTouch
SAM3N-EK Development Board User Guide 6-1
11080C–ATARM–30-Mar-11
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
DATA Flash
ZIGBEEJTAG
RS232
ATMEL Cortex M3 Processor SAM3N (LQFP100)
SAM3N-EK RevA Block Diagram
SPI LCD
User Interface (PIO Port A,B,C)
QTouch
BUZZER
PBs, LEDs
REV DATEMODIF. DES. DATE VER.SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK15B
XX-XXX-XXNL XXX
Block Diagram
05-MAR-1005-MAY-10NLB
REV DATEMODIF. DES. DATE VER.SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK15B
XX-XXX-XXNL XXX
Block Diagram
05-MAR-1005-MAY-10NLB
REV DATEMODIF. DES. DATE VER.SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK15B
XX-XXX-XXNL XXX
Block Diagram
05-MAR-1005-MAY-10NLB
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
SCHEMATICS CONVENTIONSDEFAULT
JUMPER and SOLDERDROPPAGE REFERENCE FUNCTION
A
REV DATA
REVISION HISTORY
DEFAULT NO POPULATE PARTSPAGE REFERENCE FUNCTION
Reference guide1
Microcontroller, Power2
PAGE
3
Block Diagram
IO Expansion, Buzzer, ZigBEE, LEDs, Buttons, QTouch
4
5
DESCRIPTION
Data Flash, Micro SD, LCD, BL Driver,JTAG, RS232
TABLE OF CONTENTS
NOTE
2010.03.04 ORIGINAL RELEASED
NPCS_LCDNPCS_ZigBee
ERASE
PB0PB1PB2PB3PB4PB5PB6PB7PB8PB9
PB11PB12PB13
PB10
PB14
PIOB USAGE
JTAGJTAGJTAGJTAGXOUT_12MXIN_12M
PC0PC1PC2PC3PC4PC5PC6PC7PC8PC9PC10PC11PC12PC13PC14PC15
PIOC USAGE
PC16PC17PC18PC19PC20PC21PC22PC23PC24PC25
PC27PC28PC29
PC26
PC30PC31
PIOC USAGE
QT_SL_SNS
QT1_SNS
QT2_SNSK
QT_SL_SNSKQT_SM_SNSQT_SM_SNSKQT_SR_SNSQT_SR_SNSK
QT1_SNSKQT2_SNS
PA0PA1PA2PA3PA4PA5PA6PA7PA8PA9PA10PA11PA12PA13PA14PA15
PIOA USAGE
PA16PA17PA18PA19PA20PA21PA22PA23PA24PA25
PA27PA28PA29
PA26
PA30PA31
PIOA USAGE
CMD_SOUNDPOWER LED
XIN32XOUT32 / ADTRGRX_UART0TX_UART0
SPI_MISOSPI_MOSISPI_SPCKPB_USER1
PIO MUXING
PB_USER2
MicroSD_CD
NPCS_DATAFLASHLED_BLUE
LED_GREEN
LED_AMBER
TEST POINTPAGE REFERENCE FUNCTION
(1) Resistance Unit: "K" is "Kohm", "R" is "Ohm?
(2) "DNP" means the component is not populatedby default
RS_LCDRST_LCD EN_LCD
ZB_RSTNZB_IRQ0ZB_IRQ1ZB_SLPTR
3TP1TP2TP3, TP4, TP5
TP6
+5V+3V3GND
UTXD04TP7 URXD0
JP1
JP2
JP3
JP4
JP5
JP6
JP7
JP8JP9
3
5
DNP Close to select JTAG boundary scan
Analog reference voltage selection between 3.3V and 3V,default 3.3V
1-2
ERASE, Close to reinitialize the Flash contents andsome of its NVM bits
OPEN
Access for current measurement on VDDIOCLOSE
CLOSE
CLOSE
CLOSE
Access for current measurement on VDDIN
Access for current measurement on VDDPLL
Access for current measurement on VDDCORE
DC voltage selection between 3.3V and 5V on PIOexpansion ports, default for 3.3V1-2
External clock resource inputY1, R1, R7JP1 Option access for JTAGSELR6, R8R4, R9
Isolation between 12MHz clock source and GPIO lineIsolation between 32KHz clock source and GPIO line
S1, K1, K2 QTouch PADs, not real part5
3
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK25B
XX-XXX-XXNL XXX
Describe
05-MAR-1005-MAY-10NLB
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK25B
XX-XXX-XXNL XXX
Describe
05-MAR-1005-MAY-10NLB
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK25B
XX-XXX-XXNL XXX
Describe
05-MAR-1005-MAY-10NLB
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
DNP
XIN
PB2
PB3
PB10
PB11
PB4PB6PB7PB5
NRST
PB1
PA0PA1PA2PA3PA4PA5PA6
PA9PA10PA11PA12PA13PA14PA15PA16PA17PA18PA19PA20PA21PA22PA23PA24PA25PA26PA27PA28PA29PA30PA31
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10
PC11
PC12
PC13
PC14
PC15
PC16
PC17
PC18
PC19
PC20
PC21
PC22
PC23
PC24
PC25
PC26
PC27
PC28
PC29
PC30
PC31
XOUT
XOUT32
PB0
JTAGSEL
XIN32
PB0
PB6PB7PB10PB11
PB1PB2
PB12
PB3
PB14PB13
PB4PB5
PB13
PB14PB12
XIN32XOUT32
PA7PA8
ADVREF
DGND
DGND
VDDIO
DGND
DGND
DGND VDDPLLVDDCORE DGND
VDDINVDDOUT
DGND
VDDOUTVDDPLL
VDDCORE
VDDIO
VDDIN
DGND
+3V3
+3V3
DGND
+3V3
+3V3+5V
DGND
+3V3
+5V
DGND
+3V3
PA[0..31] {4,5}
PC[0..31] {4,5}
PB[0..14] {4,5}
NRST{4,5}
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK35B
XX-XXX-XXNL XXX
Microcontroller
05-MAR-1005-MAY-10B NL
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK35B
XX-XXX-XXNL XXX
Microcontroller
05-MAR-1005-MAY-10B NL
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK35B
XX-XXX-XXNL XXX
Microcontroller
05-MAR-1005-MAY-10B NL
R1 DNPR1 DNP
TP3TP3
TP1TP1
C22
4.7u
FC2
24.
7uF
C13
100n
FC1
310
0nF
R9 DNPR9 DNP
C710
0nF
C710
0nF
C251uFC251uF
+C2310uF
+C2310uF
C37pFC37pF
C2910uF 0805C2910uF 0805
R2 0RR2 0R
JP6JP6
C21
4.7u
FC2
14.
7uF
C10
100n
FC1
010
0nF
C47pFC47pF
C20
100n
FC2
010
0nF
C15
100n
FC1
510
0nF
Y1Y1
12
3
J1MP179P 2.1mmJ1MP179P 2.1mm
12
3
C19
100n
FC1
910
0nF
JP3JP3
JP2JP2
C12
100n
FC1
210
0nF
Y332.768KHzY332.768KHz
1 234
TP2TP2
C18
100n
FC1
810
0nF
R7 DNPR7 DNP
+ C2822uF
+ C2822uF
MN4LP38692MP-3.3MN4LP38692MP-3.3
VIN4
VOUT3
VEN1
NC2
GN
D5
MN3ZEN056V130A24LSMN3ZEN056V130A24LS
1
2
3
C27100nFC27100nF
TP4TP4
C92.
2uF
C92.
2uF
C17
100n
FC1
710
0nF
C5100nFC5100nF
SAM3N - LQFP100
MN1SAM3N4C-AU
SAM3N - LQFP100
MN1SAM3N4C-AU
PA0_PWM0_TIOA074
PA1_PWM1_TIOB072
PA2_PWM2_SCK0_DATRG67
PA3_TWD0_NPCS366
PA4_TWCK0_TCLK055
PA5_RXD0_NPCS353
PA6_TXD0_PCKO52
PA7_RTS0_PWM349
PA8_CTS0_ADTRG48
PA9_URXD0_NPCS146
PA10_UTXD0_NPCS244
PA11_NPCS0_PWM042
PA12_MISO_PWM141
PA13_MOSI_PWM233
PA14_SPCK_PWM331
PA15_TIOA130
PA16_TIOB128
PA17_PCK1_AD012
PA18_PCK2_AD114
PA19_AD218
PA20_AD324
PA21_RXD1_PCK1_AD815
PA22_TXD1_NPCS3_AD920
PA23_SCK1_PWM022
VD
DC
OR
E85
JTAGSEL77
GN
D45
GN
D95
GN
D70
GN
D26
VD
DIO
27
VD
DIO
69
VD
DIO
91
PB8_XOUT96
PB9_XIN97
PB0_PWM0_AD43
NRST60
VD
DC
OR
E56
ADVREF1
PA25_CTS1_PWM238PA24_RTS1_PWM134
PB2_URXD1_NPCS2_AD67
PB3_UTXD1_PCK2_AD79
PB6_TMS_SWDIO79 PB4_TWD1_PWM2_TDI51
PB5_TWCK1_TDO_TACESWO76 PB7_TCK_SWCLK83
TEST61
PB12_ERASE87 PB14_NPCS1_PWM3
99
VD
DO
UT
11
PB1_PWM1_AD55
PA26_TIOA239
PA27_TIOB257
PA28_TCLK159
PA29_TCLK263
PA30_NPCS264
PA31_NPCS1_PCK281
VD
DIN
10
PB10_DDM88
PB11_DDP89
PB13_PCK0_DAC093
VD
DIO
98
VD
DC
OR
E36
VD
DC
OR
E16
VD
DP
LL10
0
VD
DIO
50
GN
D2
PC
025
PC
147
PC
243
PC
340
PC
4_N
PC
S1
37
PC
535
PC
632
PC
7_N
PC
S2
29
PC
8_P
WM
058
PC
9_P
WM
162
PC
10_P
WM
265
PC
11_P
WM
368
PC
12_A
D12
23
PC
13_A
D10
21
PC
14_P
CK
271
PC
15_A
D11
19
PC
16_P
CK
073
PC
17_P
CK
175
PC
18_P
WM
078
PC
19_P
WM
180
PC
20_P
WM
282
PC
21_P
WM
384
PC
22_P
WM
086
PC
23_T
IOA
390
PC
24_T
IOB
392
PC
25_T
CLK
394
PC
26_T
IOA
413
PC
27_T
IOB
417
PC
28_T
CLK
454
PC
29_T
IOA
5_A
D13
4
PC
30_T
IOB
5_A
D14
6
PC
31_T
CLK
5_A
D15
8
R50RR50R
C14
DNP
C14
DNP
C810
0nF
C810
0nF
Y2 12MHzY2 12MHz
JP4JP4
C1 15pFC1 15pF
C16
100n
FC1
610
0nF
JP5JP5
R4 DNPR4 DNP
C2610uF 0805C2610uF 0805
R3 0RR3 0R
R100RR100R
JP1DNPJP1DNP
C2 15pFC2 15pF
C11
100n
FC1
110
0nF
TP5TP5
JP7JP7
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
ICE INTERFACE
UART
LCD
LCD BACKLIGHT
DATA FLASH
SPI MOSISPI MISO
SPI CLKNPCS_DATAFLASH
Micro SD CARD in SPI Mode
NPCS_MicroSDSPI MOSI
SPI MISO
SPI CLK
EN_LCD
SPI MOSISPI CLKNPCS_LCD
PB5
PB7PB6PB4
PA10PA9
LED_A
PA14LED_A
PC13
PA13
PA29
LED_K3
PA28
LED_K2LED_K1
LED_K1LED_K2LED_K3
PA12PA13PA14PA22
PA14
PA11PA13
PA19
PA12
PA10PA9
PA30
+3V3
DGND
+3V3
DGNDDGND
+3V3 +3V3
FGND
+3V3
+3V3
DGNDDGND
DGND
+3V3
DGND
+3V3
DGND
+3V3
+3V3
DGND
+3V3
DGND
DGND
PC[0..31]{3,5}
PA[0..31]{3,5}
PB[0..14]{3,5}
NRST{3,5}
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK45B
XX-XXX-XXNL XXX
Peripheral_1
05-MAR-1005-MAY-10NLB
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK45B
XX-XXX-XXNL XXX
Peripheral_1
05-MAR-1005-MAY-10NLB
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK45B
XX-XXX-XXNL XXX
Peripheral_1
05-MAR-1005-MAY-10NLB
R1647KR1647K
R2019.1k, 1%R2019.1k, 1%
R26100KR26100K
C39100nFC39100nF
R24100KR24100K
C40100nFC40100nF
TP6SMDTP6SMD
C341uFC341uF
C321uFC321uF
R22100KR22100K
MN5AAT3193IJQ-1-T1MN5AAT3193IJQ-1-T1
C+4
C-3
EN/SET6
RSET7
OUT2
IN5
GND8
D11
D210
D39
J4J4
5
4
3
2
1
9
8
7
6
10 11
R19 0RR19 0R
R6047KR6047K
R36100KR36100K R37 0RR37 0R
R39 0RR39 0R
R3410KR3410K
R3310KR3310K
C37100nFC37100nF
C38100nFC38100nF
R38 10RR38 10R
J3TF01AJ3TF01A
RSV(DAT2)1
CS(DAT3)2
DI(CMD)3
VCC4
CLK5
VSS6
DO(DAT0)7
RSV(DAT1)8
GND10
CD9
Sh111
Sh212
Sh313
TP7SMDTP7SMD
MN6TM020GDZ18MN6TM020GDZ18
1IDNCS
2
SCL3
SDA4
RS5
NREST6
GND7
IOVDD8
VDD9
LEDA10
LEDK111
LEDK212
LEDK313
Y+14
Y-15
X+16
X-17
NC18
C31100nFC31100nF
J2J2
VTref1
Vsupply2
nTRST3
GND14
TDI5
GND26
TMS7
GND38
TCK9
GND410
RTCK11
GND512
TDO13
GND614
nSRST15
GND716
DBGRQ17
GND818
DBGACK19
GND920
RA147KX4RA147KX4
12345 6 7 8
R1847KR1847K
C41100nFC41100nF
R170RR170R
R25100KR25100K
R32 0RR32 0R
R28 0RR28 0R
R23100KR23100K
R29 10RR29 10R
R21 0RR21 0R
C334.7uFC334.7uF
R30 0RR30 0R
R40 0RR40 0R
MN7AT25DF321MN7AT25DF321
NCS1
SO2
NWP3
VCC8
NHOLD7
SCK6
GND4
SI5
B1BN03K314S300RB1BN03K314S300R
R41 0RR41 0R
C42100nFC42100nF
R2747KR2747K
C35100nFC35100nF
MN8MAX3232CSEMN8MAX3232CSE
T1IN11
T2IN10 R1OUT12
R2OUT9
T1OUT14
T2OUT7R1IN13
R2IN8
V+2
C1+1
C1-3
C2+4
C2-5
V-6
VCC16
GND15
+ C3010uF
+ C3010uF
+ C3610uF
+ C3610uF
R31 0RR31 0R
R35100KR35100K
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
IRQ0_ZBEEIRQ1_ZBEECSMISO
MOSISPCK
SLP_TRZB_RSTN
PIO EXPANSION
LEDS
ZIGBEE
BUTTONS
TRANSDUCER
QTOUCH
PA13
PA0PA1PA2PA3PA4PA5PA6PA7PA8PA9PA10PA11PA12PA13PA14PA15
PA19
PA17
PA21
PA16
PA20
PA18
PC24
PA31PA12 PA14
PC26PC25PC23
PA15
PA16
PB14
PA25
PA0
PA27
PA29
PA26
PA30PA31
PA28
PA25PA24PA23PA22 PC12
PC13PC14PC15PC16PC17PC18PC19PC20PC21
PB10PB11PB12
PC6PB14PB13
PC24PC23PC22
PC25
PC27PC26
PC29PC30PC31
PC28
PB2PB1
PB4PB5PB6
PB3
PB0 PB7
PA23
PA1
PC9
PC11
PC8
PC10
PC0
PC1
PC3
PC2
PC4
PC5
+3V3 +3V3 +3V3+3V3
DGND DGND DGND DGND
DGND
DGND
+3V3
DGND
DGND
+3V3
+3V3
+3V3 +5V +5V+3V3
PA[0..31]{3,4}
PB[0..14]{3,4}
PC[0..31]{3,4}
NRST {3,4}
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK55B
XX-XXX-XXNL XXX
Peripheral_2
05-MAR-1005-MAY-10NLB
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK55B
XX-XXX-XXNL XXX
Peripheral_2
05-MAR-1005-MAY-10NLB
REV DATEMODIF. DES. DATE VER.
SCALE 1/1 REV. SHEET
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
INIT EDITA
SAM3N-EK55B
XX-XXX-XXNL XXX
Peripheral_2
05-MAR-1005-MAY-10NLB
R55 1KR55 1K
D5D5
S1DNPS1DNP
SL
SM
SR
SR
B2BN03K314S300RB2BN03K314S300R
R5922RR5922R
K1DNPK1DNP
C4318pFC4318pF
R52 0RR52 0R
C5022nFC5022nF
R49 0RR49 0R
C4622nFC4622nF
J7J71 23 45 67 89 10
R57 1KR57 1K
R44470RR44470R
R42470RR42470R
D4 Red-ledD4 Red-led
JP9JP91
2
3
R48 0RR48 0R
R54 1KR54 1K
R47 0RR47 0R
C4722nFC4722nF
Q1IRLML2502
Q1IRLML2502
1
32
MN9SMD-050020F-03640MN9SMD-050020F-03640
+1
-2
JP8JP81
2
3
K2DNPK2DNP
J6J61 23 45 67 89 10
11 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 40
R50 0RR50 0R
J5J51 23 45 67 89 10
11 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 40
Q2IRLML2502
Q2IRLML2502
1
32
C442.2nFC442.2nF
R45 100KR45 100K
BP1BP11
423
C452.2uFC452.2uF
R51 10RR51 10R
D3 Amber-ledD3 Amber-led
R46470RR46470R
C4822nFC4822nF
BP3BP31
423
BP2BP21
423
D2 Green-ledD2 Green-led
R53 1KR53 1K
C4922nFC4922nF
D1 Blue-ledD1 Blue-led
R43470RR43470R
R5810KR5810K
R56 1KR56 1K
Section 7
Troubleshooting
7.1 Self-Test
A test package software is available to implement a functional test for each section of the board. Refer to the SAM3N-EK page on http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4846.
7.2 Board Recovery
The CDROM provided in the kit contains a recovery procedure allowing to reprogram the board as it was when shipped. An HTML page describing that procedure is located in the directory html of the CDROM. Just open the file demo_recovery.html you will find in there.
SAM3N-EK Development Board User Guide 7-1
11080C–ATARM–30-Mar-11
Section 8
Revision History
8.1 Revision History
Table 8-1.
Document CommentsChange Request Ref.
11080C Note 2 added to Section 4.3.9 ”JTAG/ICE”. 7636
11080B Section 5 “QT600” added. 7544
11080A First issue.
SAM3N-EK Development Board User Guide 8-1
11080C–ATARM–30-Mar-11
11080C–ATARM–30-Mar-11
Headquarters International
Atmel Corporation2325 Orchard ParkwaySan Jose, CA 95131USATel: (+1) (408) 441-0311Fax: (+1) (408) 487-2600
Atmel Asia LimitedUnit 01-5 & 16, 19F BEA Tower, Millennium City 5 418 Kwun Tong Road Kwun Tong, Kowloon HONG KONG Tel: (+852) 2245-6100 Fax: (+852) 2722-1369
Atmel Munich GmbHBusiness CampusParkring 4D-85748 Garching b. MunichGERMANYTel: (+49) 89-31970-0 Fax: (+49) 89-3194621
Atmel Japan9F, Tonetsu Shinkawa Bldg.1-24-8 ShinkawaChuo-ku, Tokyo 104-0033JAPANTel: (81) 3-3523-3551Fax: (81) 3-3523-7581
Product Contact
Web Sitewww.atmel.comwww.atmel.com/AT91SAM
Technical SupportAT91SAM SupportAtmel technical support
Sales Contactswww.atmel.com/contacts/
Literature Requestswww.atmel.com/literature
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 ATMEL’S TERMS AND CONDI-TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDEN-TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifica-tions and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically pro-vided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.
© 2011 Atmel Corporation. All rights reserved. Atmel®, logo and combinations thereof DataFlash®, SAM-BA® and others are registered trade-marks or trademarks of Atmel Corporation or its subsidiaries. ARM®, Thumb® and the ARMPowered logo® and others are registered trademarks or trademarks ARM Ltd. Windows® and others are registered trademarks or trademarks of Microsoft Corporation in the US and/or other coun-tries. Other terms and product names may be trademarks of others.