7.1Revision History ........................................................................................7-1
-iiAT91SAM7SE-EK Evaluation Board User Guide
6241B–ATARM–22-Mar-07
Section 1
Overview
1.1ScopeThe AT91SAM7SE-EK evaluation board enables the evaluation of and code develop-
ment for applications running on an AT91SAM7SE device.
This guide focuses on the AT91SAM7SE-EK board as an evaluation platform.
1.2Deliverables
1.2.1Standard Version
AT91SAM7S-EK
VAR
1.3AT91SAM7SEEK Evaluation
Board
The AT91SAM7SE-EK package contains the following items:
! An AT91SAM7SE-EK board
! One Universal input AC/DC power supply with US and Europe plug adapter
! One A/B-type USB cable
! One serial RS232 cable
! One CD-ROM containing summary and full datasheets, datasheets with electrical and
mechanical characteristics, application notes and getting started documents for all
development boards and AT91 microcontrollers. An AT91 software package with C
and assembly listings is also provided. This allows the user to begin evaluating the
AT91 A R M
The board is equipped with an AT91SAM7SE512 (128-pin LQFP package) together with
the following:
! 32 Mbytes of SDRAM memory
! 256 Mbytes of NAND Flash memory
! One USB device port interface
! One DBGU serial communication port
®
Thumb® 32-bit microcontroller quickly.
! One additional serial communication port with RTS/CTS handshake control
! One JTAG/ICE debug interface
! One Atmel AT73C213 Stereo Audio DAC
AT91SAM7SE-EK Evaluation Board User Guide1-1
6241B–ATARM–22-Mar-07
Overview
! One power LED and two general-purpose LEDs
! One joystick and two user input pushbuttons
! One Reset pushbutton
! Three expansion connectors (PIO A, PIO B, PIO C)
! One EBI expansion BGA-like footprint connector
1-2AT91SAM7SE-EK Evaluation Board User Guide
6241B–ATARM–22-Mar-07
Section 2
Setting Up the AT91SAM7SE-EK
Board
2.1Electrostatic
Warning
2.2RequirementsIn order to set up the AT91SAM7SE-EK evaluation board, the following items are
The AT91SAM7SE-EK evaluation board is shipped in protective anti-static packaging.
The 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
component pins or any other metallic element.
needed:
! The AT91SAM7SE-EK evaluation board itself.
! AC/DC power adapter (5V at 2A), 2.1 mm x 5.5 mm
AT91SAM7SE-EK Evaluation Board User Guide2-1
6241B–ATARM–22-Mar-07
Setting Up the AT91SAM7SE-EK Board
2.3LayoutFigure 2-1. AT91SAM7SE-EK Layout - Top View
2-2AT91SAM7SE-EK Evaluation Board User Guide
6241B–ATARM–22-Mar-07
Setting Up the AT91SAM7SE-EK Board
Figure 2-2. AT91SAM7SE-EK Layout - Bottom View
2.4Powering Up the
Board
The AT91SAM7SE-EK requires 5V DC (±5%). DC power is supplied to the board via the
2.1 mm x 5.5 mm socket J1. Coaxial plug center positive standard.
2.5Getting StartedThe AT91SAM7SE-EK evaluation board is delivered with a CD-ROM containing all nec-
essary information and step-by-step procedures for working with the most common
development toolchains. Please refer to this CD-ROM, or to the AT91 web site,
http://www.atmel.com/products/AT91/, for the most up-to-date information on getting
• Incorporates the ARM7TDMI® ARM® Thumb® Processor
– High-performance 32-bit RISC Architecture
– High-density 16-bit Instruction Set
– Leader in MIPS/Watt
– EmbeddedICE
• Internal High-speed Flash
– 512 Kbytes, Organized in Two Contiguous Banks of 1024 Pages of 256 Bytes
Dual Plane (AT91SAM7SE512)
– 256 Kbytes (AT91SAM7SE256) Organized in One Bank of 1024 Pages of 256
Bytes Single Plane (AT91SAM7SE256)
– 32 Kbytes (AT91SAM7SE32) Organized in One Bank of 256 Pages of 128 Bytes
Single Plane (AT91SAM7SE32)
– Single Cycle Access at Up to 30 MHz in Worst Case Conditions
– Prefetch Buffer Optimizing Thumb Instruction Execution at Maximum Speed
– Page Programming Time: 6 ms, Including Page Auto-erase, Full Erase Time: 15
ms
– 10,000 Erase Cycles, 10-year Data Retention Capability, Sector Lock Capabilities,
Flash Security Bit
– Fast Flash Programming Interface for High Volume Production
• 32 Kbytes (AT91SAM7SE512/256) or 8 Kbytes (AT91SAM7SE32) of Internal
High-speed SRAM, Single-cycle Access at Maximum Speed
• One External Bus Interface (EBI)
– Supports SDRAM, Static Memory, Glueless Connection to CompactFlash
ECC-enabled NANDFlash
• Memory Controller (MC)
– Embedded Flash Controller
– Memory Protection Unit
– Abort Status and Misalignment Detection
• Reset Controller (RSTC)
– Based on Power-on Reset Cells and Low-power Factory-calibrated Brownout
Detector
– Provides External Reset Signal Shaping and Reset Source Status
• Clock Generator (CKGR)
– Low-power RC Oscillator, 3 to 20 MHz On-chip Oscillator and One PLL
• Power Management Controller (PMC)
™
In-circuit Emulation, Debug Communication Channel Support
®
and
AT91SAM7SE-EK Evaluation Board User Guide3-1
6241B–ATARM–22-Mar-07
Board Description
– Power Optimization Capabilities, Including Slow Clock Mode (Down to 500 Hz)
and Idle Mode
– Three Programmable External Clock Signals
• Advanced Interrupt Controller (AIC)
– Individually Maskable, Eight-level Priority, Vectored Interrupt Sources
– Two External Interrupt Sources and One Fast Interrupt Source, Spurious Interrupt
Protected
• Debug Unit (DBGU)
– Two-wire UART and Support for Debug Communication Channel interrupt,
Programmable ICE Access Prevention
• Periodic Interval Timer (PIT)
– 20-bit Programmable Counter plus 12-bit Interval Counter
• Windowed Watchdog (WDT)
– 12-bit key-protected Programmable Counter
– Provides Reset or Interrupt Signals to the System
– Counter May Be Stopped While the Processor is in Debug State or in Idle Mode
• Real-time Timer (RTT)
– 32-bit Free-running Counter with Alarm
– Runs Off the Internal RC Oscillator
• Three Parallel Input/Output Controllers (PIO)
– Eighty-eight Programmable I/O Lines Multiplexed with up to Two Peripheral I/Os
– Input Change Interrupt Capability on Each I/O Line
– Individually Programmable Open-drain, Pull-up Resistor and Synchronous Output
– Schmitt Trigger on All inputs
• Eleven Peripheral DMA Controller (PDC) Channels
• One USB 2.0 Full Speed (12 Mbits per second) Device Port
– Independent Clock and Frame Sync Signals for Each Receiver and Transmitter
– I²S Analog Interface Support, Time Division Multiplex Support
– High-speed Continuous Data Stream Capabilities with 32-bit Data Transfer
• Two Universal Synchronous/Asynchronous Receiver Transmitters (USART)
– Individual Baud Rate Generator, IrDA
®
Infrared Modulation/Demodulation
– Support for ISO7816 T0/T1 Smart Card, Hardware Handshaking, RS485 Support
– Full Modem Line Support on USART1
• One Master/Slave Serial Peripheral Interfaces (SPI)
– 8- to 16-bit Programmable Data Length, Four External Peripheral Chip Selects
• One Three-channel 16-bit Timer/Counter (TC)
– Three External Clock Inputs, Two Multi-purpose I/O Pins per Channel
– Double PWM Generation, Capture/Waveform Mode, Up/Down Capability
• One Four-channel 16-bit PWM Controller (PWMC)
• One Two-wire Interface (TWI)
– Master, Multi-Master and Slave Mode Support, All Two-wire Atmel EEPROMs
Supported
– General Call Supported in Slave Mode
• One 8-channel 10-bit Analog-to-Digital Converter, Four Channels Multiplexed with
Digital I/Os
• SAM-BA
™
– Default Boot program
– Interface with SAM-BA Graphic User Interface
3-2AT91SAM7SE-EK Evaluation Board User Guide
6241B–ATARM–22-Mar-07
Board Description
• IEEE® 1149.1 JTAG Boundary Scan on All Digital Pins
• Four High-current Drive I/O lines, Up to 16 mA Each
• Power Supplies
– Embedded 1.8V Regulator, Drawing up to 100 mA for the Core and External
Components
– 1.8V or 3,3V VDDIO I/O Lines Power Supply, Independent 3.3V VDDFLASH
Flash Power Supply
– 1.8V VDDCORE Core Power Supply with Brownout Detector
• Fully Static Operation: Up to 48 MHz at 1.65V and 85° C Worst Case Conditions
• Available in a 128-lead LQFP Green Package, or a 144-ball LFBGA RoHS-compliant
3.11Expansion Slot! All I/Os of the AT91SAM7SE are routed to peripheral extension connectors
AT91SAM7SE-EK Evaluation Board User Guide3-5
6241B–ATARM–22-Mar-07
Board Description
! All EBI Signals of the AT91SAM7SE are routed to extension footprint connectors
(J14)
This allows the developer to check the integrity of the components and to extend the
features of the board by adding external hardware components or boards.
3.12PIO Usage
Table 3-1. PIO Controller A
I/O LinePeripheral APeripheral BCommentsFunction
PA0PWM0A0_NBS0High-DrivePower LED
PA1PWM1A1_NBS2High-DriveUser LED 1
PA2PWM2A2High-DriveUser LED 2
PA3TWDA3High-DriveEEPROM AT24C256 (SDA)
PA4TWCKA4EEPROM AT24C256 (SCL)
PA5RXD0A5RS232 COM PORT (RXD)
PA6TXD0A6RS232 COM PORT (TXD)
PA7RTS0A7RS232 COM PORT (RTS)
PA8CTS0A8RS232 COM PORT (CTS)
PA9DRXDA9SERIAL DEBUG PORT(RXD)
PA10DTXDA10SERIAL DEBUG PORT(TXD)
PA11NPCS0A11SPI DATAFLASH memory (Chip Select)
PA12MISOA12SPI DATAFLASH & Audio DAC (MISO)
PA13MOSIA13SPI DATAFLASH & Audio DAC (MOSI)
PA14SPCKA14SPI DATAFLASH & Audio DAC (SPCK)
PA15TFA15Audio DAC AT73C213 (LRFS)
PA16TKA16_BA0Audio DAC AT73C213 (BCLK)
PA17TDA17_BA1AD0Audio DAC AT73C213 (SDIN)
PA18RDNBS3_CFIOWAD1
PA19RKNCS4_CFCS0AD2
PA20RFNCS2_CFCS2AD3ETHERNET DM9000A (Chip Select)
PA21RXD1NCS6_CFCE2
PA22TXD1NCS5_CFCE1
PA23SCK1NWR1_NBS1_CFIORSDRAM DEVICE (NBS1)
PA24RTS1SDA10SDRAM DEVICE (SDA10)
PA25CTS1SDCKESDRAM DEVICE (SDCKE)
PA26DCD1NCS1_SDCSSDRAM DEVICE (Chip Select)
PA27DTR1SDWESDRAM DEVICE (SDWE)
PA28DSR1CASSDRAM DEVICE (CAS)
3-6AT91SAM7SE-EK Evaluation Board User Guide
6241B–ATARM–22-Mar-07
Board Description
Table 3-1. PIO Controller A (Continued)
I/O LinePeripheral APeripheral BCommentsFunction
PA29RI1RASSDRAM DEVICE (RAS)
PA30IRQ1D30ETHERNET DM9000A (IRQ)
PA31NPCS1D31SPI Audio DAC AT73C213 (Chip Select)
Table 3-2. PIO Controller B
I/O LinePeripheral APeripheral BCommentsFunction
PB0TIOA0A0_NBS0ADDRES BUS (PB0..PB17)
PB1TIOB0A1_NBS2
PB2SCK0A2
PB3NPCS3A3
PB4TCLK0A4
PB5NPCS3A5
PB6PCK0A6
PB7PWM3A7
PB8ADTRGA8
PB9NPCS1A9
PB10NPCS2A10
PB11PWM0A11
PB12PWM1A12
PB13PWM2A13
PB14PWM3A14
PB15TIOA1A15
PB16TIOB1A16_BA0
PB17PCK1A17_BA1
PB18PCK2D16NandFlash (NANDCS)
PB19FIQD17NandFlash (RDYBSY)
PB20IRQ0D18
PB21PCK1D19
PB22NPCS3D20RIGHT clic push button
PB23PWM0D21Joystick UP
PB24PWM1D22Joystick DOWN
PB25PWM2D23Joystick LEFT
PB26TIOA2D24Joystick RIGHT
PB27TIOB2D25Joystick PUSH and LEFT clic push button
PB28TCLK1D26
AT91SAM7SE-EK Evaluation Board User Guide3-7
6241B–ATARM–22-Mar-07
Board Description
Table 3-2. PIO Controller B (Continued)
I/O LinePeripheral APeripheral BCommentsFunction
PB29TCLK2D27
PB30NPCS2D28
PB31PCK2D29Audio DAC AT73C213 (MCLK)
Table 3-3. PIO Controller C
I/O LinePeripheral APeripheral BCommentsFunction
PC0D0DATA BUS (PC0..PC15)
PC1D1
PC2D2
PC3D3
PC4D4
PC5D5
PC6D6
PC7D7
PC8D8RTS1
PC9D9DTR1
PC10D10PCK0
PC11D11PCK1
PC12D12PCK2
PC13D13
PC14D14NPCS1
PC15D15NCS3_NANDCS
PC16A18NWAIT
PC17A19NANDOENandFlash (NANDOE)
PC18A20NANDWENandFlash (NANDWE)
PC19A21USB_CNX (VBUS DETECT) and NandFlash
(ALE). See errata section
PC20A22NCS7NandFlash (CLE)
PC21NWR0_NWE_CFWE
PC22NRD_CFOE
PC23CFRNWNCS0
3-8AT91SAM7SE-EK Evaluation Board User Guide
6241B–ATARM–22-Mar-07
4.1Jumpers
Table 4-1. Jumpers
Designation
J2Closed3.3V Jumper
J5-1OpenedErases all internal Flash memory when the board is
J5-2ClosedVDDIO Jumper
J5-3ClosedVDDCORE Jumper
J5-4ClosedVDDIN Jumper
J5-5ClosedVDDPLL Jumper
J5-6ClosedVDDFLASH Jumper
Section 4
Configuration
Default
SettingFeature
(1)
powered. To do so, the user will have to close this
jumper for at least 10 ms.
(1)
(1)
(1)
(1)
(1)
Note:1. These jumpers are provided for power consumption measurement use. By default,
they are closed. To use this feature, the user has to open the strap and insert an
anmeter.
4.2Audio
Configuration
AT91SAM7SE-EK Evaluation Board User Guide4-1
Table 4-2. Audio Configuration
Default
Designation
R5SolderedEnables the use of the audio stereo DAC AT73C213
SettingFeature
6241B–ATARM–22-Mar-07
Configuration
4.3JTAG/ICE
4.4Microcontroller
Clock
Table 4-3. JTAG/ICE Configuration
Default
Designation
S1OpenedSelects ICE mode or JTAG mode (Closed)
R11SolderedEnables the ICE NRST input
SettingFeature
Table 4-4. Microcontroller Clock Configuration
Default
Designation
R13/R15Soldered
S3Opened
SettingFeature
Enables the use of 18.432MHz crystal. If external clock
used, R13/R15 must be unsoldered and S3 closed.
4.5Memory
4.6Ethernet
Table 4-5. Memory Configuration
Default
Designation
SDRAM
R18SolderedEnables MN4 Chip select access
NAND FLASH (MN6x)
R22
R20
S5
SERIAL DATAFLASH (MN5) (NOT POPULATED)
R26
S4
TWI SERIAL EEPROM (MN10) (NOT POPULATED)
R30
R31
SettingFeature
Soldered
Soldered
Opened
Soldered
Opened
Soldered
Soldered
Enables the use of NANDFlash (MN6x)
Enables the use of Ready Busy signal
Disables write protect
Enables the use of the Serial DataFlash
Disables the write protect.
Enables SCL access
Enables SDA access
NOT POPULATED
Table 4-6. Ethernet Configuration
Default
Designation
R37SolderedEnables the use of the Ethernet controller DM9000A
R11SolderedEnables the use of the IRQ Ethernet controller
4-2AT91SAM7SE-EK Evaluation Board User Guide
6241B–ATARM–22-Mar-07
SettingFeature
4.7MiscellaneousRefer to Section 3.12 and top level schematic for details on PIO usage.
Table 4-7.
Default
Designation
R4SolderedEnables the software control of the POWER_LED
R51SolderedUSB DEVICE: Enables the use of the USBCNX signal
R47
R48
SettingFeature
Soldered
Soldered
DBGU COM Port: Enables the use of DTXD output
signal
Enables the use of DRXD input
RS232 COM Port 0: Enables the use of output signals
Configuration
R58
R59
R60
R61
TP1N.AGND Test point
TP2N.AGND Test point.
TP3N.AGND Test point.
TP4N.AGND Test point.
Soldered
Soldered
TXD0
RTS0
RS232 COM Port 0: Enable the use of input signals
RXD0
CTS0
Refer to Section 2.6, “AT91SAM7SE-EK Block Diagram”.
AT91SAM7SE-EK Evaluation Board User Guide4-3
6241B–ATARM–22-Mar-07
Configuration
4-4AT91SAM7SE-EK Evaluation Board User Guide
6241B–ATARM–22-Mar-07
5.1SchematicsThis section contains the following schematics:
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
This agreement is our property. Reproduction and publication without our written authorization shall expose offender to legal proceedings.
2
12/09/06
12/09/06
12/09/06
DATE
DATE
DATE
1
VER.
VER.
VER.
REV.
REV.
REV.
A
A
A
DATEMODIF.
DATEMODIF.
DATEMODIF.
SHEET
SHEET
SHEET
7
7
7
7
7
7
Schematics
5-2AT91SAM7SE-EK Evaluation Board User Guide
6241B–ATARM–22-Mar-07
6.1PIO UsageThe PIO PC19 is erroneously used twice.
USB_CNX (VBUS detect) and A21/ALE (NAND Flash Address Latch Enable) uses this
PIO. There is no effect when PC19 is configured as A21 for the NAND Flash usage, but
USB_CNX state (VBUS) cannot be read at the same time.
The user has to swap PC19 to input mode to detect the VBUS state, but the NANDFlash
cannot be accessed in this configuration.
Section 6
Errata
6.2TWI line pullups
for Fast Mode
operation
6.3AT73C213
clocking
In order to use the TWI in Fast Mode (up to 400 Kbits/s), the default 10 KΩ resistors R28
and R29 should be replaced by smaller values (e.g., 2.2 KΩ).
Note that there is no need to change the pull-up resistors if the TWI is used in Standard
Mode (up to 100 Kbits/s).
In the schematics (sheet 1/7, ”AT91SAM7SE-EK Diagram”), the MCLK and BCLK
sources implementation does not guarantee a correct phase relation as specified in the
AT73C213 datasheet.
Problem Fix/Workaround
In his own design, the user must make sure the BCLK and MCLK clocks generation
implements the timing specified in the AT73C213 datasheet.
AT91SAM7SE-EK Evaluation Board User Guide6-1
6241B–ATARM–22-Mar-07
Errata
6-2AT91SAM7SE-EK Evaluation Board User Guide
6241B–ATARM–22-Mar-07
7.1Revision History
Table 7-1.
DocumentComments
6241AFirst issue.
Section 7
Revision History
Change
Request Ref.
6241BAdded errata Section 6.2 ”TWI line pullups for Fast
Mode operation”
Added errata
.
Section 6.3 ”AT73C213 clocking” .
4085
4226
AT91SAM7SE-EK Evaluation Board User Guide7-1
6241B–ATARM–22-Mar-07
Revision History
7-2AT91SAM7SE-EK Evaluation Board User Guide
6241B–ATARM–22-Mar-07
Atmel CorporationAtmel Operations
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 487-2600
Regional Headquarters
Atmel Europe
Le Krebs
8, rue Jean-Pierre Timbaud
BP 309
78054 Saint-Quentin-en-Yvelines
Cedex
France
Tel: (33) 1-30-60-70-00
Fax: (33) 1-30-60-71-11
Asia
Room 1219
Chinachem Golden Plaza
77 Mody Road Tsimshatsui
East Kowloon
Hong Kong
Tel: (852) 2721-9778
Fax: (852) 2722-1369
Japan
9F, Tonetsu Shinkawa Bldg.
1-24-8 Shinkawa
Chuo-ku, Tokyo 104-0033
Japan
Tel: (81) 3-3523-3551
Fax: (81) 3-3523-7581
Memory
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
Microcontrollers
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
La Chantrerie
BP 70602
44306 Nantes Cedex 3, France
Tel: (33) 2-40-18-18-18
Fax: (33) 2-40-18-19-60
ASIC/ASSP/Smart Cards
Zone Industrielle
13106 Rousset Cedex, France
Tel: (33) 4-42-53-60-00
Fax: (33) 4-42-53-60-01
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
Tel: 1(719) 576-3300
Fax: 1(719) 540-1759
Scottish Enterprise Technology Park
Maxwell Building
East Kilbride G75 0QR, Scotland
Tel: (44) 1355-803-000
Fax: (44) 1355-242-743
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
Tel: 1(719) 576-3300
Fax: 1(719) 540-1759
Biometrics
Avenue de Rochepleine
BP 123
38521 Saint-Egreve Cedex, France
Tel: (33) 4-76-58-47-50
Fax: (33) 4-76-58-47-60
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 INCIDENTAL 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 specifications
and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided
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.