AT91SAM9G20 Microcontroller Schematic Check List: At91 Arm Thumb-Based Microcontrollers Application Note
AT91SAM9G20 Microcontroller Schematic Check List: At91 Arm Thumb-Based Microcontrollers Application Note
Check List
6431C–ATARM–09-Feb-10
2. Associated Documentation
Before going further into this application note, it is strongly recommended to check the latest
documents for the AT91SAM9G20 microcontroller on Atmel’s Web site.
Table 2-1 gives the associated documentation needed to support full understanding of this appli-
cation note.
2 Application Note
6431C–ATARM–09-Feb-10
Application Note
1V and 3.3V Dual Power Supply with 3.3V Powered Memories Schematic Example
1µH
VDDOSC
1R
100nF
4.7µF
GND
100nF
VDDANA
GNDANA
100nF
VDDIOP
GND
VDDUSB
10µF 100nF
DC/DC Converter
GND
VDDIOM
3.3V 10µF 100nF
GND
Linear Regulator
10µH
VDDPLL
1V
1R
100nF
4.7µF
GNDPLL
100nF
VDDBU
DC/DC Converter
GNDBU
VDDCORE
1V 10µF 100nF
GND
3
6431C–ATARM–09-Feb-10
; Signal Name Recommended Pin Connection Description
Powers the device.
0.9V to 1.1V
VDDCORE Decoupling/Filtering capacitors
Decoupling/Filtering capacitors must be added to improve
(100 nF and 10µF)(1)(2)
startup stability and reduce source voltage drop.
Powers the PLL cells.
1.65V to 3.6V The VDDOSC power supply pin draws small current, but it
VDDOSC is noise sensitive. Care must be taken in VDDOSC power
Decoupling/Filtering RLC circuit(1) supply routing, decoupling and also on bypass capacitors.
4 Application Note
6431C–ATARM–09-Feb-10
Application Note
5
6431C–ATARM–09-Feb-10
; Signal Name Recommended Pin Connection Description
Clock, Oscillator and PLL
Crystal Load Capacitance to check (CCRYSTAL).
AT91SAM9G20
6 Application Note
6431C–ATARM–09-Feb-10
Application Note
AT91SAM9G20
XIN32
32.768 kHz Crystal
XOUT32 C CRYSTAL32
7
6431C–ATARM–09-Feb-10
; Signal Name Recommended Pin Connection Description
ICE and JTAG(4)
This pin is a Schmitt trigger input.
TCK Pull-up (100 kOhm)(1)
No internal pull-up resistor.
This pin is a Schmitt trigger input.
TMS Pull-up (100 kOhm)(1)
No internal pull-up resistor.
This pin is a Schmitt trigger input.
TDI Pull-up (100 kOhm)(1)
No internal pull-up resistor.
TDO Floating Output driven at up to VVDDIOP
RTCK Floating Output driven at up to VVDDIOP
Can be left unconnected.
NTRST It is strongly recommended to tie this Internal pull-up resistor to VVDDIOP (100 kOhm).
pin to VDDIOP0 in harsh(5) environments.
In harsh environments,(5) It is strongly
recommended to tie this pin to GNDBU Internal pull-down resistor to GNDBU (15 kOhm).
JTAGSEL
if not used or to add an external low- Must be tied to VVDDBU to enter JTAG Boundary Scan.
value resistor (such as 1 kOhm).
Reset/Test
NRST is configured as an output at power up.
Application dependent.
NRST Can be connected to a push button for NRST is controlled by the Reset Controller (RSTC).
hardware reset. An internal pull-up resistor to VVDDIOP (100 kOhm) is
available for User Reset and External Reset control.
In harsh environments,(5) It is strongly
recommended to tie this pin to GNDBU
TST Internal pull-down resistor to GNDBU (15 kOhm).
if not used or to add an external low-
value resistor (such as 1 kOhm).
Must be tied to VVDDIOP to boot on Embedded ROM.
BMS Application dependent. Must be tied to GND to boot on external memory
(EBI Chip Select 0).
Shutdown/Wakeup Logic
Application dependent.
A typical application connects the pin
SHDN to the shutdown input of the DC/DC
Converter providing the main power The SHDN pin is a tri state output.
supplies. No internal pull-up resistor.
SHDN
An external pull-up to VDDBU is needed SHDN pin is driven low to GNDBU by the Shutdown
and its value is to be higher than 1 MOhm. Controller (SHDWC).
The resistor value is calculated according
to the regulator enable implementation
and the SHDN level.
This pin is an input-only.
WKUP 0V to VVDDBU WKUP behavior can be configured through the Shutdown
Controller (SHDWC).
8 Application Note
6431C–ATARM–09-Feb-10
Application Note
9
6431C–ATARM–09-Feb-10
; Signal Name Recommended Pin Connection Description
USB Host (UHP)
Internal pull-down resistors.
HDPA
Application dependent(6) Refer to the electrical specifications of the
HDPB AT91SAM9G20 datasheet.
Internal pull-down resistors.
HDMA
Application dependent(6) Refer to the electrical specifications of the
HDMB AT91SAM9G20 datasheet.
USB Device (UDP)
Integrated programmable pull-up resistor (UDP_TXVC)
Integrated pull-down resistor to prevent over consumption
when t he host is disconnected.
DDP Application dependent(7)
100nF
VDDCORE
100nF
VDDCORE
100nF
VDDCORE
GND
3. The power supplies VDDIOM and VDDIOP and VDDUSB power the device differently when interfacing with memories or
with peripherals.
4. It is recommended to establish accessibility to a JTAG connector for debug in any case.
5. In a well-shielded environment subject to low magnetic and electric field interference, the pin may be left unconnected. In
noisy environments, a connection to ground is recommended.
10 Application Note
6431C–ATARM–09-Feb-10
Application Note
5V 0.20A
Type A Connector
10μF 100nF 10nF
HDMA REXT
or
HDMB
HDPA
or
REXT
HDPB
5V Bus Monitoring 27 K
PIO
47 K
REXT
2 1
DDM
DDP
3 Type B 4
REXT Connector
11
6431C–ATARM–09-Feb-10
4. External Bus Interface (EBI) Hardware Interface
Table 4-1 and Table 4-2 detail the connections to be applied between the EBI pins and the
external devices for each Memory Controller:
Controller SMC
D0 - D7 D0 - D7 D0 - D7 D0 - D7 D0 - D7 D0 - D7 D0 - D7
NCS1/SDCS CS CS CS CS CS CS
NCS2 CS CS CS CS CS CS
NCS3/NANDCS CS CS CS CS CS CS
NCS4/CFCS0 CS CS CS CS CS CS
NCS5/CFCS1 CS CS CS CS CS CS
NRD/CFOE OE OE OE OE OE OE
(1) (2)
NWR0/NWE WE WE WE WE WE WE
(1) (2) (3)
NWR1/NBS1 – WE NUB WE NUB BE1(5)
NWR3/NBS3 – – – WE(2) NUB(4) BE3(5)
Notes: 1. NWR1 enables upper byte writes. NWR0 enables lower byte writes.
2. NWRx enables corresponding byte x writes. (x = 0, 1, 2 or 3)
3. NBS0 and NBS1 enable respectively lower and upper bytes of the lower 16-bit word.
4. NBS2 and NBS3 enable respectively lower and upper bytes of the upper 16-bit word.
5. BEx: Byte x Enable (x = 0,1,2 or 3)
12 Application Note
6431C–ATARM–09-Feb-10
Application Note
A0/NBS0 DQM0 A0 A0 –
A1/NWR2/NBS2 DQM2 A1 A1 –
A11 A9 – – –
SDA10 A10 – – –
A12 – – – –
A15 – – – –
A16/BA0 BA0 – – –
A17/BA1 BA1 – – –
A18 - A20 – – – –
A21 – – – ALE
A23 - A24 – – – –
(1) (1)
A25 – CFRNW CFRNW –
NCS0 – – – –
NCS1/SDCS CS – – –
NCS2 – – – –
NCS3/NANDCS – – – CE(6)
NANDOE – – – RE
NANDWE – – – WE
NRD/CFOE – OE – –
NWR0/NWE/CFWE – WE WE –
13
6431C–ATARM–09-Feb-10
Table 4-2. EBI Pins and External Device Connections (Continued)
Pins of the Interfaced Device
CompactFlash
CompactFlash
Signals: SDRAM(3) True IDE Mode NAND Flash(4)
(EBI only)
EBI_ (EBI only)
Controller SDRAMC SMC
SDCKE CKE – – –
RAS RAS – – –
CAS CAS – – –
SDWE WE – – –
Pxx(2) – – – RDY
Notes: 1. Not directly connected to the CompactFlash slot. Permits the control of the bidirectional buffer between the EBI data bus and
the CompactFlash slot.
2. Any PIO line.
3. For SDRAM connection examples, See Using SDRAM on AT91SAM9 Microcontrollers application note.
4. For NAND Flash connection examples, See NAND Flash Support in AT91SAM9 Microcontrollers application note.
5. I/O8 - I/O15 bits used only for 16-bit NAND Flash.
6. CE connection depends on the NAND Flash.
For standard NAND Flash devices, it must be connected to any free PIO line.
For “CE don’t care” NAND Flash devices, it can be connected either to NCS3/NANDCS or to any free PIO line.
14 Application Note
6431C–ATARM–09-Feb-10
Application Note
Note: Any other crystal can be used but it prevents using the USB for SAM-BA Boot.
If the Internal RC Oscillator is used (OSCSEL = 0) and the Main Oscillator is bypassed:
Note: Any other input frequency can be used but it prevents using the USB for SAM-BA Boot.
For the current AT91SAM9G20 revisions (A and B), booting from the Internal RC Oscillator
(OSCSEL = 0) prevents from using SAM-BA Boot through the USB device interface. More
details in the errata section of the product datasheet.
Note: Booting either on USB or on DBGU is possible with any of these crystals.
15
6431C–ATARM–09-Feb-10
If an external 32,768 Hz Oscillator is used (OSCSEL = 1) and the Main Oscillator is bypassed:
Note: Booting either on USB or on DBGU is possible with any of these input frequencies.
Table 5-7. Pins Driven during NAND Flash Boot Program Execution
Peripheral Pin PIO Line
PIOC PIOC14 (for NAND Chip Select) PC14
PIOC PIOC13 (for NAND Ready Busy) PC13
Address Bus NAND CLE A22
Address Bus NAND ALE A21
16 Application Note
6431C–ATARM–09-Feb-10
Application Note
SD Card Boot support depends on component version. Refer to the AT91SAM9G20 datasheet.
17
6431C–ATARM–09-Feb-10
Revision History
Change
Request
Doc. Rev Comments Ref.
Figure edited on top of Section 3. “Schematic Check List” 6890
6431C “VDDPLL” on page 4 edited 6793
‘3.3V Square wave signal’ edited for XIN in bypass mode on page 6 6748
Remove PLLRCA pin from Section 3. “Schematic Check List” rfo
1V to 3.3V change in Section 3. “Schematic Check List” 5942
Add Section 5.5 “EEPROM Boot” and Section 5.6 “SD Card Boot” on page 17 6144
6431B Edit SHDN in Section 3. “Schematic Check List” 6028
Edit the hyperlink to AT91SAM9G20 product in Section 2. “Associated Documentation” on page 2 5912
Add 2 sentences at the end of Section 5.1.1 “On-chip RC Selected (OSCSEL = 0)” on page 15 6143
Add a Caution paragraph on top of Section 3. “Schematic Check List” 6124
6431A First Issue
18 Application Note
6431C–ATARM–09-Feb-10
Headquarters International
Product Contact
Literature Requests
www.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.
© 2010 Atmel Corporation. All rights reserved. Atmel ®, Atmel logo and combinations thereof, DataFlash ®, SAM-BA ® and others are registered
trademarks or trademarks of Atmel Corporation or its subsidiaries. ARM ®, the ARM Powered ® logo, Thumb ® and others are registered trade-
marks or trademarks of ARM Ltd. Other terms and product names may be the trademarks of others.
6431C–ATARM–09-Feb-10