SAM4E-EK User Guide SAM4E-EK Evaluation Kit 42067A−SAM4E−01/2013
Table of Contents 1. Introduction .......................................................................................... 3 1.1 1.2 1.3 Scope ............................................................................................................... 3 User guide ......................................................................................................... 3 References and applicable documents ............................................................. 3 2. Kit Contents ................
1. Introduction 1.1 Scope This user guide introduces the SAM4E-EK Evaluation Kit (SAM4E-EK) and describes its development and debugging capabilities. Figure 1-1. Atmel SAM4E-EK board. 1.2 User guide This guide gives details on how the Atmel® SAM4E-EK has been designed. It is made up of six chapters: • • • • • • 1.
2. Kit Contents 2.1 Deliverables The Atmel SAM4E-EK toolkit contains the following items: • • • • • • • An Atmel SAM4E-EK board Power supply Universal input AC/DC power supply with US, Europe and UK plug adapters One USB cable One serial RS232 cable One Ethernet cross cable A welcome letter Figure 2-1. Unpacked SAM4E-EK. Unpack and inspect the kit carefully. Contact your local Atmel distributor if you have issues concerning the contents of the kit.
2.2 Electrostatic warning The Atmel SAM4E-EK board is shipped in a protective anti-static bag. 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 components or any other metallic element of the board.
3. Power up 3.1 Power up the board Unpack the board taking care to avoid electrostatic discharge. Unpack the power supply, select the right power plug adapter corresponding to that of your country, and insert it into the power supply. Connect the power supply DC connector to the board and plug the power supply to an AC power socket. The board LCD should light up and display a welcome page. Then click or touch the icons displayed on the screen and enjoy the demo. 3.
4. Board Description 4.1 Board overview This chapter introduces the Atmel SAM4E-EK Evaluation Kit design. It introduces system-level concepts, such as power distribution, memory, and interface assignments. The SAM4E-EK board is based on the integration of an ARM® Cortex™-M4 processor with on-board NAND Flash and a set of popular peripherals. It is designed to provide a high performance processor evaluation solution with high flexibility for various kinds of applications. Figure 4-1.
4.2 Features list The list of the main board components and interfaces: • • • • • • • • • • • • • • • • • • • • • • • • SAM4E16 chip BGA144 package with optional socket footprint 12MHz crystal 32.768kHz crystal Optional SMB connector for external system clock input NAND Flash 2.
4.3 Function blocks 4.3.1 Processor The Atmel SAM4E-EK is equipped with a SAM4E16 device in BGA144 package. 4.3.2 Memory The SAM4E16 chip embeds: • • • 1024kB of embedded Flash 128kB of embedded SRAM 16kB of ROM with embedded boot loader routines (UART, USB) and In-Application Programming functions (IAP) routines The SAM4E16 features an External Bus Interface (EBI) that permits interfacing to a broad range of external memories and virtually to any parallel peripheral.
4.3.3 Clock circuitry The clock generator of a SAM4E16 microcontroller is composed of: • • • A low-power 32.768Hz Slow Clock Oscillator with bypass mode • • A 80 to 240MHz PLL (PLLB) providing a clock for the USB Full Speed Controller A 3 to 20MHz Crystal Oscillator, which can be bypassed (12MHz needed in case of USB) A factory programmed fast internal RC Oscillator.
Power supply and management The Atmel SAM4E-EK board is supplied with an external 5V DC block through input J1. It is protected by a PolyZen diode (MN2) and an LC combinatory filter (MN3). The PolyZen is used in the event of an incorrect power supply connection. The adjustable LDO regulator MN4 is used for the 3.3V rail main supply. It powers all the 3.3V components on the board. Figure 4-4. Power block. J1 MN2 Power Jack 2.
4.3.6 UART The Universal Asynchronous Receiver Transmitter features a two-pin UART that can be used for communication and trace purposes. It offers an ideal channel for in-situ programming solutions. This UART is associated with two PDC channels to reduce the processor time on packet handling. This two-pin UART (TXD and RXD only) is buffered through an RS232 Transceiver MN6 and brought to the DB9 male connector J7. Figure 4-5. UART.
4.3.8 RS485 As noticed above the USART1 is shared with the RS485 port, connected to the transceiver MN6 and output to the 3point connector J6. The design includes selectable jumpers for RS485 bus termination resistors selection (JP10, JP12, and JP13). Figure 4-7. RS485.
4.3.10 CAN The CAN controller provides all the features required to implement the serial communication protocol CAN defined by Robert Bosch GmbH, the CAN specification as referred to by ISO/11898A (2.0 Part A and 2.0 Part B) for high speeds and ISO/11519-2 for low speeds. The CAN Controller is able to handle all types of frames (Data, Remote, Error and Overload) and achieves a bit rate of 1Mbit/sec. The Atmel SAM4E has two CAN Controller with eight Mailboxes.
Figure 4-10. LCD block. +3V3 PD[0..31] 4.7k DNP 8 RR1 7 DNP 6 4.7k 5 8 RR2 7 DNP 6 4.7k 5 4.7k DNP PA[0..31] C32 PC[0..
4.3.12 Touch screen interface The LCD module integrates a 4-wire touch panel controlled by MN16 (ADS7843) which is a slave device on the SAM4E16 SPI bus. The controller sends back the measurement information about the X and Y positions as a pressure is applied to the touch panel. The touch panel can be used with either a stylus or a finger. The ADS7843 touch panel controller connects to the SPI interface via the NPCS0 control signal.
4.3.14 Audio Interface The Atmel SAM4E-EK evaluation kit supports mono/stereo audio driven by a TPA0223 audio amplifier connected to two DAC channels of the microcontroller. The TPA0223 is a 2W mono Bridge-Tied-Load (BTL) amplifier designed to drive speakers with as low as 4Ω impedance. The amplifier can be reconfigured on the fly to drive two stereo Single-Ended (SE) signals into head phones. Figure 4-14. Headphone output. 1 2 AUDIO OUT +5V JP14 3 PB13 + C60 10uF C59 1uF C63 AGND 0.
Figure 4-15. USB. USB PC21 R80 47K R81 68K D+ ID G 11 7 6 5 D- 4 RV1 V5.5MLA0603 USB Micro B 3 1 FGND 5V 2 J11 TBD 10 8 9 RV2 V5.5MLA0603 C75 10pF FGND PB10 R82 27R PB11 R83 27R 4.3.16 Analog interface 4.3.16.1 Analog reference The 3.0V voltage reference is based on a LM4040 (Precision Micropower Shunt Voltage Reference). This ADVREF level can be set as 3.0V or 3.3V via the jumper JP3. Figure 4-16. Analog Vref. +5V 1 +3V3 JP3 2 C13 C14 100nF 1uF R1 2.
Figure 4-17. ADC/AFE input. ADC / AFE +3V3 3 Potentiometer Clockwise 2-->3 VR1 10K VR 2 (AFE0_AD5) PB1 PB0 (AFE0_AD4) PB2 (AFE1_AD0, need open JP41) 1 1 C68 10nF CN2 2 BNC JP40 3 JP20 C70 10nF CN3 JP21 JP22 2 C72 R77 49.9R 1 CN4 600R 220uH JP25 2 3 JP26 R78 680pF PC31 (AFE0_AD11) 3 JP24 2 BNC C74 4.7nF DNP C73 680pF L4 (AFE0_AD10) 1 JP23 L3 220uH 1 C71 4.7nF DNP PC30 2 1 BNC 3 3 R76 49.9R R79 49.9R 4.3.16.
4.3.17 QTouch elements QTouch keys consist in a series of sensors formed by the association of a copper area and the capacitive effect of human fingers approaching it. Keys The Atmel SAM4E-EK implements two individual capacitive touch keys (RIGHT, LEFT). Slider A group of channels forms a Slider. A Slider is composed of eight channels for a QTouch acquisition method. Such a sensor is used to detect a linear finger displacement on a sensitive area. A typical implementation is volume control. Figure 4-19.
4.3.19 SD/MMC card The Atmel SAM4E-EK has a high-speed 4-bit multimedia MMC interface, which is connected to a 4-bit SD/MMC micro card slot featuring a card detection switch. Figure 4-21. SD card. +3V3 VDD_MCI 4 3 2 1 2 SD POWER CTRL R161 0R DNP 1 R30 10K PD23 R31 10K 3 Q2 IRLML6402 J4 TF01A 5 6 7 8 VDD_MCI SD CARD RA1 68Kx4 R162 4.
Figure 4-23. PIO expansion. PE[0..5] PB[0..14] PA[0..31] PC[0..31] PD[0..
5. Configuration This chapter describes the PIO usage, the jumpers, the test points and the solder drops of an Atmel SAM4E-EK board. 5.1 PIO usage Table 5-1. PIO Port A pin assignments and signal descriptions.
Table 5-2. PIO Port B pin assignments and signal descriptions. IO line Peripheral A PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PWMH0 PWMH1 CANTX0 CANRX0 TWD1 TWCK1 NCPS2 PCK2 PWMH2 PWML0 PWML1 PWML2 NPCS1 PCK0 PWMH3 Table 5-3.
PC28 PC29 PC30 PC31 Table 5-4.
5.2 Jumpers The Atmel SAM4E-EK board jumpers are essentially used for two main purposes: functional selection or current measurement. Details are given below. Table 5-6. 2 pin jumpers setting.
6.
A B C 5 5 V Input POWER SUPPLY (3.3V) Sheet 6 ETHERNET(100M) Sheet 3 BACK LIGHT 2.
A B C D AT91SAM4E-BGA144 AT91SAM4E-BGA144 AT91SAM4E-BGA144 PIOD U1B PIOC 5 PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 PD16 PD17 PD18 PD19 PD20 PD21 PD22 PD23 PD24 PD25 PD26 PD27 PD28 PD29 PD30 PD31 PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13 PC14 PC15 PC16 PC17 PC18 PC19 PC20 PC21 PC22 PC23 PC24 PC25 PC26 PC27 PC28 PC29 PC30 PC31 U1D D4 B5 A5 B7 D6 D7 A8 B8 E9 D9 C12 E11 G10 G9 H10 A11 K11 L11 M10 M9 K9 H9 M8 M7 M6 M5 L6 J6 K10 D10 M1 D3 E4 J4 K4 L3
A B C 5 RR2 DNP 4.7k RR1 DNP 4.7k +3V3 4.7k 8 7 6 5 8 7 6 5 4.7k R20 47K +3V3 C38 4.7uF C35 1uF NOT POPULATED BN03K314S300R R24 0R NRST R17 4.
A B C D NRST PA[0..31] PB[0..14] 5 UTXD0 URXD0 TXD1 RXD1 RTS1 CTS1 NRST PA10 PA9 TP4 R58 100K +3V3 0R TP5 0R R60 C55 100nF C45 100nF R62 R59 100K +3V3 +3V3 0R 0R 0R 0R 47K R39 R40 R41 R42 R43 PA22 PA21_232 PA24 PA25 +3V3 0R R37 PA23 +3V3 R38 47K C43 4.
A B C 1 CN1 BNC 0.47uF R82 R83 27R 27R 68K R81 FGND JP16 47K PB11 5 JP15 C64 C69 10 8 9 C75 10pF RV1 V5.5MLA0603 2.2uF G ID D+ D- 4 ST/MN LO/MO- RO/MO+ 8 0R R70 2 4 R68 FGND RV2 V5.5MLA0603 11 7 6 PB14 C62 C65 AGND R64 R63 C58 7 10 6 R73 AGND GND BYPASS SHUTD0WN AGND DAC1 LIN MONO-IN RIN VDD USB Micro B USB JP18 9 1 5 3 5V J11 TBD 2 33K R72 R74 0R 47K R71 47K 33K 33K R66 R65 0.
A B 5 R84 R85 R86 R87 R88 R89 R90 R91 R92 R93 R94 R96 R98 R99 R100 +3V3 E1_MDC R103 E1_MDIO R104 INT_ETH1 R105 E1_RXCK E1_TXCK E1_TXEN E1_TX3 E1_TX2 E1_TX1 E1_TX0 E1_RX3 E1_RX2 E1_RX1 E1_RX0 E1_RXER E1_RXDV E1_CRS E1_COL RR3 4.
A B C D PA3 PA4 PE4 5 8 4 18 21 22 23 24 7 (CANRX0) PB3 PC12 (CANRX1) R150 (CANRX1EN) R149 PE3 R143 (CANTX1) PC15 (CANTX1RS) R142 R139 (CANRX0EN) R138 PE1 PE2 U4 R134 10K 10K R151 0R 0R 0R 0R R141 10K +3V3 10K R140 0R 0R 0R +3V3 AT42QT2160 VREF VSS VSS I2C_A0 I2C_A1 SDA SCL CHANGE RST VDD VDD VDD J37-6 (CANTX0RS) R135 2.2K 25 (CANTX0) 2.
A B C D 5 5 1 2 1 2 1 2 1 2 1 2 BP5 BP4 BP3 BP2 BP1 3 4 3 4 3 4 3 4 3 4 BUTTONS PD[0..31] PC[0..31] PA[0..31] PB[0..14] PE[0..
7. Revision History Doc. Rev. Date Comments 42067A 01/2013 Initial document release.
Atmel Corporation Atmel Asia Limited Atmel Munich GmbH Atmel Japan G.K. 1600 Technology Drive Unit 01-5 & 16, 19F Business Campus 16F Shin-Osaki Kangyo Bldg. San Jose, CA 95110 BEA Tower, Millennium City 5 Parkring 4 1-6-4 Osaki, Shinagawa-ku USA 418 Kwun Tong Road D-85748 Garching b. Munich Tokyo 141-0032 Tel: (+1)(408) 441-0311 Kwun Tong, Kowloon GERMANY JAPAN Fax: (+1)(408) 487-2600 HONG KONG Tel: (+49) 89-31970-0 Tel: (+81)(3) 6417-0300 www.atmel.