• No results found

SAM3-H256 development board Users Manual

N/A
N/A
Protected

Academic year: 2021

Share "SAM3-H256 development board Users Manual"

Copied!
17
0
0

Loading.... (view fulltext now)

Full text

(1)

SAM3-H256 development board

Users Manual

All boards produced by Olimex are ROHS compliant

Rev. Initial, April 2011

(2)

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.

(3)

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

(4)

− 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

(5)
(6)

MEMORY MAP:

(7)

SCHEMATIC:

4 7 u F /6 .3 V 1 0 u F /1 6 V 1 0 0 n 1 0 p 1 0 0 n 1 0 p 2 .2 u F 3 3 p 1 0 0 n 1 0 0 n 1 0 0 n 1 0 0 n 1 0 n 1 5 p 1 5 p 1 n 2 .2 u F 1 0 0 n 1 0 0 n 1 0 0 n 1 0 0 n 1N5819S/SMD NA(IRLML6402) 1 x2 1 2 M H z /P T H 2 4 0 /1 % 5 6 0 3 9 0 /1 % 5 6 0 4 7 K 4 7 K 4 7 K 4 7 K 4 7 K 0 0 1 0 K N A (4 7 K ) N A (1 0 0 ) N A (1 .5 K ) 2 7 R 2 7 R 3 3 0 K 3 3 0 K 1 x2 M C P 1 3 0 T U S B _ B 3 .3 V 3 .3 V 3 .3 V 3 .3 V 3 .3 V 3 .3 V 3.3 V 3 .3 V L M 1 1 1 7 IM P X -A D J 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 AR A4 A5 A6 A7 P U P P U P R S T R S T R S T R T C K T C K T C K T D I T D I T D O T D O T M S T M S T R S T V IN V IN C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 C 9 C 1 0 C 1 1 C 1 2 C 1 3 C 1 4 C 1 5 C 1 6 C 1 7 C 1 8 C 1 9 C 2 0 C 2 1 D 1 E X T 1 -1 E X T 1 -2 E X T 1 -3 E X T 1 -4 E X T 1 -5 E X T 1 -6 E X T 1 -7 E X T 1 -8 E X T 1 -9 E X T 1 -1 0 E X T 1 -1 1 E X T 1 -1 2 E X T 1 -1 3 E X T 1 -1 4 E X T 1 -1 5 E X T 1 -1 6 E X T 1 -1 7 E X T 1 -1 8 E X T 1 -1 9 E X T 1 -2 0 E X T 2 -1 E X T 2 -2 E X T 2 -3 E X T 2 -4 E X T 2 -5 E X T 2 -6 E X T 2 -7 E X T 2 -8 E X T 2 -9 E X T 2 -1 0 E X T 2 -1 1 E X T 2 -1 2 E X T 2 -1 3 E X T 2 -1 4 E X T 2 -1 5 E X T 2 -1 6 E X T 2 -1 7 E X T 2 -1 8 E X T 2 -1 9 E X T 2 -2 0 FET1 G N D 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 J T A G 1 2 L_E P B 3 P B 1 2 P B 1 3 P B 1 4 P W R Q 1 R 1 R 2 R 3 R 4 R 5 R 6 R 7 R 8 R 9 R 1 0 R 1 1 R 1 2 R 1 3 R 1 4 R 1 5 R 1 6 R 1 7 R 1 8 R 1 9 R E S E T S T A T 1 2 T E S T 3 1 2 U 1 G N D V C C R E S E T A D V R E F 1 G N D 1 2 G N D 2 17 G N D 3 46 G N D 4 60 JT A G S E L 50 N R S T 39 P A 0/ P W M H 0/ T IO A 0/ A 17 /W K U P 0 48 P A 1/ P W M H 1/ T IO B 0/ A 18 /W K U P 1 47 P A 2/ P W M H 2/ S C K 0/ D A T R G /W K U P 2 44 P A 3/ T W D 0/ N P C S 3 43 P A 4/ T W C K 0/ T C LK 0/ W K U P 3 36 P A 5/ R X D 0/ N P C S 3/ W K U P 4 35 P A 6/ T X D 0/ P C K 0 34 P A 7/ R T S 0/ P W M H 3/ X IN 32 32 P A 8/ C T S 0/ A D T R G /W K U P 5/ X O U T 32 31 P A 9/ U R X D 0/ N P C S 1/ P W M F I0 /W K U P 6 30 P A 10 /U T X D 0/ N P C S 2 29 P A 11 /N P C S 0/ P W M H 0/ W K U P 7 28 P A 12 /M IS O /P W M H 1 27 P A 13 /M O S I/P W M H 2 22 P A 14 /S P C K /P W M H 3/ W K U P 8 21 P A 15 /T F /T IO A 1/ P W M L3 /W K U P 14 /P IO D C E N 1 20 P A 16 /T K /T IO B 1/ P W M L2 /W K U P 15 /P IO D C E N 2 19 P A 17 /T D /P C K 1/ P W M H 3/ A D 0 9 P A 18 /R D /P C K 2/ A 14 /A D 1 10 P A 19 /R K /P W M L0 /A 15 /A D 2/ W K U P 9 13 P A 20 /R F /P W M L1 /A 16 /A D 3/ W K U P 10 16 P A 21 /R X D 1/ P C K 1/ A D 8 11 P A 22 /T X D 1/ N P C S 3/ N C S 2/ A D 9 14 P A 23 /S C K 1/ P W M H 0/ A 19 /P IO D C C LK 15 P A 24 /R T S 1/ P W M H 1/ A 20 /P IO D C 0 23 P A 25 /C T S 1/ P W M H 2/ A 23 /P IO D C 1 25 P A 26 /D C D 1/ T IO A 2/ M C D A 2/ P IO D C 2 26 P A 27 /D T R 1/ T IO B 2/ M C D A 3/ P IO D C 3 37 P A 28 /D S R 1/ T C LK 1/ M C C D A /P IO D C 4 38 P A 29 /R I1 /T C LK 2/ M C C K /P IO D C 5 41 P A 30 /P W M L2 /N P C S 2/ M C D A 0/ W K U P 11 /P IO D C 6 42 P A 31 /N P C S 1/ P C K 2/ M C D A 1/ P IO D C 7 52 P B 0/ P W M H 0/ A D 4 3 P B 1/ P W M H 1/ A D 5 4 P B 2/ U R X D 1/ N P C S 2/ W K U P 12 /A D 6 5 P B 3/ U T X D 1/ P C K 2/ A D 7 6 P B 4/ T W D 1/ P W M H 2/ T D I 33 P B 5/ T W C K 1/ P W M L0 /W K U P 13 /T D O /T R A C E S W O 49 P B 6/ T M S /S W D IO 51 P B 7/ T C K /S W C LK 53 P B 8/ X O U T 61 P B 9/ X IN 62 P B 10 /D D M 56 P B 11 /D D P 57 P B 12 /P W M L1 /E R A S E 55 P B 13 /P W M L2 /P C K 0/ D A C 0 59 P B 14 /N P C S 1/ P W M H 3/ D A C 1 63 T S T 40 V D D C O R E 1 12 V D D C O R E 2 24 V D D C O R E 3 54 V D D IN 7 V D D IO 1 18 V D D IO 2 45 V D D IO 3 58 V D D O U T 8 V D D P LL 64 U 2 A T S A M 3 S 4 B A -A U 1 2 3 4 U S B A D J/ G N D IN O U T V R 1 (3 .3 V )

S

A

M

3-H

25

6

R e v . In iti a l C O P Y R IG H T (C ) 2 0 1 1 , O L IM E X L td . h tt p :/ /w w w .o lim e x. c o m /d e v + + USB S H IE L D

(8)

BOARD LAYOUT:

(9)

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.

(10)

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).

(11)

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

(12)

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)

(13)

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

(14)

MECHANICAL DIMENSIONS:

(15)

AVAILABLE DEMO SOFTWARE:

Demonstrates USB mouse and a blinking led.

(16)

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

(17)

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.

References

Related documents

Simply stated, when connected to a USB 2.0 host controller, each of the TetraHub’s four downstream ports deliver a full 12Mbps of USB bandwidth for low- and full-speed devices

classroom management in English as a Foreign Language (EFL) in Japan. To fill the gap, this study will report on: a) classroom management difficulties that arise in Japanese

ITU-T D-Series Recommendations, General Tariff principles – Charging and Accounting in the Mobile Services, Recommendation ITU-T D.98 (2012), available

If landing clearance cannot be given at this point, the aircraft shall be instructed to go around..

Interestingly, when using gypsum powder, calcium sulfate, as the solid in the cement reaction instead of the brushite reagents, the fracture toughness of the collagen

Professor Mark Stern’s lecture, given on Wednesday, September 13, 2017, kicked off the Penn School of Social Policy & Practice 2017-2018 Speaker Series.. This paper is posted

The IMEDEA glider team has been leading an in- tensive observational programme in the Balearic Sea (Western Mediterranean) using gliders and altimetry data from ENVISAT,

The insurer’s role is not to look for a putative basis to deny the claim, and, having found one, to then abandon the investigation and leave it to the insured to present evidence