SAM7-P256 development board
Users Manual
All boards produced by Olimex are ROHS compliant
Rev. F, August 2008
Copyright(c) 2010, OLIMEX Ltd, All rights reserved
Page 1
INTRODUCTION:
Atmel’s
AT91SAM7S256
is a member of a series of low pincount Flash mi-
crocontrollers based on the 32-bit ARM RISC processor. It features a 256 Kbyte
high-speed Flash and a 64 Kbyte SRAM, a large set of peripherals, including a USB
2.0 device, and a complete set of system functions minimizing the number of ex-
ternal components. The device is an ideal migration path for 8-bit microcontroller
users looking for additional performance and extended memory.
The embedded Flash memory can be programmed in-system via the JTAG-
ICE interface or via a parallel interface on a production programmer prior to
mounting. Built-in lock bits and a security bit protect the firmware from accidental
overwrite and preserves its confidentiality.
The AT91SAM7S256 system controller includes a reset controller capable
of managing the power-on sequence of the microcontroller and the complete sys-
tem. Correct device operation can be monitored by a built-in brownout detector
and a watchdog running off an integrated RC oscillator.
The AT91SAM7S256 is a general-purpose microcontroller. Its integrated
USB Device port makes it an ideal device for peripheral applications requiring con-
nectivity to a PC or cellular phone. Its aggressive price point and high level of in-
tegration pushes its scope of use far into the cost-sensitive, high-volume consumer
market.
BOARD FEATURES:
•
Microcontroller:
AT91SAM7S256
16/32 bit ARM7TDMI™ with 256K
Bytes Program Flash, 64K Bytes RAM, USB 2.0, RTT, 10 bit ADC 384
ksps, 2x UARTs, TWI (I2C), SPI, 3x 32bit TIMERS, 4x PWM, SSC, WDT,
PDC (DMA) for all peripherals, up to 60MHz operation
standard JTAG connector with ARM 2x10 pin layout for program-
ming/debugging with ARM-JTAG
USB connector
Two channel RS232 interface and drivers
SD/MMC card connector
two buttons
trimpot connected to ADC
thermistor connected to ADC
two status LEDs
on board voltage regulator 3.3V with up to 800mA current
single power supply: 6V AC or DC required
power supply LED
power supply filtering capacitor
RESET circuit
RESET button
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Page 2
•
•
•
•
18.432 Mhz crystal on socket
extension headers for all microcontroller's ports
PCB: FR-4, 1.5 mm (0,062"), soldermask, silkscreen component print
Dimensions: 120 x 80 mm (4.7 x 3.15")
ELECTROSTATIC WARNING:
The
SAM7-P256
board is shipped in protective anti-static packaging. The board
must not be subject to high electrostatic potentials. General practice for working
with static sensitive devices should be applied when working with this board.
BOARD USE REQUIREMENTS:
Cables:
The cable you will need depends on the programmer/debugger you use. If
you use
ARM-JTAG-EW,
you will need USB A-B cable.
Hardware:
Programmer/Debugger
ARM-JTAG-EW
or other compatible
programming/debugging tool if you work with EW-ARM.
You can use also
ARM-USB-OCD, ARM-USB-TINY, ARM-USB-TINY-H
.
PROCESSOR FEATURES:
SAM7-P256
board use AT91 ARM Thumb-based microcontroller
AT91SAM7S256
from Atmel Corporation with these features:
−
−
−
−
−
High-performance 32-bit RISC Architecture
High-density 16-bit Instruction Set
Leader in MIPS/Watt
EmbeddedICE™ In-circuit Emulation, Debug Communication Channel
Support
Internal High-speed Flash
−
−
−
−
−
−
−
256 Kbytes Organized in 1024 Pages of 256 Bytes (Single Plane)
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 Write Cycles, 10-year Data Retention Capability, Sector Lock
Capabilities, Flash Security Bit
Fast Flash Programming Interface for High Volume Production
Internal High-speed SRAM, Single-cycle Access at Maximum Speed
Page 3
−
−
−
−
−
−
−
64 Kbytes
Memory Controller (MC)
Embedded Flash Controller, Abort Status and Misalignment Detection
Reset Controller (RSTC)
Based on Power-on Reset and Low-power Factory-calibrated Brown-out
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)
−
−
Software 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 Source(s) and One Fast Interrupt Source,
Spurious Interrupt Protected
−
Debug Unit (DBGU)
−
−
2-wire UART and Support for Debug Communication Channel
interrupt, Programmable ICE Access Prevention
Mode for General Purpose 2-wire UART Serial Communication
−
−
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
−
One Parallel Input/Output Controller (PIOA)
−
−
−
Thirty-two 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
Page 4
−
−
−
Eleven Peripheral DMA Controller (PDC) Channels
One USB 2.0 Full Speed (12 Mbits per Second) Device Port
−
−
−
−
On-chip Transceiver, 328-byte Configurable Integrated FIFOs
One Synchronous Serial Controller (SSC)
Independent Clock and Frame Sync Signals for Each Receiver and
Transmitter
I
2
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 Interface (SPI)
−
8- to 16-bit Programmable Data Length, Four External Peripheral Chip
Selects
−
One Three-channel 16-bit Timer/Counter (TC)
−
−
Three External Clock Input and 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 Mode Support Only, All Two-wire Atmel EEPROMs and I
2
C
Compatible Devices Supported
−
−
One 8-channel 10-bit Analog-to-Digital Converter, Four Channels Multiplexed
with Digital I/Os
SAM-BA™ Boot Assistant
−
−
Default Boot program
Interface with SAM-BA Graphic User Interface
−
−
−
IEEE
®
1149.1 JTAG Boundary Scan on All Digital Pins
5V-tolerant I/Os, including 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
3.3V or 1.8V VDDIO I/O Lines Power Supply, Independent 3.3V
VDDFLASH Flash Power Supply
Page 5