Sam3 H256

User Manual: olimex -

Open the PDF directly: View PDF PDF.
Page Count: 17

SAM3-H256 development board
Users Manual
All boards produced by Olimex are ROHS compliant
Rev. Initial, April 2011
Copyright(c) 2011, OLIMEX Ltd, All rights reserved
Page 1
INTRODUCTION:
Atmel’s ATSAM3S4BA-AU is a member of a series of Flash microcontrol-
lers based on the high performance 32-bit ARM Cortex-M3 RISC processor. It oper-
ates at a maximum speed of 64 MHz and features a 256 Kbyte Flash and a 48 Kbyte
SRAM, Full Speed USB Device port with embedded transceiver, an External Bus
Interface featuring a Static Memory Controller providing connection to SRAM,
PSRAM, NOR Flash and NAND Flash, 2x USARTs, 2x UARTs, 2x TWIs, 3x SPI, an
I2S, as well as 1 PWM timer, 6x general-purpose 16-bit timers, an RTC, an ADC, a
12-bit DAC and an analog comparator.
SAM3-H256 has connectors for JTAG and USB, extension headers for all
microcontroller's ports, reset button, power and status leds.
BOARD FEATURES:
Microcontroller: ATSAM3S4BA-AU.
standard JTAG connector with ARM 2x10 pin layout for program-
ming/debugging with ARM-JTAG
status LED
on board voltage regulator 3.3V with up to 800mA current
power supply LED
power supply filtering capacitor
RESET circuit
RESET button
12.000 Mhz crystal on socket
extension headers for all microcontroller's ports
PCB: FR-4, 1.5 mm (0,062"), soldermask, silkscreen component print
Dimensions: 50.00 x 33.75 mm (1.97 x 1.33")
ELECTROSTATIC WARNING:
The SAM3-H256 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.
Page 2
You can use also ARM-USB-OCD, ARM-USB-TINY, ARM-USB-OCD-H, ARM-
USB-TINY-H.
PROCESSOR FEATURES:
SAM3-H256 board use ARM-based microcontroller ATSAM3S4BA-AU from
Atmel Corporation with these features:
Core
ARM® Cortex®-M3 revision 2.0 running at 64 MHz
Memory Protection Unit (MPU)
Thumb®-2 instruction set
Pin-to-pin compatible with AT91SAM7S legacy products (48- and 64-pin
versions)
Memories
256 Kbytes embedded Flash, 128-bit wide access, memory accelerator,
single plane
48 Kbytes embedded SRAM
16 Kbytes ROM with embedded bootloader routines (UART, USB) and
IAP routines
8-bit Static Memory Controller (SMC): SRAM, PSRAM, NOR and
NAND Flash support
Memory Protection Unit (MPU)
System
Embedded voltage regulator for single supply operation
Power-on-Reset (POR), Brown-out Detector (BOD) and Watchdog for
safe operation
Quartz or ceramic resonator oscillators: 3 to 20 MHz main power with
Failure Detection and optional low power 32.768 kHz for RTC or
device clock
High precision 8/12 MHz factory trimmed internal RC oscillator with
4 MHz default frequency for device startup. In-application trimming
access for frequency adjustment
Slow Clock Internal RC oscillator as permanent low-power mode
device clock
Two PLLs up to 130 MHz for device clock and for USB
Temperature Sensor
Up to 22 peripheral DMA (PDC) channels
Low Power Modes
Sleep and Backup modes, down to 3 μA in Backup mode
Page 3
Ultra low power RTC
Peripherals
USB 2.0 Device: 12 Mbps, 2668 byte FIFO, up to 8 bidirectional
Endpoints. On-Chip Transceiver
2 USARTs with ISO7816, IrDA®, RS-485, SPI, Manchester and Modem
Mode
Two 2-wire UARTs
2 Two Wire Interface (I2C compatible), 1 SPI, 1 Serial Synchronous
Controller (I2S), 1 High Speed Multimedia Card Interface (SDIO/SD
Card/MMC)
3 Three-Channel 16-bit Timer/Counter with capture, waveform,
compare and PWM mode. Quadrature Decoder Logic and 2-bit Gray
Up/Down Counter for Stepper Motor
4-channel 16-bit PWM with Complementary Output, Fault Input, 12-
bit Dead Time Generator Counter for Motor Control
32-bit Real-time Timer and RTC with calendar and alarm features
10-channel ADC with differential input mode and programmable gain
stage
Two 12-bit DAC outputs
One Analog Comparator with flexible input selection, Selectable input
hysteresis
32-bit Cyclic Redundancy Check Calculation Unit (CRCCU)
I/O
47 I/O lines with external interrupt capability (edge or level
sensitivity), debouncing, glitch filtering and on-die Series Resistor
Termination
Three 32-bit Parallel Input/Output Controllers, Peripheral DMA
assisted Parallel Capture Mode
Page 4
BLOCK DIAGRAM:
Page 5
MEMORY MAP:
Page 6
SCHEMATIC:
Page 7
47 uF/6.3V
10uF/16V
10 0n 10p
100 n 10p
2.2uF
33p
100n
10 0n
10 0 n
10 0 n
10n
15p 15 p
1n 2.2uF 100 n 100n 100n 1 00n
1N5819S/SMD
NA(IRLML6402)
1x2
12 MHz/PTH
240 /1%
560
390 /1%
56 0
47K 47K 47K 47K 47K
0
0
10 K
NA(47K)
NA(10 0)
NA(1.5K)
27R
27 R
330 K
330 K
1x2
MC P130T
USB_B
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
LM111 7 IMPX-ADJ
0
1
2
3
4
5
6
7
8
8
9
10
11
12
13
14
15
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
A4
A5
A6
A7
AR
PUP
PUP
RST
RST
RST
RTCK
TCK
TCK
TDI
TDI
TDO
TDO
TMS
TMS
TRST
VIN
VIN
C1
C2
C3
C4
C5
C6
C7
C8 C9
C10
C11
C12
C13
C14 C15
C16 C17 C 18 C19 C20 C21
D1
EXT1-1
EXT1-2
EXT1-3
EXT1-4
EXT1-5
EXT1-6
EXT1-7
EXT1-8
EXT1-9
EXT1-1 0
EXT1-11
EXT1-1 2
EXT1-1 3
EXT1-1 4
EXT1-15
EXT1-1 6
EXT1-1 7
EXT1-1 8
EXT1-19
EXT1-2 0
EXT2-1
EXT2-2
EXT2-3
EXT2-4
EXT2-5
EXT2-6
EXT2-7
EXT2-8
EXT2-9
EXT2-1 0
EXT2-11
EXT2-1 2
EXT2-13
EXT2-14
EXT2-1 5
EXT2-1 6
EXT2-17
EXT2-1 8
EXT2-1 9
EXT2-2 0
FET1
G N D
12
34
56
78
910
1112
1314
1516
1718
1920
JTAG
1
2
L_E
PB3
PB12
PB13
PB14
PW R
Q1
R1
R2
R3
R4
R5 R6 R7 R8 R9
R10
R11 R12
R13
R14
R15
R16
R17
R18
R19
RESET
STAT
1
2
TEST
3
12
U1
GND
VCC RESET
ADVREF 1
GND1
2
GND2
17
GND3
46
GND4
60
JTAGSEL
50
NRST
39 PA0/PWMH0/TIOA0/A17/WKUP0 48
PA1/PWMH1/TIOB0/A18/WKUP1 47
PA2/PWMH2/SCK0/DATRG/WKUP2 44
PA 3/TWD0/NPCS3 43
PA 4/TWCK0/TCLK0/WKUP3 36
PA5/RXD0/NPCS3/WKUP 4 35
PA6/TXD0/PCK 0 34
PA 7/RTS0/PWMH3/XIN32 32
PA 8/CTS0/ADTRG/WKUP5/XOUT32 31
PA9/URXD0/NPCS1/PWMFI0/WKUP6 30
PA10/UTXD0/NPCS2 29
PA11/NPCS0/PWMH0/WKUP7 28
PA 12/MISO/PWMH1 27
PA13/MOSI/PWMH2 22
PA14/SPCK/PWMH3/WKUP8 21
PA15/TF/TIOA1/PWML3/WKUP14/PIODCEN1 20
PA 16/TK/TIOB 1/PWML2/WKUP15/PIODCEN2 19
PA17/TD/PCK1/PWMH3/AD0 9
PA18/RD/PCK2/A14/AD1 10
PA19/RK/PWML0/A15/AD2/WKUP9 13
PA 20/RF/PWML1/A16/AD3/WKUP10 16
PA21/RXD1/PCK1/AD8 11
PA22/TXD1/NPCS3/NCS2/AD9 14
PA23/SCK1/PWMH0/A19/PIODCCLK 15
PA 24/RTS1/PWMH1/A20/PIODC0 23
PA25/CTS1/PWMH2/A23/PIODC1 25
PA26/DCD1/TIOA2/MCDA2/PIODC2 26
PA27/DTR1/TIOB2/MCDA3/PIODC3 37
PA 28/DSR1/TCLK1/MCCDA/PIODC4 38
PA29/RI1/TCLK2/MCCK/P IODC5 41
PA30/PWML2/NPCS2/MCDA0/WKUP11/PIODC6 42
PA31/NPCS1/PCK2/MCDA1/PIODC7 52
PB0/PWMH0/AD4 3
PB1/PWMH1/AD5 4
PB 2/URXD1/NPCS 2/WKUP12/AD6 5
PB3/UTXD1/PCK2/AD7 6
PB 4/TWD1/PW MH2/TDI
33
PB5/TWCK1/PWML0/WKUP13/TDO/TRA CESWO
49
PB6/TMS/SW DIO
51
PB7/TCK/SWCLK
53
PB8/XOUT
61
PB9/XIN
62
PB 10/DDM
56
PB11/DDP
57
PB 12/PWML1/ERASE
55
PB13/PWML2/PCK0/DAC0
59
PB14/NPCS1/PWMH3/DAC1
63
TST
40
VDDCORE1
12
VDDCORE2
24
VDDCORE3
54
VDDIN
7
VDDIO1
18
VDDIO2
45
VDDIO3
58
VDDOUT
8
VDDPLL
64
U2
ATSAM3S4BA-AU
1
2
3
4
USB
ADJ/GND
IN OUT
VR1(3.3V)
SAM3-H256
Rev. Initia l
COPYRIGH T(C) 2011, OLIMEX L td .
http ://www.olimex.com/dev
+
+
USB
S H IE L D
BOARD LAYOUT:
Page 8
POWER SUPPLY CIRCUIT:
SAM3-H256 is typically power supplied with +5 V from USB, but it also can be
power supplied with +5VDC via extension connector (signal VIN from EXT2
connector pin17).
The programmed board power consumption is about 50 mA.
RESET CIRCUIT:
SAM3-H256 reset circuit includes U1 (MCP130T), R12 (10k), JTAG
connector pin 15, EXT2 pin 20, ATSAM3S4BA-AU pin 39 (NRST) and RESET
button.
CLOCK CIRCUIT:
Quartz crystal Q1 12.000 MHz is connected to ATSAM3S4BA-AU pin 61
(PB8/XOUT) and pin 62 (PB9/XIN).
JUMPER DESCRIPTION:
L_E
This jumper, when closed, enables status led – STAT.
Default state is closed.
TEST
This jumper, when closed, connects ATSAM3S4BA-AU pin 40 (TST) to 3.3V. The TST
pin is used for JTAG Boundary Scan Manufacturing Test or Fast Flash programming
mode.
When TEST jumper is opened – normal mode is enabled.
Default state is opened.
Page 9
Description for programming via USB port using SAM-BA software
The ATSAM3S4BA-AU can be programmed via USB using the SAM-BATM software. Before
being able to use SAM-BA, a recovery procedure, which consists of copying the SAM-BA Boot
Assistant into Flash must be performed as follows:
1. Disconnect board from USB
2. Connect PB12 to 3.3V
3. Power up the board
4. Wait 10s
5. Power down the board
6. Remove the connection between PB12 and 3.3V
7. Power up the board via USB
8. If SAM-BA USB driver are installed you can use SAM-BA tool
INPUT/OUTPUT:
Status Led (green) with name STAT connected via jumper L_E to ATSAM3S4BA-
AU pin 31 (PA8/CTS0/ADTRG/WKUP5/XOUT32).
Power-on LED (red) with name PWR – this LED shows that +3.3V is applied to the
board.
Reset button with name RESET connected to ATSAM3S4BA-AU pin 39 (NRST).
Page 10
EXTERNAL CONNECTORS DESCRIPTION:
JTAG:
The JTAG connector allows the software debugger to talk via a JTAG (Joint Test Action
Group) port directly to the core. Instructions may be inserted and executed by the core thus allowing
ATSAM3S4BA-AU memory to be programmed with code and executed step by step by the host
software.
For more details refer to IEEE Standard 1149.1 - 1990 Standard Test Access Port and Boundary
Scan Architecture and ATSAM3S4BA-AU datasheets and users manual.
Pin # Signal Name Pin # Signal Name
1 3.3V 2 3.3V
3 TRST 4 GND
5 TDI 6 GND
7 TMS 8 GND
9 TCK 10 GND
11 RTCK 12 GND
13 TDO 14 GND
15 RST 16 GND
17 NC 18 GND
19 NC 20 GND
Page 11
USB:
Pin # Signal Name
1 VIN
2 DDM
3 DDP
4 GND
EXT1:
Pin # Signal Name Pin # Signal Name
1 0 - (PA0) 2 1 - (PA1)
3 2 – (PA2) 4 3 – (PA3)
5 4 – (PA4) 6 5 – (PA5)
7 6 – (PA6) 8 7 – (PA7)
9 8 - (PA8) 10 9 – (PA9)
11 10 – (PA10) 12 11 – (PA11)
13 12 – (PA12) 14 13 – (PA13)
15 14 – (PA14) 16 15 – (PA15)
17 PUP – (PA16) 18 17 – (PA17)
19 18 – (PA18) 20 19 – (PA19)
Page 12
EXT2:
Pin # Signal Name Pin # Signal Name
1 20 – (PA20) 2 21 – (PA21)
3 22 – (PA22) 4 23 – (PA23)
5 24 – (PA24) 6 25 – (PA25)
7 26 – (PA26) 8 27 – (PA27)
9 28 – (PA28) 10 29 – (PA29)
11 30 – (PA30) 12 31 – (PA31)
13 AR – (ADVREF) 14 A4 – (PB0)
15 A5 – (PB1) 16 A6 - (PB2)
17 VIN 18 VCC
19 GND 20 RST
Page 13
MECHANICAL DIMENSIONS:
Page 14
AVAILABLE DEMO SOFTWARE:
Demonstrates USB mouse and a blinking led.
You can find it at http://www.olimex.com/dev at the board's specific page.
Page 15
ORDER CODE:
SAM3-H256 - assembled and tested board
How to order?
You can order to us directly or by any of our distributors.
Check our web www.olimex.com/dev for more info.
Revision history:
Board's Revision: Initial, October 2010
Manual's Revision Initial, April 2011
Page 16
Disclaimer:
© 2011 Olimex Ltd. All rights reserved. Olimex®, logo and combinations thereof, are registered
trademarks of Olimex Ltd. Other terms and product names may be trademarks of others.
The information in this document is provided in connection with Olimex products. No license, express
or implied or otherwise, to any intellectual property right is granted by this document or in
connection with the sale of Olimex products.
Neither the whole nor any part of the information contained in or the product described in this
document may be adapted or reproduced in any material from except with the prior written
permission of the copyright holder.
The product described in this document is subject to continuous development and improvements. All
particulars of the product and its use contained in this document are given by OLIMEX in good faith.
However all warranties implied or expressed including but not limited to implied warranties of
merchantability or fitness for purpose are excluded.
This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not
be liable for any loss or damage arising from the use of any information in this document or any error
or omission in such information or any incorrect use of the product.
Page 17

Navigation menu