Home

SAM4E-EK User Guide

image

Contents

1. eno em Lox T ge oe TEN DP DEN 4 br 2997 90 Do 6 2 jro brat a DOI DM D ua 2 poo RXDT TS RXD2 PHY AD 5 RXP 3 ae 25 mU abis all um S CRSICONFIE1 m Epid 2 CT 2 20 I VOD v2 pe d ES INS EZ ee Y x PADDLE 42 Lo TH 4 T MDIO R110 gt R109 t INTRP NAND 10 R106 6 49 GND j 470R 0 RR4 VODA R107 R108 8 Xo 10 9 ema AK 2 wb ab F T 30 277 wi ioonr 2 NRST 2 RESET FGND ETH PHY RJ45 ETHERNET CONNECTOR At the De Assertion of Reset PHY ADD 2 0 001 CONFIG 2 0 000 Mode MIl Duplex Mode Half Duplex Isolate Mode Disable Speed Mode 100Mbps 220F 1_ Nway Auto Negotiation Enable R11 OR OR R112 4 gt 777 Fag SAM4E EK User Guide
2. 4 JZ V 2 5 P 1657 1 ee o pro GND 2 7 UTXDO 10 14 3 URXDO Win ER IER NE TP4 5 E FGND 4 3 7 USART The Universal Synchronous Asynchronous Receiver Transmitter USART provides one full duplex universal synchronous asynchronous serial link The data frame format is extensively configurable data length parity number of stop bits to support a broad range of serial communication standards The USART is also associated with PDC channels for TX RX data access To avoid any electrical conflict the 5232 and RS485 transceiver are isolated from the receiving line PA21 e Chose RS485 channel Close 1 2 pins on JP11 and set PA23 to high level e Chose RS232 channel Close 2 3 pins on JP11 and set PA23 to low level Figure 4 6 USART USART1 MNS 3V3 3 ADM3312EARU 6 1 e c45 C44 21 C46 4 7uF 100nFT 100nF 4 20 T 100nF t V C1 21 C2 1 si T 100nF 1001F a 4 238 4 10 C3 E ANN 19 e 1 4 80 toon yee SJE cs mv 00 7 18 3 EHE I9 o RIS1 24 BATA oR T20UT 17 RA AR T TUN nout Pre ESAE 2 Rout 21 485 FGND JP11 PA21 2 PA21 232 4 Atmel SAM4E EK User Guide 12 42067 5
3. 42067 5 4 04 2013 SAM4E EK User Guide i z E gt 8 v OS 4883 8 NYO 9 1 alva JIGOW 1902 Xx Y 1 3 v 34001 anot TF 8605 EZOAHGONS 1 p s 51 a 1 yy XUNVO 71 5 poem Soc TS0aN 51 un 5 Wo N3DGNVO 4400 444 v 9 465 F os 2 E IA ZIY att VV 5194 5 7 8 6 VV Gp ee Ml 1 sus Wo SWIXINVO T ZINN vrl 5 2 HSV14 148 Lanor 0 960 8605 SEZOAHSSNS 1 AOL anol 3 Orid 9 uy OXUNVO 6 1 Yl 8 BELY NI SSA 9 ELI SEA ZIY ar OXINVO Td 9 2 1 _ 1 40001 2 1 769 sy e Eg SHOXINVO zi T TNN 16 veld oO 9 86 IZON 36 92 o ZON 6 E
4. ta Jr vuosi Hno Yoon me 1 GED 4 v 4 L 8 1 30 6 4 vas 8 aasma e v zo Wo os aiva LE 9 6 low iv zz p any Mt 960 Seo x S NOGA Ee 1397 n 4155161 2 THON X zn 367 7 862108 SAL LON vr 0 se asojo si yed ay ano e le l 1 EE 2X ax LE Tax 5 021 10 d UO 53015 xis wath ESI 33 pian 25 031 T E HE 54 481 EOS 3 ano 62 30 van 82 gt Su Qr aar 82 1 uo Z gt 2 HZ tad 051 8 180 021 ES eaga Z 1 94 21 7 sga 21 680 1 58 21 Li 18a L 321 321 v S 880 e 18d 021 484 d21 9 8949 957 001 2 2038 oid 680 0971 d91 L m 8 3 0190 8 180 051 XY o L2 118 09 9 Staa L4 21 001 1 iH gt LE d9T 091 1 8 5 091 y
5. 14 4 3 11 2 control 15 4 3 12 5 inea PARE Pene 16 4 313 _ chr etie tdeo dee Doce ede ee Ra inde 16 4 314 Audio Interfaces euin ror tette le Foe a a pertes 17 4315 4 E 17 4 36 Analog Oe UR eas 18 4 3 16 1 Analog 18 4 3 16 2 Analog Input eii oe teinte dieere 18 4 3 16 3 Analog output rette 19 4 3 17 elemetts 20 4 3 18 A D o E 20 4 3 19 SD MMG 21 A320 Cc 21 4 3 21 2185 4612 21 5 23 US AGC Em 23 AME Ins dme 26 6 TNNT S 27 7 Revision History 36 Atmel SAM4E EK User Guide 2 42067B SAM4E 04 2013 1 1 1 2 1 3 Introduction Scope This user guide introduces the SAM4E EK Evaluation Kit SAMAE EK and describes its development and debugging capabilities Figure 1 1 Atmel SAM4E EK board User guide
6. voci ooi ano 5 2 F vol eot zo ver AS gg T4004 oIan 1 lt _ gt Le oloa lt gt e olvd gt Ts 013 119 4 sr v3 5 6 arn 5 6 5 6 29 SAM4E EK User Guide Atmel 42067B SAM4E 04 2013 30 42067 5 4 04 2013 SAM4E EK User Guide T 2 7 997141 XX pi 190 XX V 1 3 v E 41 aNov N3332S 921 di 2 091 mS 4 vl 14400 1 44001 u O31 1 DU O31 2
7. a 780 1 lt 188 rer oe ENW RAR R 22 2 noe Loy uxjo en muse L iz f THIS INI _ 8204 LL WOLY OIQW 137 OW 13 82 105 2 ord 06 04 62 380 I 66M SUD 13 Oldd 8 1 864 AQXH 1d 02 UDA 964 104 9L 00 OXM 1d Sad SL LOX eey XM 13 94 3 low DX 13 EDA 169 0XL ME 06M OXL 13 Z d SZ LOX 68M 92 88M Sidd 22 1894 9104 N3XL 99M N3XL1d 109 22 sey Odd 6L OXY OXY ld 9104 e olad 33 SAM4E EK User Guide Atmel 42067B SAM4E 04 2013 34
8. COL PD14 GRXCK RXCK PD15 GTX2 TX2 PD16 GTX3 TX3 PD17 GTXER PD18 NCS1 LCD CS PD19 NCS3 2 PD20 LED_PWM Amber PD21 1 LED PWM Green PD22 PWMH2 LED PWR RED PD23 PWMH3 SD PWR CTL PD24 PWMLO PD25 PWML1 _ 026 PWML2 PD27 PWML3 PD28 ETH_INTR PD29 PD30 PD31 Table 5 5 PIO Port E pin assignments and signal descriptions Peripheral A Peripheral B Peripheral C Peripheral D Extra SYSIO Comments function and GPIO PEO __ CANO Rs PE1 CANO EN 2 EN QTouch_CHANGE Atmel SAM4E EK User Guide 25 42067 5 4 04 2013 52 Jumpers 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 signal J37 1 SPI FLASH_CS NPCS3 Connect default Disconnect J37 2 NAND_CE NCSO Connect default Disconnect J37 3 VDDCORE Connect default Disconnect J37 4 VDDIO Connect default Disconnect J37 5 VDDIN Connect default Disconnect J37 6 CANT XO can use AFE1 ADO can use JP7 ERASE Erase internal flash Default JP9 TOUCH CS NPCSO Connect default Disconnect JP8 LCD CS NCS1 Connect default Disconnect J39 1 BUTTON SCROLL UP Connect default Disconnect J39 2 BU
9. gqv 134v ozar Ova 4 4 jons eor z SLY o34v anzz rar A E n 890 9 gt Ti8d o 1 e 5 cav ban lt 2 Ab ely 34V oav 5 8 1 119991070 orany e 999 Te 30170 1 990 v o 9001 T HLOP OS Ped 1501 2 300 em WOOT 898 NFONON E wo 9 sa 1 5 4 E 11 690 A dNv L Jnozz 25 3 you E 3400 3nor 5 1 X toU 195 Te aT 660 y S toarg S AESNVIGROZZ 889 amig P our 283 1 BNW lo 2 t 100 or 5 z Y 3 Ethernet Figure 6 6 n apap one pna pend up E 6 5 Hia 9 433HS alva 61 19
10. 42067 5 4 04 2013 13 4 3 10 The 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 SAMAE EK connects the CANO and bus to the CAN transceiver SN65HVD234 11 and 12 The extension connector J13 and J14 type is RJ12 female socket Figure 4 9 CAN block 3V3 CAN RJ12 3 3 2 CANTXIRS RAGA AN 12 12 CANRX1 R150 AA OR 4 3 11 Display interface The SAM4E EK carries a TFT transmissive LCD module with touch panel FTM280C34D Its integrated driver IC is ILI9325 The LCD display area is 2 8 inches diagonally measured with a native resolution of 240 x 320 dots 4 3 11 1 LCD module The LCD module gets reset from the NRST signal As explained this NRST is shared with the JTAG port and the push button BP1 The LCD chip select signal is connected to NCS1 the jumper JP8 can disconnect it so that this PIO line is available for other custom usage The SAM4E16 communicates with the LCD through PIOC where an 8
11. gt Su SNN 5822 Gan LLYYSN eN volgo lt Ezad lt gt mH 7419 4 D 5 T z Y Atmel 32 58 95 59 5 z 1 5 25 Sees sna wae ai FOVERE EE p nod asn AFINS LLI H3A AOON 84 1902 1 1 we TH orad gt d Xm 065 1224 e090V1WS SA 090V INS SA 1 2 eor 25 624 23 aal Ng iav _ z vzdr S Hnozz v1 asn 5 39089 231089 5 UE i Ezar uo 034 z z 8 ENO 66 lt 2 L 029 9
12. This guide gives details on how the Atmel SAM4E EK has been designed It is made up of six chapters e Chapter 1 includes references applicable documents acronyms and abbreviations e Chapter 2 describes the kit contents its main features e Chapter 3 provides instructions to power up the SAM4E EK and describes how to use it e Chapter 4 describes the hardware resources including default jumper and switch settings and the schematics e Chapter 5 provides all the board schematics e Chapter 6 provides troubleshooting instructions References and applicable documents Table 1 1 References and applicable documents tnos 11157 4 datasheet www atmel com Atmel SAMAE EK User Guide 3 42067 5 4 04 2013 2 Kit Contents 2 1 Deliverables The Atmel SAM4E EK toolkit contains the following items e An Atmel SAM4E EK board e Power supply e Universal input AC DC power supply with US Europe and UK plug adapters e One USB cable e One serial RS232 cable e One Ethernet cross cable e Awelcome letter Figure 2 1 Unpack and inspect the kit carefully Contact your local Atmel distributor if you have issues concerning the contents of the kit Atmel Unpacked SAM4E EK anu 2 12777717 M MELDE LIEU 181 SAM4E EK User Guide 42067 5 4 04 2013 4 2 2 Electrostatic warning The Atmel SAM4E EK board is shipped in a protective an
13. 799 3900 00 L iddnsA 950 z S S S gt 2 30001 1585 85 3 48 88071800 D z ju 44001 321 31 zozeway ZN zou dNG 9 bl 5 158 D Zi 1 91 ny Wo 4 2 4 1513 4 V v 3400 ore 1810 war 290 woo 30 sev LOXH 3 Zavserenay ou 9 P lt S 4 4 1noeu ASS si 3 V ore zd gt 3 Anozy 1 8 1612 6 10021 NIZL e ZL Nie LS Y0 ny LPM 1514 E 8 81 ino O 262 2 T 4 E 4100 Lanor 2 pz uf WY 5 150 060 El as D 6 6L ene e 2 4 yz 1 o ES H we v 4900 1_ EYE oe imm MO Z Aig E o eus 4 0 0tVd r2 6 2 1 7 ZL tus aon 8 00 30001 144001 eva m 1 e 82 4 90 TE So gt zival MO 1294 8132
14. area Sep d9T 001 c iia ad 2 091 MHSE 0 SGESZH3 eol 1 amp 0lod S zeoj gt litova 4 4 gt eola 5 z Y Atmel 31 42067 5 4 04 2013 SAM4E EK User Guide i z Y A v 6 vir WOO awos ava usa sad aaow gi 190 2 Xx V l Y v od sano 2 isusu 9 oai 9 Wo 19H 15 NIZL 1 S d gr 1non 5 0 oo oaxun Zt sano Lt 1 9 6 t 184 8 iar 2 T 98 3 rano i
15. e 10kO potentiometer VR1 is also connected to the AFEO AD5 implement an easy access to ADC programming and debugging or implement an analog user control like display brightness volume etc Atmel SAM4E EK User Guide 18 42067 5 4 04 2013 Figure 4 17 ADC AFE input ADC AFE 3V3 Potentiometer Clockwise 2 gt 3 VR1 _ 5 10K VR PBO AFE0_AD4 2240 PB2 AFE1 ADO need open JP41 CN3 1 JP21 JP22 1 AFEO_AD10 6 AFEO_AD11 4 3 16 3 Analog output The BNC connector is connected to the DAC port 14 and provides an external analog output An on board 500 resistor termination can be enabled by closing jumper JP21 A filter can be implemented on this output channel by replacing R74 and C69 with appropriate resistor and capacitor values depending on the application requirements Figure 4 18 DAC output JP18 CN1 PB14 BNC R74 2 DAC1 Atmel SAM4E EK User Guide 19 42067 5 4 04 2013 4 3 17 elements QTouch keys consist 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 d
16. 0 LINI V PWY oxiu znak uo Wire 13 SHOLO3NNOO 1 1 oe zi 6 5 OX THIS 8 ware VV or 604 olm 20 H13 QNO D 2 2 3uor 619 su sx 3900 ua p wee 10 z Om Y OSS 5 14 41 Sle Onn 6 dxu 5 2 WXI 9 4 fe Y XII of alk 7 1800 007 oer 3400 el T 7 zwaan NWI 808263 WXL OIN 09I3NO9 102 LO14NOO SHO zavAHd LQXe 1QVAHd ZQXH OQVAHd EQXH N3XL OXL 340 1svo g 2xu 00 peeds eyejosi jo uoniessy eq 3107
17. 16 A21 NANDALE PC17 A22 NANDCLE PC18 AO PC19 A1 PC20 A2 PC21 A3 PC22 A4 PC23 A5 PC24 A6 PC25 AT PC26 A8 PC27 A9 Atmel PWMLO PWML1 PWML2 PWML3 NPCS1 TIOA6 6 TCLK6 TIOA7 TIOB7 TCLK7 TIOA8 TIOB8 PWMLO TCLK8 PWML1 PWMHO PWMH1 PWMH2 PWML3 TIOA3 TIOB3 TCLK3 TIOA4 TIOB4 AFEO AD14 NAND DO LCD DB10 AFE1_AD4 NAND D1 LCD DB11 AFE1 AD5 2 DB12 AFE1 AD6 DB13 AFE1 D4 LCD DB14 NAND D5 LCD DB15 NAND D6 LCD DB16 NAND D7 LCD DB17 LCD WR OE NAND WE LCD RD CANRX1 08 CAN1 R 06 LCDBL EN SET NAND CANTX1 AD7 CAN1 D NAND ALE NAND CLE NAND_R B LCD_RS USB_VBUS AFEO AD12 AFEO AD13 SAM4E EK User Guide 24 42067 5 4 04 2013 PC28 A10 PC29 A11 TIOA5 AFEO AD9 PC30 A12 5 AFEO_AD10 PC31 _ A13 TCLK5 AD11 Table 5 4 PIO Port D pin assignments and signal descriptions Peripheral A Peripheral B Peripheral Peripheral D SYSIO Comments _and TXCK GTXEN _ PD2 GTXO TXO PD3 GTX1 TX1 4 GCRSDV GRXDV RXDV 5 RXO PD6 GRX1 MIL_RX1 PD7 GRXER MII PD8 GMDC ETH_MDC PD9 ETH_MDIO PD10 GCRS CRS PD11 2 2 PD12 GRX3 RX3 PD13 GCOL
18. 19945 uoisugjx3 WOO1 LSNYSHL3 suoyng 5031 1 5 19995 339912 131 42067 5 4 04 2013 SAM4E EK User Guide 482 y1eeus 1 M 3 2 S uvsn S 2 8 Y Old 8 a 3av oav V Old 5 AvINVS gt o Jossa20Jd WHY z T3N1V oianv 13 5 LI ONYO ASN 54 HSV14 145 S AlddNS o AS S a E D T z Y Atmel Microcontroller Figure 6 2 n Rd ss pasen v 4 H3A gi 190 c XX V Pwy avWwvs 201 1 884 48001 AE S NV I Jn00L 7 71
19. 2 Note 4 3 13 Touch screen interface The LCD module integrates a 4 wire touch panel controlled by MN16 ADS7843 which is a slave device on the SAMAE 16 SPI bus The controller sends back the measurement information about the X and positions as a pressure is applied to the touch panel The touch panel can be used with either a stylus or a finger ADS7843 touch panel controller connects to the SPI interface via the NPCSO control signal Two interrupt signals are connected and provide events information back to the microcontroller and Busy Penlrq PA16 is shared with ZigBee signal ZIGB MISC Busy PA17 is shared with ZigBee signal ZIGB IRQ Therefore if using a ZigBee interface in concurrence with the Touch Screen controller take care not to have both drivers enabled at the same time on either PA16 or PA17 Figure 4 12 Touch panel control 43V3 lt R19 MN16 7843 Tk DCLK DIN JP9 DOUT 17 R22 OR PENIRQ 25 OR 2 10 c39 2 40 cat NS 100nF T 100n LCD TOUCH SCREEN AGND_TP 100nF 3 3 2 R21 100K R23 OR 16 43V3 L2 10uH 150mA lt R26 1R C42 sn 4 7uF OR A standard 20 pin JTAG ICE connector is implemented on the Atmel SAM4E EK for the connection of a compatible ARM JTAG emulator interface such as the SAM ICE from Segger Note that the NRST signal is connected to BP1 system button and is also used
20. 3 37 eRT C93 C92 C94 100 100 36 5 v I9 NCSO chip select signal is used for NAND Flash chip selection Furthermore a dedicated jumper can disconnect it from the on board memories thereby letting NCSO free for other custom purposes Atmel SAMAE EK User Guide 9 42067 5 4 04 2013 4 3 3 Clock circuitry The clock generator of a SAM4E16 microcontroller is composed of e A low power 32 768Hz Slow Clock Oscillator with bypass mode e to 20MHz Crystal Oscillator which can be bypassed 12MHz needed in case of USB e factory programmed fast internal RC Oscillator Three output frequencies can be selected 4 default value 8 or 12MHz A 80 to 240MHz PLL providing a clock for the USB Full Speed Controller e 80 to 240MHz programmable PLL PLLA capable to provide the clock to the processor and to the peripherals The input frequency of PLLA is from 3 to 32MHz The SAM4E EK board is equipped with one 12MHz crystal optional Piezoelectric Ceramic Resonator 12MHz Murata ref CSTCE12M0G15L99 RO 32 768Hz crystal and an external clock input connector Figure 4 3 External clock source C22 R3 AA __ 32 768 kHz 27 18pF R4 OR 42 SMB 4 3 4 Reset circuitry On board NRST button 1 provides an external reset control of the SAM4E16 The NRST pin is bidirectional It is handled by the on chip reset controller
21. 4 04 2013 As noticed above the USART1 is shared with the RS485 port connected to the transceiver MN6 and output the 3 point connector J6 The design includes selectable jumpers for RS485 bus termination resistors selection JP 10 JP12 4 3 8 5485 and JP13 Figure 4 7 RS485 3V3 3V3 RS 485 25 3 ue ADMMBSARZ ED RXD1 PA21 485 R47 ADR 1 BO 8 d os CTS4 PA25 R48 pyy 2 on TT 100nF 116 RTS1 __PA24 R49 pyy 08 OE 2 B TXDi PA22 R50 pap OR 41 NE e e JP12 5 ui JP13 FGND SRE 4 3 9 Ethernet MAC 10 100 EMAC The EMAC module implements a 10 100 Ethernet MAC compatible with the IEEE 802 3 standard using an address checker statistics and control registers receive and transmit blocks and a DMA interface The Atmel SAM4E EK is equipped with a MICREL KSZ8051MNL 10 100 Mbps Fast Ethernet Physical Layer transceiver It contains the entire physical layer functions of 100 as defined by IEEE 802 3u The Ethernet interface provides for 100Base TX 10Base TX The interfaces are capable of both 10Mb s and 100Mb s data rates as described in the IEEE 802 3u standard The Ethernet interface integrates an RJ45 connector with an embedded transformer and two status LEDs Figure 4 8 Ethernet block PD 0 31 Atmel
22. 4 bit SD MMC micro card slot featuring a card detection switch Figure 4 21 SD card 3V3 VDD NCI 4 3 00 ZigBee SD POWER CTRL _ SD CARD The SAM4E EK has a 10 pin male connector for the RZ600 ZigBee module Note 00 resistors have been implemented in series with the PIO lines that are used elsewhere in the design thereby enabling their individual disconnection should a conflict occur in your application Figure 4 22 ZigBee interface ZB RSTN PA18 R15 ZBEE PA R15 SPIO NPCS3f PA MISO PA 4 3 24 PIO expansion 10 5 2 419 2 ZIGBEE R153 R156 C100 C101 18pF OR OR PA16 MISC_ZBEE PA SLP_TR PA MOST DA SPCK JP36 43V3 149 102 2 2uF 2 2n The SAMAE EK product features three PIO controllers PIOA PIOB PIOC and PIOD which are multiplexed with the I O lines of the embedded peripherals Each PIO Controller controls up to 32 lines 15 for and 6 for Expansion ports J15 J16 J17 and J18 provide PIO lines access for customer usage Atmel SAM4E EK User Guide 21 42067B SAM4E 04 2013 Figure 4 23 PIO expansion PE 0 5 PB O 14 PA 0 31 PC O 31 PD O 31 11441444 1 898885 PIO B amp PIOE PIO D PIOC Atmel SAM4E EK User Guide 22 420
23. 6100 Fax 49 89 3194621 Fax 81 3 6417 0370 Fax 852 2722 1369 2013 Atmel Corporation All rights reserved Rev 42067B SAM4E 04 2013 Atmel Atmel logo and combinations thereof Enabling Unlimited Possibilities QTouch and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries ARM Cortex and others are registered trademarks or trademarks of ARM Ltd Other terms and product names may be trademarks of others 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 THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE 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 AND 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
24. 67B SAM4E 04 2013 5 5 1 Table 5 1 Configuration This chapter describes the PIO usage the jumpers the test points and the solder drops of an Atmel SAM4E EK board PIO Port A pin assignments and signal descriptions GPIO 2 4 5 7 10 PA11 PA12 PA13 PA14 PA15 PA16 PA17 PA18 PA19 PA20 PA21 PA22 PA23 PA24 PA25 PA26 PA27 PA28 PA29 1 1 2 TWDO TWCKO URXDO UTXDO NPCSO MISO MOSI SPCK RXD1 TXD1 SCK1 RTS1 CTS1 DCD1 DTR1 DSR1 RI1 PWML2 NPCS1 Atmel TIOAO TIOBO NPCS3 TCLKO NPCS3 PCKO PWMH3 ADTRG NPCS1 NPCS2 PWMHO PWMH1 PWMH2 PWMH3 TIOA1 TIOB1 PCK1 PCK2 PWMLO PWML1 PCK1 NPCS3 PWMH1 PWMH2 TIOA2 TIOB2 TCLK1 TCLK2 NPCS2 PCK2 A17 A18 DATRG URXD1 UTXD1 PWMFIO PWML3 PWML2 14 15 16 52 19 20 23 MCDA2 MCDA3 MCCDA MCCK MCDAO MCDA1 WKUPO WKUP1 WKUP2 WKUP4 XIN32 WKUP5 XOUT32 WKUP6 WKUP7 WKUP8 WKUP14 PIODCEN1 WKUP15 PIODCEN2 ADO AD1 AD2 WKUP9 AD3 WKUP10 AFE1 AD2 AFE1 AD3 PIODCCLK PIODCO PIODC1 PIODC2 PIODC3 PIODC4 PIODC5 WKUP11 PIODC6 PIODC7 LED_TIMER Blue BUTTON_SCROLL UP BUTTON_SCROLL DOWN QTouch_SDA QTouch_SCL ZIGB_SEL SPI FLASH_CS SD_CD XIN32 XOUT32 D
25. 9 620 F 7 s 55 rav 8 3 gs E T 84 VV gu E t 4 Anon ana MV m Z0E6ZOIN NIN 2 5 ans ava 488151 120 1 T T 99 18 3 022 anz anzz L 3400 929 5 SZO F 8 WO 31159 81 x I t 4 e x 4 Td u 5 Weng lt gt 158 A Svea 2184 19 olano 53 A Tans 4 elad 18 sar ra 188917 1531 1 T eL 10 5 8 984 n ES Lanz NIGGA 8d 4 2 07 189 T azz e st po 1 1 wu m 0 XEWIVOPOTWT 3001 eur QP T Ani ul rm I g AH eg ed vVLVOS 3vVWVSL6lV 2 s er did
26. Atmel SAM4E EK User Guide SAM4E EK Evaluation Kit 42067B SAM4E 04 2013 Table of Contents 1 Introduction 3 MEE M 3 152 88 0 06 555 ER 3 13 References and applicable documents 3 2 Kit Contents ise e terri ke e pie eR Ke ERR UAE RARUS ERR RA YER 4 2 1 pug 4 2 2 Electrostatic warning nde enabled an eene 5 95 odor 6 29 1 Powerupthe DOSE uer etie toan sra Muir 6 3 2 Source code and techinical SUPPOME ierit ret ceteri tr d den 6 4 Board Description Ree 7 4 1 TIR 7 4 2 Features CC E 8 4 3 9 4 3 1 LE 9 4 3 2 MEMOR 9 4 3 9 10 4 3 4 FRESOE E 10 4 3 5 Power supply and 11 LEONES Lc 12 1 3 USART 12 13 4 3 9 Ethernet 10 100 13 4 310 14 LEON EPIO Ince DS 14 ASMA LED modules iiie
27. BGU_ROUT DBGU_TIN TOUCH_CS TOUCH_DOUT ZIGB_MISO SPI FLASH SO TOUCH DIN ZIGB MOSI SPI FLASH SI TOUCH DCLK ZIGB_SCLK SPI FLASH SCK ZIGB SLP TR TOUCH ZIGB MISC TOUCH BUZY ZIGB ZIGB RST BUTTON WAKU BUTTON TAMP RS232 RXD RS485 RXD RS232 TXD 5485 TXD RS232_EN RS232_RTS RS485_DE RS232_CTS RS485_RE SD_DAT2 SD_DAT3 SD_CMD SD_CLK SD_DATO SD_DAT1 SAM4E EK User Guide 23 42067 5 4 04 2013 Table 5 2 PIO Port B pin assignments and signal descriptions Peripheral Peripheral B Peripheral C Extra function SYSIO and GPIO 1 2 PB4 TWD1 PBS TWCK1 PB6 7 PB8 9 10 PB11 PB12 PWML1 PB13 PWML2 PB14 NPCS1 NCPS2 PCK2 PWMH2 PWMLO PCKO RXDO AFEO ADA RTCOUTO TXDO AFEO_AD5 RTCOUT1 ADC_Potentiometer CTSO AFE1 ADO WKUP12 CANO D AFE1 BNC RTSO AFE1 AD1 CANO R TDI JTAG TDI WKUP13 TDO TRACESWO TMS SWDIO JTAG TMS TCK SWCLK JTAG TCK XOUT XOUT XIN XIN DDP USB DDM USB D ERASE ERASE SCKO DACO AUDIO RIN DAC1 AUDIO LIN DAC1 BNC Table 5 3 PIO Port C pin assignments and signal descriptions Peripheral A Peripheral B Peripheral C Peripheral D SYSIO Comments and GPIO m 7 2 2 03 D4 PC5 D5 PC6 D6 PC7 D7 NWE 9 NANDOE PC10 NANDWE PC11 NRD PC12 NCS3 PC13 NWAIT PC14 NCSO PC15 NCS1 PC
28. It can be driven low to provide a reset signal out to the external components Conversely it can be asserted low from the outside to reset the microcontroller Core and the peripherals The NRST pin integrates a permanent pull up resistor of 100 to VDDIO On the SAM4E EK board the NRST signal is connected to the LCD module and JTAG port Note At power on the NRST signal is asserted with default duration of two clock cycles That duration may not be sufficient to correctly reset any other system or board devices connected to that signal First in your custom application you need to check for these device s datasheets about reset duration requirements Then you need to set an appropriate configuration in the NRST Manager This is done through the ERSTL field in the RSTC_MR register The NRST duration is thereby configurable between 60us 2s whether it is subsequently activated by a software reset or a user reset Refer to the SAM4E16 datasheet for in depth information Atmel SAM4E EK User Guide 10 42067 5 4 04 2013 4 3 5 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 Powe
29. ON Spi ean xs V ener o 97 ans SSA c 201 tebe 0104 ssa LL 999 099 8 223 ala 9d ze 0199 254 LE 60d Ps 193 3124 von voa FZ 5 5 108 45 ES vas o HSV 14 GNVN T d WETS ITS ES IAO A340 2989 Be E 2089 n 10189 21 40221 lt Pole x 82 ava H 0i 5 ex 5 1 X Mim or x ML bt zx dx Ze m liM L eiod rm gt ETIN TEES gar 4 5 Le ovd lt 3x 789 90 lt gt 9 15 08 84 5 z Y Atmel 35 SE A 5 5 gt v ee E Tereudued awos SVS 42067 5 4 04 2013 SAM4E EK User Guide v NMOG TION2S E 82 suas zeer E 0918 Mild epis uo
30. SD MMC interface Reset button NRST User buttons WAKU TAMP Scroll up Scroll down buttons Left Right and Slider Full Speed USB device port JTAG ICE port On board power regulation Three user LEDs Power LED BNC connector for ADC input BNC connector for DAC output User potentiometer connected to the ADC input ZigBee connector PIO connection interfaces PIOA PIOC and PIOD with 32 bit PIOB with 16 bit PIOE with 6 bit SAM4E EK User Guide 8 42067B SAM4E 04 2013 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 e 1024kB of embedded Flash e 128kB of embedded SRAM 16kB of ROM with embedded boot loader routines UART USB and In Application Programming functions IAP routines The 4 16 features an External Bus Interface that permits interfacing to a broad range of external memories and virtually to any parallel peripheral The SAM4E EK board is equipped with one NAND Flash MT29F2G08ABAEA on the EBI This can change to other type of flash by setting the Static Memory Controller Figure 4 2 NAND Flash 85 5 NAND FLASH R125 lt R126 MN 1 SH i MT29F2G08ABAEA PC17 f o P CLE 0 0 53 P 21 se WP 2 3 3 1 R13 47K 40 7 N C3 R133 N C4 8 DNP N C5 N C6 7 N C8 8 9 7 1 N C10 43V
31. TTON SCROLL DOWN Connect default Disconnect J39 3 _ Connect default Disconnect J39 4 BUTTON_WAKU Connect default Disconnect JP15 PB13 DAC to MONO IN Audio Connect default Disconnect default JP16 PB14 DAC to MONO IN Audio Connect default Disconnect default JP17 Audio_ST MN Force mono mode No force default JP19 JP20 JP23 BNC input 500 match resister Use No use default 1 2 close 2 3 close JP11 PA21 RS485 RX RS232 RX JP3 ADVREF 3 3V default 3 0V JP14 Audio power 5V default 3 3V JP18 DAC_PB14 To CN1 BNC To Audio_LIN default JP31 JP32 JP33 JP34 PIOA B C D CONN power 5V 3 3V 21 JP22 JP24 JP25 AFEO AD10 AD11 Use filter default Bypass filter JP40 ADC BNC input To 4 To AFE1 ADO SAM4E EK User Guide 26 42067 5 4 04 2013 Atmel 6 Schematics This chapter contains the following schematics e Block diagram e Microcontroller e TFT LCD and touch e COM and SD card and JTAG e Audio and USB e Ethernet QTouch and Flash memories e Peripheral Atmel SAM4E EK User Guide 27 42067B SAM4E 04 2013 28 n 2 E Y gi ee eee eee 8 401 Ma Uc awos ava ssa xxx 21100 v ew yy 8 3294S 9 19945 2
32. bit parallel 8080 like protocol data bus has to be implemented in software Atmel SAM4E EK User Guide 14 42067B SAM4E 04 2013 Figure 4 10 LCD block PD 0 31 lt b ul PA 0 31 lt lt 0 31 lt lt gt gt x 47K J3 4 FH26 39S 0 3SHW LCD_DB17 PC6 LCD DB16 PCS LCD 0815 PC4 LCD DB14 DNP LCD DBO ANB LCD 0613 0814 2 0813 0812 0811 LCD 6811 3 4 LCD 085 LCD_DB9 PIN 39 NRST FTM280C34D PIN 1 The partis placed as close as possible to J4 NOT POPULATED Six slots on PCB for LCD shield 4 3 11 2 Backlight control The LCD backlight is made of four integrated white chip LEDs arranged in parallel These are driven by an AAT3155 charge pump MN15 The AAT3155 is controlled by PC 13 00 resistor R24 is mounted in series on this line which permits to use it for other custom purposes In that case the pull up resistor R20 maintains the charge pump permanently enabled by default On the anode drive line a 00 resistor R18 is implemented in series for an optional current limitation Figure 4 11 Backlight control MN15 3V3 40 1551 1 3V3 LCD BACKLIGHT Atmel SAM4E EK User Guide 15 42067 5 4 04 2013 4 3 1
33. cessor evaluation solution with high flexibility for various kinds of applications Figure 4 1 SAM4E EK block diagram RS232 SUB D9 mE JTAG HE10 DBGU Analog In SUB D9 5 E 85232 85485 Transceiver Transceiver 2 8 320 x 240 RS232 Transceiver ADC12B UARTO USARTO PIO SPI Analog In Single Ended S 9 1 NRST 2 P AFE 1x FWUP Analog In 1xTAMP Differential conditioning 222 1x8 MHz System 1x 32 768 kHz Controller Stereo Jack Erase al SAMA4E LFBGA144 em CAN Serial Flash CAN Blue LED R 12 4 Green LED gt Amber LED DC IN TWI HSMCI SD TO WHOLE SYSTEM X Micro B Connector 2 QTouch Keys 1 Slider QTouch Key Scroll Up Scroll Down 14 PIO Extension Connector Atmel SAM4E EK User Guide 7 42067B SAM4E 04 2013 4 2 Features list The list of the main board components and interfaces Atmel SAM4E16 chip BGA144 package with optional socket footprint 12 2 crystal 32 768 2 crystal Optional SMB connector for external system clock input NAND Flash 2 8 inch TFT color LCD display with touch panel and backlight UART port with RS232 driver USART port with RS232 driver multiplexed with RS485 function with driver CAN port with driver Mono stereo headphone jack output One Ethernet physical transceiver layer with RJ45 connector
34. d 9L SL 589 Lewd 9L Syd 1224 9L S Sd 104 9L SL Sad vr L Wd 0294 L vod 0209 vb L LL Evd Im d 5109 LL Edd Zd OL 8 OL avd 8124 OL 224 8104 OL 6 209 139 8 1 189 Live 8 Wa 2104 8 19d 8 1 109 03d 9 5 08d 9 Ove 9109 9 099 9109 9 5 2 2 2 2 S 5 2 a 09 ux n O 2 5 Sg z Y Atmel 7 Revision History Doc Rev Date Comments 42067B 04 2013 A feature is added to the feature list in Chapter 4 2 Some typos are fixed 42067A 01 2013 Initial document release Atmel SAM4E EK User Guide 36 42067B SAM4E 04 2013 Atmel Enabling Unlimited Possibilities Atmel Corporation Atmel Asia Limited Atmel Munich GmbH Atmel Japan G K 1600 Technology Drive Unit 01 5 amp 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 com Tel 852 2245
35. isplacement on a sensitive area A typical implementation is volume control Figure 4 19 QT_Slider 3V3 FB3 l BN03K314S300R MN17 si QXXD 34 6 VDD cao VDD VDD 1uF floonF100nAR117 10 25 RST B AR B KAB A 3V3 PAD GPIO1 R1225R123 102 is 2 2K GPIO3 PAS J 24 Ei 4 7 2 1 CHANGE 21 R127 1K 12C_A0 YOA VVV Yo 2 1 Ecl E 1K ANN 4 7nF Qtouch 42072160 4 3 18 LEDs There are three LEDs on the SAM4E EK board e A blue LED D2 amber LED 03 and a green LED D4 which are user defined and controlled by the GPIO e A red LED 05 which is a power LED indicating that the 3 3V power rail is active It is also controlled by the GPIO and can be treated as a user LED as well The only difference with the two others is that it is controlled through a MOS transistor By default the PIO line is disabled a pull up resistor controls the MOS to light the LED when the power is ON Figure 4 20 LEDs LEDS 3 3 TIMER LED Blue PWM PD20 D3 LED Amber PWM LED Green POWER PD22 R159 yy 100 2 D5 gt LED Red IRLML250201 Atmel SAM4E EK User Guide 20 42067B SAM4E 04 2013 4 3 19 SD MMC card The Atmel SAM4E EK has a high speed 4 bit multimedia MMC interface which is connected to a
36. nejuepui uo jou s V V sr 91710355 Wa z 9JON E 5 mid 1209 qe i us 21 338912 ssia 2 Sack 2 27 1 1 anzz 1 1 4019 1 0012 1 Jequv 457 4 0204 6 8 1 _ Fe Ison 9 5 SVd oras 1 418 SiVd AOSIH y 3382 ena 01 4 olv 80 VV two Vesla Ez lt E e eet eir 5041 SNOLLNG 2 Old a Old 3 Old 8 Old V Old j 1 1 fence oJ fence _ 1 1 1 26 SE Teva se Sivd 1654 se fara 109 SE 9109 YE ee riad 0204 YE ee frod YE 7109 ZE feisd vd ZE Elya 6204 ze 1 ferd 5209 ze 06 Bev 06 Zivd 8204 06 62 Zd 8209 06 109 82 12 Lave 82 82 26 1204 82 1 92 Sz 92 92 0 9204 92 SZ fod 9209 92 Sz 0109 5 ve S d 6 9204 69 5209 D 60d 22 12 22 vd 22 Le 804 dd 22 12 809 184 Saved 02 20d 02 194 Zad 02 109 8L 1L 98d Wa 2224 904 2204 8L 909 Si
37. nes inserted When works as stereo mode make sure JP15 JP16 and JP17 are disconnected 4 3 15 USB device The SAM4E16 UDP port is compliant with the Universal Serial Bus USB rev 2 0 Full Speed device specification J11 is a micro B type receptacle for USB device Both 270 resistors R82 and R83 build up 900 differential impedance together with the embedded 60 output impedance of the 5 4 16 full speed channel drivers R80 and R81 build up a divider bridge from VBUS 5V to implement plug in detection 5V level gets lowered to a PIO compatible 3 3V level through PC21 Atmel SAM4E EK User Guide 17 42067 5 4 04 2013 Figure 4 15 USB USB J11 3 TBD USB Micro V5 5MLA0603 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 3V3 5V ADVREF 4 3 16 2 Analog input e BNC connector is connected to the AD4 or AFE1 ADO selected by as a single external analog input e BNC connectors CN3 4 are connected to AD10 and AFEO 11 as a differential external analog input A low pass filter is optional by close 1 2 pins of JP21 JP22 JP24 and JP25 e Each BNC input has an on board 500 resistor termination that can be applied by closing jumper JP20 JP23 or JP26
38. r block 1 MN2 MN3 Power Jack 5 BNX002 01 5V MN4 MIC29302 5V 3V3 R9 169K 196 C30 100uF TAN 6 BV 100nF R10 102K 1 The SAM4E 16 product has different types of power supply pins VDDIN pin Power for the internal voltage regulator ADC DAC and analog comparator power supplies The voltage ranges from 1 6V to 3 6V e VDDIO pins Power for the Peripherals I O lines The voltage ranges from 1 62V to 3 6V e VDDOUT pin Output of the internal voltage regulator VDDCORE pins Power for the core including the processor embedded memories and peripherals The voltage ranges from 1 08V to 1 32V VDDPLL pin Power for the PLL A PLL B and 12MHz oscillator The voltage ranges from 1 08V to 1 32V Note VDDPLL should be decoupled and filtered from VDDCORE Atmel SAM4E EK User Guide 11 42067 5 4 04 2013 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 MN7 ADM3202 3V3 16 1 VCC 1 54 EM C53 100nF 100nF 3V3 3V3 C55
39. ti 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 Atmel SAM4E EK User Guide 5 42067B SAM4E 04 2013 3 3 1 Power 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 2 Source code and technical support After boot up you can run some sample code or your own application on the development kit You can download sample code and get technical support from the Atmel web site http www atmel com Atmel SAMAE EK User Guide 6 42067 5 4 04 2013 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 pro
40. to reset the LCD module The 00 resistor R61 may be removed in order to isolate the JTAG port from this system reset signal Figure 4 13 JTAG interface 3V3 ICE INTERFACE Atmel SAM4E EK User Guide 16 42067B SAM4E 04 2013 4 3 14 Audio Interface The Atmel SAM4E EK evaluation kit supports mono stereo audio driven by TPA0223 audio amplifier connected to two DAC channels of the microcontroller The 0223 is a 2W mono Bridge Tied Load BTL amplifier designed to drive speakers with as low as 40 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 AUDIO OUT TPA0223DGQ FB2 BNO3K314S300R VDD 000 VDD C64 R68 100K R69 100K Test Pad SQ 40TH ST MN SHUTDOWN RTO EO 4 C65 0 47 c66 oe BYPASS JP17 TM AGND AGND AGND AUDIO OUTL C6 R73 OR Using a readily available 1 8 in 3 5mm stereo headphone jack the control switch 4 and pind in J10 is closed when plug is inserted When closed a 100kQ 1kQ divider pulls the ST MN input low When a jack plug is inserted the 1 resistor is disconnected and the ST MN input is pulled high The mono speaker J9 connector is also physically disconnected from the RO MO output so that no sound is heard from the speaker while the headpho
41. to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products 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 products are not intended authorized or warranted for use as components in applications intended to support or sustain life

Download Pdf Manuals

image

Related Search

Related Contents

une réponse globale de la SEAu  Case Logic Hardshell EVA Medium Sized Camcorder Case  Cell Assistant for Windows V 1.3 User`s Manual  Keys Fitness CARDIOZONE E-CZ100 User's Manual  HQ RC UNIVERS50 remote control  

Copyright © All rights reserved.
Failed to retrieve file