This User Guide introduces the SAM9N12 and SAM9CN11 Evaluation Kits and describes their development and debugging capabilities running on S
®
The Atmel
SAM9N12/CN11 Evaluation Kit is a fully-featured evaluation platform for the Atmel
SAM9N12 and SAM9CN11 microcontrollers. The evaluation kit allows users to extensively evaluate,
prototype and create application-spec ific de sig ns.
SAM9N12/CN11 Evaluation Kit consists of two boards:
The Evaluation Kit (EK) board
The Display Module (DM) board
1.2User Guide Content
This guide gives details on how the SAM9N12/CN11-EK has be en d esigned. I t is mad e up o f 8 sections:
- storage
Relative humidity0 to 90% (non condensing)
Dimensions
- SAM9N12/CN11-EK
- SAM9N12/CN11-DM
RoHS statusCompliant
2.3Electrostatic Warning
The SAM9N12/CN11 Evaluation Kit is shipped in a protective anti-static package. The board system
must not be subjected to high electrostatic potentials. We strongly recommend using a grounding strap
or similar ESD protective device when handling the board in hostile ESD environments (offices with synthetic carpet, for example). Avoid touching
board.
12/CN11 Evaluation Kit Specifications
5V DC from connector,
or 5V DC from Micro USB receptacle
-10°C to + 50°C
-40°C to + 85°C
135 mm x 100 mm
135 mm x 70 mm
the component pins
or any other metallic element on the
2-2SAM9N12/CN11-EK User Guide
11186A–ATARM–29-Nov-12
3.1Power up the Board
Unpack the board, taking care to avoid el ectrostatic d ischarg e. Unpack t he power supply, sele ct th e right
power plug adapter corresponding to that of your country, and insert it in the power supply.
Section 3
Power Up
Connect the power supply DC connector to the board and plug t
The board LCD should light up and display a graphic demo program. Then, click or touch icons displayed on the screen and enjoy the demo.
3.2Battery
The SAM9N12/CN11-EK ships with a 3V coin battery.
This battery is not required for the board to start up.
The coin battery is provided for user convenience in case t
time backup function of the SAM9N12/CN11 devices when the board is switched off.
3.3Sample Code and Technical Support
After boot-up, designers can run sample code or t heir ow n applica tion on the developm ent kit. Users can
download sample code and get technical suppor t from th e Atm el web site : http://www.atmel.com/.
3.4Recovery Procedure
All boards of Evaluation Kit have passed strict test procedures before shipment. The demo software
boots from SPI DataFlash
the Flash have been deleted, follow the instructions below to recover it to the state as it was when
shipped by Atmel.
®
and stores the binary image in the NAND Flash. If the contents of either of
he power supply to an AC power plug.
he u
ser would like to exercise the date and
Under the web page of SAM9N12/CN11-EK, find the test package of AT91SAM9N12/CN11EK_test_xx_public.zip (xx is the version number), which is the file for Flash content burning. A step-bystep instruction is available in name of SAM9N12/CN11_EK_Test_Software on how to recover the contents and how to make test for each section of the boards.
SAM9N12/CN11-EK User Guide3-1
11186A–ATARM–29-Nov-12
4.1Board Overview
This section introduces the Atmel SAM9N12/CN11 Evaluation Kit design. It intr oduces system- level concepts, such as power distribution, memory, and interface assignments.
The SAM9N12/CN11-EK board is built around on the integration of an ARM
(BGA 217 package) with on-board SDRAM, NAND-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. SAM9N12 Board Architecture
Section 43
Evaluation Kit Hardware
®
926-based microcontroller
SAM9N12/CN11-EK User Guide4-1
11186A–ATARM–29-Nov-12
Figure 4-2. SAM9CN11 Board Architecture
4.2Equipment List
4.2.1Features List
Here is the list of the EK board components:
SAM9N12/CN11 microcontroller BGA
– 16 MHz crystal
– 32.768 kHz cry stal
Memory
– 1 Gbit DDR2 memory
– 2 Gbits NAND Flash memor y with chip selection control switch
– Optional NOR Flash
– 32 Mbits SPI serial DataFlash with chip selection control switch
– 512 Kbits serial EEPROM
– 1 Kbit 1-Wire EEPROM
4-2SAM9N12/CN11-EK User Guide
11186A–ATARM–29-Nov-12
– SD/MMC interface
Communication
– One Ethernet Physical Transceiver Layer with RJ45 connector
– UART DBGU port with level shifter IC
– JTAG/ICE port
– USB Host and Device
–ZigBee
Add-on Display Module
– TFT LCD module with touch screen
–QTouch
Audio CODEC with input stereo headphone and microphone
On-board power regulation and backup battery
Two user LEDs and one power LED
System buttons: NRST, WKUP, OE_CS
One user button
4.2.2Interface Connection
The SAM9N12/CN11-EK board includes hardware interfaces such as:
DC power supply (J1)
Backup battery (Bt1)
USB host, type A connector (J2)
USB device, micro B connector (J3)
One Ethernet 10/100 interface through an ETH controller (J16)
DBGU (RX and TX only) connected to a 9-way male RS232 connector (J11)
JTAG, 20 pin IDC connector (J4)
SD connector (J8)
Headphone (J13), line-in (J15), on board mic-phone (mic1)
DM board connection for QTouch and TFT LCD display with touch screen and backlight (J9, J10)
ZigBee connector (J12)
Three IO expansion ports (J5, J6, J7)
Test points (various test points are located throughout the board )
The SAM9N12/CN11-EK Board contains three regulated power supplies:
3.3V DC supply
1.8V DC supply
1.0V DC core supply
The outputs of these regulated power supplies are distributed as necessary to the circuits on boards.
The USB supplies and the 5V input DC block are further regulated to 3.3V. The main 3.3V regula tor is
a
sed on a RICHTEK RT9018A low dropout regulator prov iding a fixed output of 3.3V. Its output is used
N. C1
N. C2
N. C3
N. C4
N. C5
N. C6
N. C7
N. C8
N. C9
N. C10
N. C11
N. C12
N. C13
N. C14
N. C15
N. C16
N. C17
N. C18
N. C19
N. C20
N. C21
N. C22
N. C23
N. C24
N. C25
MT29F2G08ABDHC:D
NAND FLA SH
MT29F2G08ABD
VFBGA-63
N.C26
N.C27
N.C28
N.C29
N.C30
N.C31
N.C32
N.C33
N.C34
N.C35
N.C36
N.C37
N.C38
N.C39
I/O 0
I/O 1
I/O 2
I/O 3
I/O 4
I/O 5
I/O 6
I/O 7
VCC
VCC
VCC
VCC
VSS
VSS
VSS
VSS
NAND FLASH
34
FLASH_D0
36
FLASH_D1
39
FLASH_D2
FLASH_D3
41
FLASH_D4
47
49
FLASH_D5
51
FLASH_D6
FLASH_D7
53
FLASH_D8
35
37
FLASH_D9
40
FLASH_D10
FLASH_D11
42
FLASH_D12
48
50
FLASH_D13
52
FLASH_D14
54
FLASH_D15
56
46
26
27
13
33
38
C68
12
100n F
28
31
H4
NAND_FSH_D0
NAND_FSH_D1
J4
NAND_FSH_D2
K4
K5
NAND_FSH_D3
K6
NAND_FSH_D4
J7
NAND_FSH_D5
NAND_FSH_D6
K7
J8
NAND_FSH_D7
H3
J3
H5
J5
H6
G6
H7
G7
L9
L10
M1
M2
M9
M10
VDDNF
D3
G4
H8
J6
C5
F7
K3
K8
+1V8
C80100nF
C81100nF
C83100nF
C85100nF
C69
100n F
SAM9N12/CN11-EK User Guide4-9
11186A–ATARM–29-Nov-12
A 3-state buffer is in serial with NAND flash’s CE signal, with PB1 to give a manually disable manner for
NAND boot.
4.3.8UART DBGU
The Universal Asynchronous Receiver Transmitter features a two-pin UART that can be used for communication and trace purposes and offers an ideal medium for in-situ programming solutions.
This two-pin UART (TXD and RXD only) is buffered throu gh an RS232 transceiver MN16 and brought to
DB9 male connector J11.
the
Figure 4-11. UART
MN 16
VDDI OP0
R135
100K
PA10
(D TXD )
PA9
(DRXD)
R136
100K
VDD I OP0
C92
100 nF
C90
100nF
C93
100nF
MAX323 2CSE
16
VCC
2
V+
6
V-
15
GND
11
T1IN
12
R1OUT
10
T2IN
9
R2OUT
UART
C1+
C2+
T1OU T
R1IN
T2OU T
R2IN
C1-
C2-
1
C91
3
4
5
14
13
7
8
100nF
C94
100nF
J11
1
6
2
7
3
8
4
9
5
10
11
4.
3.9JTAG Interface
The SAM9N12/CN11-EK board includes a JTAG interface port (J4), to provide deb ug level access t o the
ocessor. The JTAG port is a 20-pin male connector. This port provides the required interface for in-cir-
The SAM9N12/CN11 serial processor provides two high-speed Serial Peripheral Interface (SPI) controllers. One port is used to interface with the on-board serial DataFlash.
A 3-state buffer is in serial with DataFlash CS signal, with PB1 to give a manually disable manner for
Flash boot.
Data
Figure 4-13. SPI DataFlash
4.3.
11Two Wire Interface (TWI)
The SAM9N12/CN11 processor has two full speed (400 kHz) master/slave I2 C serial controllers. The
rollers are fully compatible with the industry standard I2C interfaces. On the EK board, TWI0 port is
cont
used to interface with serial EEPROM, QTouch device and audio CODEC interface.
SAM9N12/CN11 processor supports TWI EEPROM boot at the device
address of 0x50. On board, the
EEPROM device address is 0x51. Customer needs to dismount R61 and mount R62 as 10 kohms, if
EEPROM boot is needed.
Figure 4-14. EEPROM
SAM9N12/CN11-EK User Guide4-11
11186A–ATARM–29-Nov-12
4.3.12USB Ports
TP12
+5V
+
C37
10uF
C32
10pF
D6
TVS
1
2
D5
TVS
1
2
R160R
R170R
R180R
R190R
D4
TVS
1
2
USB_A
J2
USB-AF-4
1
4
5
2
3
6
USB_+5V
PC31
RV1
V5.5MLA0603
PB8
VBUS
SHD
DM
DP
ID
GN D
J3
USB Micro B
1
2
3
4
5
7
6
8
9
C31
100nF
R2127R
R2027R
R2427R
R2527R
R26
47K
MN6
SP2526A-2
ENA
1
FLGA
2
ENB
4
OUTA
8
GNG6FLGB
3
IN
7
OUTB
5
D2
TVS
1
2
PB7
L7
220ohm at 100MH z
12
R2247K
C17
100nF
L6
220ohm at 100MH z
12
+5V_LCD
D3
TVS
1
2
R23
68K
+3V3
TP14
RV2
V5.5MLA0603
+
C15
33uF
PB16
+
C20
33uF
C25
100nF
The SAM9N12/CN11-EK features two full speed (OHCI) USB ports:
Host full speed, type A USB receptacle, J2
Device full speed, micro B USB receptacle, J3
SAM9N12/CN11-EK features USB power function from device
port J3. SW1 functions as switch
between USB supply and DC input jack J1.
The USB host ports are equipped with 500 mA power switch for bus-powered applications.
Figure 4-15. USB Port
4-12SAM9N12/CN11-EK User Guide
11186A–ATARM–29-Nov-12
4.3.131-Wire EEPROM
MN11
DS2431P+
IO
2
GND
1
NC1
3
NC2
4
NC3
5
NC4
6
VDDIOP0
R650R
PA4
R64
1.5K
The SAM9N12/CN11 Evaluation Kit uses 1-Wire device as “soft label” to store the information such as
chip type, manufacture’s name, production date, etc.
Figure 4-16. 1-Wir
4.3.14ETH on EBI
The SAM9N12/CN11 Evaluation Kit uses EBI-based 8-bit EMAC controller KSZ8851 to implement a
10/10
status LEDs.
For more information about the Ethernet controller device, refer to the Micrel KSZ8851 manufacturer's
data
e
0 Ethernet access. The board integrates an RJ45 connector with embedded transformer, and two