Home

SAM7-EX256 User Manual

image

Contents

1. zz e asn AS ely PIT XIWITO 6002 9 LHOINAdOD AS S dg L82 dc 2 Aay MSL OEE E ud sn ae Z8Y 119 962XH INVS l LE 992XNVS LELY Sp oa a Tt GP a a T sei ZP deg ES LON sed des 26 Soe um uoo uoo Logg uoo uoot uoo uoo juoor Vogt auvo as CJ TG tano LE Ee e mm mm mm Se is doi KN9 ez bo Bo lo Po ko pO fo Fo CA Cer dO tz d uy ALAS L 073 T zano i im LA SZH 1N0X For Gage CL v ISH oo c3 986 YIWHANIX LONS 16 Saueciva Lay YN dot a sawiiva H HE erre OvS1vg id TES Il v3HOOQQA s a 8 300 l e Pl K LSUN 3HOOGGA ZO OG 01Lv Z POSIN 00L 878 Ld EE CEN ISL ZaYOOGGN Le aaa 2 MEE ii e asvua L3YO9IDA Ter gan E OOS P t ir ang Sen S0109M e 1 issa L HUOZP 9d 1asovur vOladA Lis E Paso H SAL EOIOOA igawo rz DISOW oal colada amp MI MELLE age dai aL roan e i o MOL D UOOL cam lat amazed brg SS oe aa usviuag A84 Cake II ESCH 1 Ob av inogaA 7 t AC SIDD 019 4 OWW GSs Vv WV Z NI 9IN 9 ogy NIGGA rs Tail uooL
2. P Eee 1 2 6 ARMU P SDN EP 1 ARMA vrbe T 1 fiiv AA yq C 5 zn T H 3 o io e 4 E eine aNG aaa ANNA tata ai nr la MA nl ese ca ate kde AD NT Castes Lon Maa 4 5 BAG T T M 5 Headphone Speaker Gelechon essei nn nn asse ssa s sas ness sens 6 EP PA al YAN 2 5 In2 Ville OO AA AA AA AA AA 2 5 6 eg LANA aa 2 5 A EE 2 5 6 ie Eo AA 2 6 B A 1 4 E USS SA A AG PU a o 4 BUS A A e A AAP 5 Communication 1 y A e PP o O e 2 Eege 1 Sei 3 TE ein AA s 3 SP EE 2 AA OOO PAA APP it 2 POON AA AA AA 2 C NIS WEE 1 5 o Ee 3 ANNA PPT 4 5 O ale gel HA 2 5 Be 4 o PP 5 INBE R Gro ee 0 0 EE 3 Termination Gelechon ee I rr 3 5 SP NY MORENI RR E 3 5 ANNA atei taia noo EE 4 eic
3. 1 2 4 ae mucm J 2 3 4 I A 4 5 eJ 3 4 5 CT o aes 4 5 PED mm E 4 5 6 B E e 3 B B QWMMCT L V P 2 DRA D ec cS 2 4 5 AE o O HERO 4 5 6 SAM7 EX256 Development Board User s Guide OUMEX 5 16 11 2010 Section 13 Mechanical Drawings RRC HEEN 4 5 6 Pap AR EE EE 2 5 DAR AA AA 2 O AA E AA AA 5 A EE 5 aa ARA AA AA KA AA En 5 ann 5 zB Om mc ncc 5 A 3 T HQ 5 ERA AA 5 ERNDOMESRSO AA aia Aaa unt ua va as 0 na taia aa Deta aia Atu e au dadea CNET EREMO 5 ERA BR P O 5 A AA Me eM tea
4. E 1 4 6 jino es 2 4 7 Ea EE 3 4 ie mil mA EE 6 TE gh T 3 4 jJ 1 7 TURO EE 6 AP 3 4 6 ie EE 4 nl AA 3 4 6 pp w 2 AA ON 1 5 T AA A 2 45 EE 4 PAP AA 2 4 EXD PAA AA 4 5 6 Piu AA doce se ens i gee ai ea ta ed aa eet aaa 1 5 A 1 5 A AA 2 NEE 4 Be BEE 4 o O PP AA 2 AA ANA 4 5 6 EE 3 VEI RE 3 SS A AA 2 18015 ln re AA AA A 3 4 A AA AA E 2 sl AA AA 1 2 3 4 Clock AA 1 2 4 AA AA 1 O NR AASA APA ali E NANANA EE 3 PP eat n na ia pa nat a a aa d O da oa meat a e d e na i dn id Deda 1 2 3 SIL B cic AA ER Nal NAG EAST e eta 1 2 chfo PP H O 3 T A A 3 o RETE AA 6 EE 2 6 LINIS AA EMEN PP AA a 6 a e a CP oe EU CU RON
5. 20000000000 DB 20000000000 ok The LCD connection is realized by using a pair of matching Hirose DF 23 low profile 2x5 SMT connectors Note The following pinout applies to the board connector Table 11 LCD Connector Section 9 Connectors 9 3 Ethernet Connector Figure 9 6 Ethernet Connector 12345678 JA SILI ERASE S _ Sr Kata al T C21 p 2555 E iol S Bol i Ora avoc The Ethernet connector is a standard RJ45 socket with integrated magnetics EMI filters and LEDs Table 12 Ethernet Connector The LEDs are used as follow Table 13 Ethernet LEDs 9 4 USB Connector Figure 9 7 USB Connector 6 RAN gt ERASE D WHH OLIMEX coN DEU e 3 rca D is Lis KE 19 2505 SEIS The USB connector is a standard USB Type B socket Table 14 USB Connector ET Signal Name O Ping Signal Name Connectors 9 5 SD MMC Connector Section 9 Figure 9 8 SD MMC Connector OO ook aii ees SSC oo SE teren DEY URLS 13 15 The SD MMC connector is a manual insertion SD MMC compatible socket with card detect and wri
6. S Ae Song n Ce The STNB HS configuration strap enables selecting the CAN transceiver operation mode Table 26 STNB HS Configuration Strap 10 4 2 CAN_T Configuration Strap Figure 10 22 CAN_T Configuration 200000 100000 ola E Ri FE See Pa EX266 23 pa R PD po R91 pit Is E tym De E Al E ne R201 C21 7 oo gini Bs gt e UR1 5U _ oo q Bes a a in io LE CjPMR IN ES The CAN T configuration strap enables the CAN bus termination by a 120 ohms resistor SAM7 EX256 Development Board User s Guide OUMEX 3 16 11 2010 Section 10 Configuration Straps Table 27 CAN T Configuration Strap Termination resistor is disabled 1 2 Default Termination resistor is enabled 10 5 Audio Configuration Figure 10 23 HEADPH SPKR Configuration B m bei HEADPHONES 1 JTaeseL d ook ff y SCH 2 oo oo XT OO ZK Ren SAMZ EX256 Ea Ro 59 HHLOLIHEX COH DEU T oo lt C gt 2086 Bol ro EI E no E 3 El ES JS A ad LJ 3 z di FT OO Star fo ens ain om Le O a Or lol Ep O so Eni AED SD HO mo The HEADPH SPKR configuration strap enables selecting between either headphones or speaker audio output Table 28 HEADPH SPKR Configuration Strap Audio output to headphones jack 10 6 Analog Configuration
7. ensue 2 E o II AA AA 1 2 3 6 PONG Bleu EC EM 1 3 5 lune Analog LEII EE 6 aom EE 5 SA EE EE E 3 E D AA AA 1 aiU AA 5 DNINE e AA 3 arie e ca sa a NA E ta aa a i n Ta EE 6 NL AA AA IRI NR PRR N RI CI IRI AA NP ORI VIII NIN NI ANRE RT IP ES 3 doer a e LU ERIE RR E RA RP RI RR SR A E RN e IE A CNI E EI RR RR IRI INI RI PERIE RI IRI 2 Eyes OI CONE CIC ES i unii eat d a TTE 5 F DEEE Vi maieu ad salata alerte oaie aie t A X 1 G General Purpose IAPUL QUID E 3 o A V Y 1 3 4 5 H FIE APRONO MO o o A Inn e o AA 2 Se 1 2 3 4 CA a a na e da A anti de aaa 4 SAM7 EX256 Development Board User s Guide OUPMIEX 16 11 2010 Section 13 Mechanical Drawings e o EE EE 2 eegener 2 Je 1 MEUD n A 2 5 6 NAA AA TK 2 4 J ere 2 E EEN ES a 0 gelu loa PREA PER A PENE e RR RE RD ODC IE De CO a E 1 2 5 EE dE EE EE 1 6 VES TC Seacrest aaah wis a Della O 1 LIREI Sie venta Matta P wi lust pal baie EE SUMI AA AA eee eter ae 5 AA ines ews 3 9 DRX DIRX DO MEE 2 5 BRPAR EP BO 2 5 eebe 2 5 PIEADPEDSISIS ceci EE 4 6 AA 1 2 5 PHY AA MAN 1 9 SJ TO T TT 5 KE err xr RN HERE E 2 6
8. Figure 10 24 VREF Configuration jraesEL Soen Na O ook t o0 oo oo anto OO Lee i zo OO o B ss SAM7 EX266 Ea Ro 59 HHLOLIHEX COM DEU T oo c 2086 5 q Ra oo t 50 8 3 d HO i s aim Lu Bil lol El os ez Ez AR su SS es PuR IN Kio sa Gen y SSB seg mg KIRA o ue E A ER slo 0 4 O The VREF Configuration strap enables setting the analog reference voltage Table 29 VREF Configuration Strap Configuration Description Off Analog reference voltage is open a voltage can be fed on pin 1 1 2 Default Analog reference voltage is 3 3V Configuration Straps Section 10 10 7 JTAG Configuration 10 7 1 JTAGSEL Configuration Strap Figure 10 25 JTAGSEL Configuration 0000000 0900000 IPSIS D Cs CEF et ERASE HHH OLIHEX COH DEY C 2086 S ne Song N SHA e eg Di The JTAGSEL configuration strap enables JTAG boundary scan EmbeddedICE after RESET Table 30 JTAGSEL Configuration Strap Off Default Enable EmbeddedICE after RESET 1 2 Enable JTAG boundary scan after RESET 10 7 2 ERASE Configuration Strap Figure 10 26 ERASE Configuration The ERASE configuration strap enables reinitializing the Flash content
9. AO 1 E OHNE SII OUA M 2 3 SAM7 EX256 Development Board User s Guide OUMEX 2 16 11 2010 Index Kee 2 Generator eee eee ee ea aaa e aaa eee aaa aaa ea aaa aaa aaa aaa aaa ratare 1 Sn E E 2 Senie Pee Ee 1 CONOCIO EE 1 qu AA AA AA 4 5 AA 2 3 gt A KEE 2 4 5 6 FAG AO OWNS AA AA AA AA AA Re RA AA Ee 5 e A E E A E E E 1 6 Be BD 1 Ville fe 9 A A A nn A A E A E E E 4 E e PP e 1 A AA 3 5 e RO ee GATO ME 2 3 0 4 a o at a a iaa 2 3 5 6 REENEN 1 2 Control ic AA Sad i Sta ja iio nani lt e 1 CASA AA AA AA N IE AR IEI AA AA A o 1 2 3 D pc 1 2 4 Bro ERO A M M ere 2 on SS A AA A PE A E E 1 2 4 A AA AA 2 Bilas e IA 1 2 DMA 1 1111 ANA 1 2 E Electrostatic Discharge c eee eee eee eee eee eee RR aaa 1 E Dece ASE ati da 1 5 a PAA nae a leul a 1 EE 1 3 O dee 1 5 EENS y POP EE T I ORI 1 CONNECT O a E ae 2 Oral id EE 1 2 3 EAE E 3 Jett e GE 6 NR 2 3 NVIA O oana nainta d te dt a ati n A
10. User inputs are provided on the SAM7 EX256 board by the mean of one mini digital joystick J1 and two pushbuttons SW1 and SW2 For example software on how to use the user inputs please check the file main all c in the following archive http www olimex com dev soft arm SAM7 SAM7_EX256 zip The joystick is a low profile low cost four directional center push multifunctional ALPS SKRH tact switch one of the most compact in the industry The joystick J1 provides five digital signal inputs to the AT91SAM7X256 microcontroller m B1 PA7 up B2 PA8 center push B3 PA9 left B4 PA14 down B5 PA15 right Two tact switches SW1 and SW2 provide two digital inputs to the AT91SAM7X256 microcontroller a SW1 PB24 left switch a SW2 PB25 right switch One SD MMC connector is present on the SAM7 EX256 development board that enables the user to plug any SD MMC compatible card to provide mass Flash storage and or extended UO capabilities Despite the fact that the SD Card standard makes provision for several low to high speed communication interfaces the SAM7 EX256 board only uses the low speed SPI interface As the AT91SAM7X256 microcontroller does not have a dedicated full speed SD MMC interface this is the only practical way of interfacing this type of card Thus the SD MMC card connector is interfaced to the AT91SAM7X256 using the SPI bus O and a few other signals B PB22 WP SD MMC Card Write Protect Switch CS M
11. Portugal GoldTronica Rua Gil Vicente 26 212 2660 163 Loures Portugal Tel 351 967841810 Fax 351 219827738 Website http shop gtronica com Romania Comet Electronics s r l Str Grigore lonescu No 94 Bloc T7B Parter Sector 2 Bucharest Romania Tel 40 21 243 20 90 Fax 40 21 243 40 90 Email office comet srl ro Website http www comet srl ro Russia 8 C LS TerraEllectronica Mockpa yn lepGenesckaa 1 2 Kopnyc 1 nogbe3q 23 Tel 495 221 78 04 Fax 495 221 78 02 Email sale terraelectronica ru Website http www terraelectronica ru MT Systems 198099 Poccna CaHkt Netep6ypr yn KanuHuna n 13 Tel 7 812 325 36 85 Fax 7 812 786 85 79 Email micro mtgroup ru Website http www mt system ru Serbia amp Montenegro Comet Electronics doo Bulevar Arsenija Carnojevica broj 17 11070 Novi Beograd Tel 381 011 3113942 Fax 381 2134180 Email office comet co yu Website http www comet co yu Spain Contact our Portugal re seller Gtronica Lda Sweden Lawicel Tel 46 451 59877 Fax 46 451 59878 Website http www lawicel shop se OUNES Switzerland Bernhard Elektronik Aarauer Str 20 CH 5734 Reinach Switzerland Tel 41 0 62 7716944 Taiwan Intelligent Control Systems Tel 886 02 2378 7672 Fax 886 02 2378 7627 Email sales ict com tw Website http www ict com tw UK Cool Components Website http www coolcomponents co uk USA
12. VOB EX e IPC AT EcL EE 1 3 dig HR pc NG e e ag MN a A AOAR A GA a ce PNE 6 L O AA a 3 Kal LOC SEE EE 1 2 BAGUNG ea aa a ta aril ai da t PH 1 2 5 Eet 1 CHID o Cg AA AA M M MI Lc d ee eee 4 CONNECTOR ita T lata d aaa AA A AAA A A EE 1 EXIT DIE S TEE I T a T ooo DRE 1 B eic RIELA SEPE ERE IRI SE NO RE PRIN AR NE AA AA AA 1 4 VID ES Eo o re T AA 1 LED UL Cun o aleea MINIS UA pena Ku c Reim A HM IM MASA E MO M RAM PU MIU DEM CL Mu ac eL EDEME x aes 2 POE SID VS AA Ie RE 1 2 cila Keel e 2 M ppc X 1 Mechanical BIET 10 14 a e E EET AR AA AA ts 1 Media Independent Interfaces EE 2 MEMO AA Tc E H 1 ES AA cate POEN are Ea eul adm ORCI E 2 5 o AA 1 2 6 A A 1 zo c RC ee ee ee ee 1 A KEEN 1 DTTC OO LC paa EE EE 1 2 VIER 1 2 P Se le A N AN 1 3 Parallel InpuuQupur can kol EE 2 POB EE 2 AA EEN 1 2 FST OIG Interval TINE asa T AN AA O a an ERES 2 Penpheral MA Con roll cc mc T NN aa 1 GA 1 E Bela Cl AA AA M X 2 PO aaa Aa e Da iapa ae E 2 3 geen eege eege 2 AA Ee 2 NA 2 PowernMan e Ent EE nee 2 Aa OWE SUD AA 1 2 3 Index Section 14 KEE 1 Belle AA da ua aa aa 1 co RENE T AR APA 2 AO e o at
13. X256 a RS 23 BEEN 20000000000 10000000000 a ba een amp Sec e R i II mec s ER Ween R19 8 ET C34 A a ues oo L is 29d E O amp PINO S L 1 SEDIE R25 Oro oo o o O 38 J4 duca i deccm 0 H pgs a pun ip El Or E Ellos ols ajo E ek CH aa SE iB at R24 e O 3 S The PHY PD configuration strap enables selecting the Ethernet PHY power down mode Table 22 PHY PD Configuration Strap Ethernet PHY is powered 1 2 Default Ethernet PHY is powered down 2 3 Ethernet PHY power down is controlled by software Section 10 Configuration Straps 10 3 RS232 Configuration 10 3 1 DRXD RXDO Configuration Strap Figure 10 18 DRXD RXDO Configuration f z20000000000 ll 6 mooooooooo J 3 nei RI cj ERASE 02 00538 yy ED ook tigan SANZ EX256 00 RG MHM OLIMEX COH DEU Tj oo c 2886 Li E Hd d D A eg a un a O js TN d ED sa S S Re Cj mo Mad CH su SE o o og o The DRXD RXDO configuration strap enables routing either none USARTO RXDO or debug USART DRXD data receive signal to the RS232 buffer and connector Table 23 DRXD RXDO Configuration Strap Configuration Description Off Nothing is routed to RS232 buffer and connector 1 2 Default DRXD is routed to RS232 buffer and connector RXDO is routed to RS232 buf
14. cost effective solution to many embedded control applications requiring communication over Ethernet USB CAN and RS232 Here are the AT91SAM7X256 features E ARM7TDMI amp ARM Thumb Processor High performance 32 bit RISC Architecture High density 16 bit Instruction Set Leader in MIPS Watt EmbeddedICE Debug Communication Channel Support L 256 Kbytes Internal High speed Flash Organized in 1024 Pages of 256 Bytes 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 64 Kbytes Internal High speed SRAM Single cycle Access at Maximum Speed Memory Controller MC Embedded Flash Controller Abort Status and Misalignment Detection a Reset Controller RSTC Based on Power on Reset Cells and Low power Factory calibrated Brownout Detector Provides External Reset Signal Shaping and Reset Source Status a Clock Generator CKGR Low power RC Oscillator 3 to 20 MHz On chip Oscillator and one PLL a Power Management Controller PMC Power Optimization Capabilities Including Slow Clock Mode Down to 500 Hz and Idle Mode Four Programmable External Clock Sign
15. 5 E D C eadera d aida unas cate nak a ata aaa e i ac tt lo ata aa d a spa ud dai i ll aa act aa 5 AAAH a a a des 5 ET E i Eni an dat alele ii iata aia AA 5 e Le EE 5 AA PE 1 2 3 4 5 6 7 IRO e RE 4 5 LED v A A X 12 5 BODE ce Tnm 1 4 SB bere THE e tT e INNA 2 1l D E EE data mas at laguna ar e iv d a IL Ua lau EL LLLA NA ies ule A P EL EIE 1 5 MOIO MEME ana cn i flat olt a ta Dl ta a d at i aaa ad tu ta a fiarta O ela 1 5 MIS O Ult sd A aa aaa ee e 1 2 3 4 MISCO a a ie dias A VL 2 3 4 6 MOS nina EH 1 2 3 4 MIO ciu MES FT PERPE 2 3 4 6 o A ast A A A A AA FRE ro HER 3 IESE EE 1 O A AA AP AG ALAN d 4 E AA AG RC 5 BA AA ERES 5 SES A AA AA AA A E 4 O ee E M NE 5 PRACE we PT AA AA E TERT 4 esiti md b P BARRERA EN o FI a a a A 3 5 m A TP TCR Pe PEPRKE 5 mg 3 ST JI P P 2 5 PZ E E E E EEN A EE E A TEA E a E E E A 3 PB AA ANG 2 5 6 AA AN AA CN 5 6 PE 20 A TM na ua cee E ti amahan a AAO aa T 5 6 SE E E 5 6 PB SCAD AA tie ata 5 6 POF TO EE 2 4 5 6 Sahl ET 6 EI A AA X 2 5 6 215 Tc ia E Na E 3 4 REP EE haa Kc KT Da NPA aNg E 4 O maa AA a a a uc ee EE 1 5 aimed NM Aa ANAN EE 2 EE 3 4 ik eege EE Ee e 4 5 6 eege sec ta ea ia aa a ae a AA te e 3 4 H AA AG 4 5 7 BIG Kagat ne nain Q 2 KNA O 4 RT EE 4 5 Ai M MER A aaa HERES DC CREER TREO CCEPIT NER 4 5 Pahamak ia crt
16. A 9 nOL AUX Se SOdN OldS EXH3 rl dd ZANODd LOUIIZSOAN 0ldS prvd ZZ rg dO tc8d O 6 d Cd oa L do 159 T a tele gesi Da 972 EX 8 SON ndarxuact ad LQWOd xOd LS2dN OldS e vd a izad 8 dd AHd 8i8d yos Le TE Q 5 QR DI b CXA OE omoLmaxLarLad OdWOd OSOAN ldS zLVd oz q25 85 ONl OtVd 9 S OlJ 6zVd y 0328 ES a lt uoo HJXI 6 zsoaw Hds ex13 118d eNWOd XOMUINd s SN dXld 8zVd y t GXudLzvd AWLIDIGA T S lu ala olm e 75 T EXL S SodN LdS ZXL3 01 8d ZNWOd QML vd Lat GML O0SlO rtVd z L 0SlW tvd Aviasian 5 ase TER Sa 38 2 89 CXL v7 one HANOd eSOdN OldS LSLO 6Vd 7 za 9 ma Yn OION 1t sowasad OWWOd ZSOdN OldS LSLY 8Yd zg 1XaN EH JAW 8 ysyysyad AMYANWDd SON OldS MOS Vd Le La NE YNmhocerhoce md HAXA 89 xyy9gd 3ONWOd LIXLIVd Log TAXI 082 M s Ol 6 INIS IXA le oxyzsad AGuWOd LOXH SVd Les Manas IISOW 8 1 LOSIN Eus 931 18581 69 OXH YE swoarad QWONNOd ESOdN Vase Org Tee er m UMI 9 S OML ve ano Su Ka LXLa ead ZSOdN HIdS OSLYEWd Hass Ive va LdXH F E TOXL Y es OQVAHd LN A ZI LXL 0XLa zad HSOdN WdS 0XISvd Cara 00T WLP A L A Y r z 19310031 OS d3XH H3XH OXL Y y3x13 19d INANOA 00X1 1Vd Hg DOS 69M 02H AS DUM S 22000 oxa Mo ER NAXL Y oy5apio4343pioxL3 08d ONO A 00X4 0Vd Lis JAXA YN 4 x314NQ Zd31 ad SOd AGSHO AGXY a AY M9J38 OF 86 N3AVMN EQ31 INO L S99 A 62 sqq KOlddA f7 SYI 10 fele Gr or 6 6v u00L 9 voan vaVAHdIOGXY L 0x3 165 J1 lasa AE E 98M Su Lo
17. A iata d 3 4 sojpo se ocoale AA a lit alee i a a n lt o ai aia an En a 1 CAB EE 1 2 S ndi p V RA 1 2 3 4 o A EURO 1 7 3SD MMC Card PAA 1 2 MPF Ca iar la tn at ee ta tt AA AA o nt tt eee ee 2 4 CONECO ROTER MEGAN dada ATA Ee eege 2 3 io A AAA A A 3 PEE EN NGA EE EE 2 3 6 AA PAA PA 2 3 5 ca Traer lr 3 Senal VC ONO eE EE AA AA AA 3 HERE ne gene ER ar te TEE 3 slo AA AAP ANO o A A yq 5 6 Eed 5 AN TERM EE 6 AUDI CATT igual te a s 5 A E 2 4 GAN Te I m RT UU n 4 CAN PORU Za M 4 CANE 4 e OO 4 A C 4 CANTA 4 eo mm SM 5 Ri E 3 eo 3 M P AP 5 OS COD m
18. DIN al 2 d pio Je ang ve m o NY31 NV WIHL NV NIYL V A EO c OUS ER OVA9 2O 091 Si Xx R v id NT YOLSINYAL CL SI pc PRA RX E gt NN dee E Log anal H Y vea cc E IND ONZ8SLOMH 19 NI Hie SES SH 8NLS nes o FG E Dz e AS LYA S6L8SNL N0zz v a ca G4 a Awe v 5 87LFNL o L 06 V HMd 18 E Sch dek ed v Vv AS NE E OUPIEX Section 13 Mechanical Drawings 13 1 Mechanical Dimensions Figure 13 30 Mechanical Drawing 215 125 18 mm 106 68 mm 97 79 mm 94 62 mm 93 34 mm 89 54 TIU mm 89 00 mm 6 84 SAM7 EX256 Rev C HHH OLIMEX COM DEU CC OUI EX 49 53 23 8 uni 24 mu 13 97 mm fT J a uJ 6 35 mm iii 5 G o e RA mm la HE m9 e law AD S 1S4 5 a mm 0 00 mm 3 18 mm ae a tc z Is de Si E E E C Gi CO Gi CN NO N Y 00 OI O ke Co Sg 9 N 19 Lo iy o 0 N c o c si LO LO ol oo N y o y al N SI ci e CH d LO NO 00 op d OUPIEX 1 SAM7 EX256 Development Board User s Guide 16 11 2010 OUPIEX Section 14 Index A EE 1 2 5 0 6 Advanced ECKER 2 oye lio E 2 A o SE e 2 O A PP a 2 rix 0 e LOO e 6 E E E A E 4 AP e 6 le aa AA nn AA Aa a RR 5 IAEA AA AA AA AA aa 6 VREF Gelechon AG 4 6 ARN PAO T
19. Line po el em eme ww pm m eme mw m jm eme pm m ee m m ero wwe m ees ww emm aa quem vw senes CECI eneen wr mens Je emer ww ees loo woo me mm em omm me wm em CT mec fo samo cor eisen Busses Section 6 PA28 DTXD il PA28 DTXD PA28 Debug Transmit PA29 SPI1 NPCS3 PA29 FIQ PA29 Fast Interrupt PA30 PCK2 PA30 IRQ PA30 Interrupt ReQuest Note The grayed cells represent the default SAM7 EX256 board usage of the multiplexed Peripheral A Bus pin 6 2 2 Bus B The following table defines the alternative purpose for bus B pins Table 8 Peripheral Bus B Line PBO ETXCK EREFCK REFCK Ethernet Reference Clock PB1 ETXEN TXEN Ethernet TX Enable Ethernet TXO PB2 ETXO PB3 ETX1 Ethernet TX1 PB4 ECRS Ethernet Carrier Sense PB5 ERXO Ethernet RXO RX1 PB6 ERX1 Ethernet RX1 RXER Ethernet RX Error Ethernet Management Data Clock MDIO Ethernet Management Data O SPI1 NPCS1 Ethernet TX2 TCLKO TXER Ethernet TX Error PB ERXER PB8 EMDC PB9 EMDIO PB10 ETX2 PB11 ETX3 PB12 ETXER PB13 ERX2 PB14 ERX3 SPIOO_NPCS2 Ethernet RX3 Ethernet RX Data Valid SPI1 NPCS3 Ethernet Collision Detect SPIO NPCS3 Ethernet RX Clock SAMT EX256 Development Board User s Guide OUPIEX 5 16 11 2010 PB15 ERXDV ECRSDV PB16 ECOL PB17 ERXCK PB18 PB19 PB20 PB21 PB22 Section 6 Busses PB23 TIOAO DCD1 PB23 CP PB23 SD MMC Card Present PB25 TIOA1 DTR1 User Right Switch PB
20. O A A aaa du aie A 3 Reie ien In 1 iio E E 2 lu AA 1 Re AL AA AA AA 3 U UAR EE 1 Universal Synchronous Asynchronous Receiver Transmitter eene nana aaa a sisse ase esas ise ae 2 SAM7 EX256 Development Board User s Guide OUMEX 7 16 11 2010 Section 13 Mechanical Drawings BE REENEN 2 4 ES A ebben eebe 1 2 3 4 le en eae eoi atu AKALA al non an I eu d a fa kaha Na a nA MEA iie LM CM IM rcd Bta e D LA Du Oa 1 2 4 CONE RR TT RR RTL 2 3 E Ea IAE E e do EE 4 elle an AA AP ati 3 PONESE O 6 8 kV EE 1 2 PIESEN a EE ca edi MAN ala eA OD as SAN at NG CP OEE E aia pac le ah OL E SON ga CE ina Jap ac a iute Da fe AG cai DN atei e 4 EE See Eege 2 EE 2 AA AA AA 2 4 ET ANA AA al dna a ti lau al v aia EE 2 6 EE co vea gasa Pa a bc neta aaa ONG A A MEA I MM BN KALA DU cat A OA ete AA ea e teeta tie 1 O it 2 6 SWILENO Sicario ao diario 2 MI o REENEN 2 6 A O AG a td at A ai la a 2 TUDO Saga 6 V voltage Ee ET E 2 ae KA ADA 2 W Wate LO Cs ea cR CC RH 1 IBI MITT 1 2 Section 15 Revision History Initial Creation Explicit RS232 availability added CAN amp UEXT in the list Made tool links visible Corrected reference to gate rectifier G1 marked Reset IC as not mounted Swapped R58 amp R62 Corrected LM386 name Changed Ethernet connector table Renamed Table 31 Added 10n to USB shield Added some signs like Pb ESD R47 changed from 2 2K to 2K R5 and R6 changed from 47K to 33K R27 changed fro
21. Section 6 Busses 6 1 2 SPI Bus The SPI Simple Peripheral Interface bus is a very common low pin count communication interface bus in the microcontroller world The AT91SAM7X256 microcontroller integrates two such busses and acts as a bus master on both driving the following onboard peripherals on SPI bus 0 H SD MMC Card H Nokia 6610 LCD screen The SPI bus 1 is not used internally but is routed to the extension connector UEXT See 9 10 2 for details The SPI bus 0 consists in the following signal lines on the SAM7 EX256 board Table 2 SPI 0 Bus Signal Name Description CS LCD SPI O LCD Chip Select CS MMC SPI 0 SD MMC Card Chip Select MISOO SPI 0 Master In Slave Out MOSIO SPI 0 Master Out Slave In SCKO SPI 0 Clock The SPI bus 1 consists in the following signal lines on the SAM7 EX256 board Table 3 SPI 1 Bus Signal Name Description MISO1 SPI 1 Master In Slav Out MOSI1 SPI 1 Master Out Slave In SCK1 SPI 1 Clock SPI1 CSO SPI 1 Chip Select 0 6 1 3 I2C TWI Bus The IC Inter Integrated Circuit bus is another very common low pin count interface bus in the microcontroller world It is called TWI Two Wire Interface bus by Atmel The AT91SAM7X256 microcontroller integrates one such bus operating in master mode only This bus is not used on the SAM7 EX256 board but is routed to the extension connector UEXT See 89 10 2 for details The l C V TWI bus consists in the following si
22. Spark Fun Electronics 2500 Central Ave Suite Q Boulder CO 80301 USA Tel 1 303 284 0979 Email fun sparkfun com Website http www sparkfun com MicroController Pros Corporation 17408 Blue Jay Drive Morgan Hill CA 95037 USA Tel 1 408 333 9266 Fax 1 215 243 6071 Website http microcontrollershop com 1 16 11 2010
23. Table 31 ERASE Configuration Strap Configuration Description Off Default Disable Flash initialization 1 2 Reinitialize Flash content 10 7 3 TST Configuration Strap Figure 10 27 TST Configuration yraesEl ook 00 ode aa wa m ook ER a oo o0 JAS aos ook H oll zb Mie Pa EX256 K BEE o SHA e eg 2 SAM7 EX256 Development Board User s Guide OUPMIEX 5 16 11 2010 Section 10 Configuration Straps The TST configuration strap enables entering in fast parallel or serial Flash programming mode Table 32 TST Configuration Strap Configuration Description Off Default Disable fast programming mode 1 2 Enable fast programming mode Section 11 Memory This section describes the AT91SAM7X256 s memory map 11 1 Memory The AT91SAM7X256 contains the following memories B 256 Kbytes of Flash Memory 1024 pages of 256 bytes Fast access time 30 MHz single cycle access in worst case conditions Page programming time 6 ms including page auto erase Page programming without auto erase 3 ms Full chip erase time 15 ms 10 000 write cycles 10 year data retention capability 16 lock bits each protecting 16 sectors of 64 pages Protection Mode to secure contents of the Flash B 64 Kbytes of Fast SRAM Single cycle access at full speed a Unspecified amount of ROM Contains the FFPI and the
24. a tee a AA stan ebe a aia O E A E E E E 2 RA WEE 5 ee nav dead a e neger Ate a naa aaa el s ae 2 py m EEN 1 5 d D NAR e CER A A RON NOR I Aia E ERR e NORIS al ER ata O CREER EEN 4 ABA rmm 1 O A TTE Mim EH 2 4 AA AN 4 5 6 e AA AA AA 1 5 AAP NA 1 5 Index Section 14 2 i1 1 2 3 4 c0 v 2 3 4 6 SPIN Je AA aia 5 ln UM Eeer 4 5 SPU CSD PAA e ES OO PAA HAH PRE 6 P e AA AA at ia il i it ati ta ata aa 2 3 4 o te anilin ga a aa AA aa ai aia aa a 4 SPU MOS L ceia maia aia asta M aaa a b n a al ai 4 A A APP PPP E 4 5 luu VU ec e A o O OE naa 4 ESO AA e ia p A at aa Oz UU SUE PE t ran at Aire bonita alei ma 4 PIO MLS OO ae ea ceea meta adie nina E ada at cea il toat iai ta ea eat iu ii m iu d ale 4 lem em 4 viu Roa NPO A APP 4 5 AA MNmHHETE cassava 2 6 eegene 2 7 3 A A e e So O PO 4 5 E H 3 4 jo
25. of applications running on the Atmel AT91SAM7X256 microcontroller This guide focuses on the SAM7 EX256 board as a development platform for the AT91SAM7X256 device in a 100 lead LQFP package The SAM7 EX256 development board provides a rich development platform for the Atmel AT91SAM7X256 microcontroller The board s main features are B Microcontroller Atmel AT91SAM7X256 16 32 bit ARM7TDMI with 256K Bytes Program Flash 64K Bytes RAM 1x CAN 2 0a and 2 0b 1x USB Device v 2 0 1x Ethernet 10 100 Mbits 1x RTT Real Time Timer Clock 1x 8 channel 10 bit ADC 384 ksp s 2x UARTs 1x TWI IC 2x SPI 3x 32bit timers 4x PWM outputs 1x SSC Synchronous Serial Controller 1x WDT WatchDog Timer PDC DMA for all peripherals Up to 55 MHz operation B Standard JTAG connector with ARM 2x10 pin layout for programming debugging with ARM JTAG B Nokia 6610 128x128 pixel TFT 12 bit color LCD with back light m Ethernet 10 100 PHY with Micrel KS8721BL chip B USB type B Device connector B One channel RS232 interface and drivers a second RS232 interface without driver is routed to the UEXT extension connector 1 3 Organization One CAN 2 0b interface and driver SD MMC card connector Joystick with 4 direction and push action Two buttons Audio in and audio out 3 5mm jacks for microphone and headphones Onboard speaker with volume control potentiometer Trim potentiometer connected to ADC Thermistor connected to ADC Onboard 3 3V
26. 26 TIOB1 RI1 PHY_IRQ Ethernet PHY Interrupt ReQuest Note The grayed cells represent the default SAM7 EX256 board usage of the multiplexed Peripheral B Bus pin 7 1 LCD Screen 7 1 1 Backlight Section 7 Peripherals This section gives a detailed explanation of the different peripherals included on the SAM7 EX256 board The SAM7 EX256 development board integrates a Nokia 6610 compatible LCD screen This screen is a graphical 132 x 132 pixel TFT 12 bit color LCD with an integrated display controller and backlight LEDs Because of its use in cellular phones this screen is both easy to find and low cost However the drawback is that Nokia 6610 LCD screens come in two different types having the same physical dimensions and pinout but using two different display controllers B Those labeled GE8 and having a green connector are equipped with an Epson S1D15G00 controller Those labeled GE12 and having an orange connector are equipped with a Philips PCF8833 controller For example software on how to drive the LCD screen please check the files Icd h and Icd c in the following archive http www olimex com dev soft arm SAM7 SAM7 EX256 zip You will have to uncomment the following line in the Icd h file if you use a screen equipped with the Philips PCF8833 controller define GE12 Change it to define GE12 There is also two precompiled binaries available one for each controller type
27. B TINY H a Olimex s ARM JTAG EW Or any other third party ARM JTAG ICE compatible tool Also a host based software toolchain is required in order to program debug the SAM7 EX256 board Visit one of the links in the list above to find available open source or commercial solutions 2 3 Powering Up the Board The SAM7 EX256 board is self powered by the USB port or by an external 6VAC 9VDC 0 1A power adapter The board has no power switch just plug unplug the power USB cable to from the board to cycle power SAM7 EX256 Development Board User s Guide OUPIEX 1 16 11 2010 Section 1 2 4 Getting Started Overview From Olimex s website you can download the following software and documents eLua Lua language project build for SAM7 EX256 with GCC and OpenOCD Native hardware support by eCOS the anonymous eCos CVS tree has this target inside sam7ex256 eCos target Here is the link to eCos 3 0 the anouncement The instructions how to install eCos 3 0 on Linux and Windows demo code LCD write Joystick and buttons read Note NOKIA6610 comes with two type of controllers the difference is in the label on the display GE8 and GEI2 this project handles both controllers but you have to comment define GE12 if your LCD is GES separate BIN files are geenrated for download for GE8 and GE12 TCP IP code with FreeRTOS BMP TO ARRAY converter for Nokia 6610 LCD Jim Lynch s NOKIA 6610 LCD tutorial Ting Chen Hanson s eForth implementation f
28. 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 16mA Each Power Supplies Embedded 1 8V Regulator Drawing up to 100mA for the Core and External Components 3 3V VDDIO I O Lines Power Supply Independent 3 3V VDDFLASH Flash Power Supply 1 8V VDDCORE Core Power Supply with Brownout Detector Fully Static Operation Up to 55 MHz at 1 65V and 85 C Worst Case Conditions Available in a 100 lead LQFP Green Package SAM7 EX256 Development Board User s Guide OUMEX 3 16 11 2010 Section 4 The AT91SAM7X256 Microcontroller 4 2 Block Diagram TDI TDO TMS TCK JTAGSEL TST FIQ IRQO IRQ1 DRXD DTXD PCKO PCK3 PLLRC XIN XOUT VDDCORE VDDFLASH VDDCORE NRST RXDO TXDO SCKO RTSO CTSO RXD1 TXD1 SCK1 RTS1 CTS1 DCD1 DSR1 DTR1 HH SPI0 NPCSO SPIO NPCS1 SPIO NPCS2 SPIO_NPCS3 SPIO_MISO SPIO_MOSI SPIO_SPCK SPI1 NPCSO SPI1 NPCS1 SPI1 NPCS2 SPI1 NPCS3 SPI1_MISO SPI1_MOSI SPI1 SPCK ADTRG ADO AD1 AD2 AD3 AD4 AD5 AD6 AD7 ADVREF Figure 4 3 Block Diagram ARM7TDMI Processor 1 8V Voltage Regulator Memory Controller Embedded Flash Controllers SRAM Address 64 Kbytes Decoder Abort Status Misalignment Detection Peripheral Bridge Peripheral DMA Controller 13 Channels Fa
29. FFF 0000 OxFFFF 3FFF OxF FFF 4000 Reserved OxFFFF 7FFF OxF FFF 8000 OXFPRE BFFF OxFFFRCOO0 OxFFFF E OxFFFF F000 OxFFFF FFFF SYSC 255 625Mbytes 16 Kbytes 48 Kbytes System Controller Mapping Is OxFFFF F000 16 Kbytes 512 Bytes AG 128 registers 16 Kbytes OxFFFF FAFF OxFFFF 200 16 Kbytes DBGU e Sad 16 Kbytes registers 16 Kbytes OxFHFF F3FF 16 Kbytes PIOA 512 Bytes 128 registers 16 Kbytes OxFFFF F5FF OxFFFF F600 16 Kbytes 512 Bytes 16 Kbytes KAG 128 registers 16 Kbytes OxFFFF F7FF OxFFFF F800 16 Kbytes 16 Kbytes Reserved 1024 Bytes 16 Kbytes OxFFFF FBFF OxFFFF FCOO 256 Bytes ENS 64 registers OxFFFF FCFF OxFFFF FDOO OxFFFF FD40 RTT 16 Bytes 4 registers PIT 16 Bytes 4 registers WDT 16 Bytes 4 registers VREG 4Bytes 1 register Reserved 16 16 336 Bytes Reserved OxFFFF FEFF OxFFFF FFOO 256 Bytes 64 registers Memory Section 12 Schematics 12 1 Schematics Schematics Section 12 Figure 12 29 Schematics NG p WOI XIW O MMM duu
30. M 924 ACE ACE ATE E WIFI NV S sav TIAO0A yg IE D ul l des Se d ev n 9 P LAS L ih uQL Ise 3 L J3HA pogi Ap Ci Sal 39VY3 L99 A is ka UE s 4 cav eWMd exOd oead ZHOdIOONOEVd Hi OOVA E MDI ISI Qv 0Ot8d Zk zavizwwg Lxod ezad SOdN HaS OlJezvd Fei ir6cvd N 9 3N0L i Xe SWL T eg cdV 6c8d Ih vavuwma zaoi szad axlasavd raxid 8cvd 990 099 99H Im Age bOW 8cad Ok oawowmarvolLzad siawod exodiaxeauzvd erdyxsidirzeva DEE ji NAL 1SL 0Gv ZZdd 6 V4 L8OILL 928d PLANDd TSOIAN VIdS JH 9 Vd og yg gen mi E LCa aT NOO L M00k X00L M00k 13S5VI O8l AHd 22 iuianvoluszad ELNOA LSOAN_HAS AY STVA sc 3nd gen SINA ANO 0 19H SOU Vir 01419 6up s z CMS V7 yusapgolvzad ZLAWDd OSIN Vds au vrzvd Tas LOSIN e aNodm LE C3 qasovir IMS 02 qoaovolezad LLGNOd ISOW_HdS GLezvd res SON Age 6 89H do ecdd 69 zy5arewWMwd zzad 0LQWOd MOdS LAS ALZZVA Los INIS JAYA aa Chad E o LxOd zWMdlLz8d BAWOd OSOdN WdS dllzVd rer mee 1X3 oi ONDA LNMA 0Z8d BW9d XLNWOIOZWd 75 X1NVO V AE 18 G91 59 iyro1 0NMd 6L8d ONO d XUNVI G6L VA hoy XHNYS ISY O 6L SAS YMd 18 INO O1GAV 9 ay1av 00133 818d 9INDAMIAS OldS 8LWd 57 0338 po St D e9q IS dd AHdi8ldd t9 esdan 0ldSMOX4AZLIAd SQWOd ISOW OldS 1vd Le OISOW ME Jj3HA 9i SL Fav AMAN Z AIXA 9 esoaN Lds 1093 91 8d vOWOd OSIW OldS 9LVd re JOSIN Savi0edd PI EL cav 6cad 13535 Te ISS3N 091 T pra ad El gt 109 Aasuoz Aaxu srad EUNDAIZATOLESOEN Oldsisivd Le sa SEILER u O0QV 28d so gt sl da eq
31. MC PA13 SD MMC Card Chip Select MOSIO PA17 SPI 0 Master Out Slave In SCKO PA18 SPI 0 Clock MISOO PA16 SPI 0 Master In Slave Out a PB23 CP SD MMC Card Present Switch Note The SPI bus 0 is shared with the LCD functionality For example software on how to drive the SD MMC interface please check the files mmc h and mmc c in the following archive http www olimex com dev soft arm SAM7 SAM7 EX256 zip Peripherals Section 7 7 3 1 Card Present The SD MMC Card connector s Card Present switch is forwarded to the AT91SAM7X256 PB23 input allowing detection of card insertion 7 3 2 Write Protect 7 4 Ethernet The SD MMC Card connector s Write Protect switch is forwarded to the AT91SAM7X256 PB22 input allowing sensing the card s write protection The SAM7 EX256 development board integrates a fully compliant IEEE 802 3u 10 100Mbits wired Ethernet interface This functionality is provided by the combination of E The AT91SAM7X256 built in 10 100Mbits Ethernet MAC a The 10 100MBits Ethernet PHY KS8721BL U2 with built in voltage regulator for single supply operation H A 10 100Mbits RJ45 Ethernet connector with built in transformers EMI filters and status LEDs The Ethernet PHY KS821BL chip U2 is interfaced to the AT91SAM7X256 microcontroller using an MII bus For a complete description of the involved signals please refer to S6 1 1 Note Although both the AT91SAM7X256 microcontroller
32. S SY NG naa Speaker AMEL Si AT9ISAM7X256 es M en ot Lafe BANA ag 3 nba Microphone ha d af d Jack ee d O JTAG elo Connector ng SAN7 EX256 REIS aw LCD o Rev B alt UG PIG HHU OLIMEX COM DEU C 2006 t rm P n gt E 1 A NE Me ES y SDIMMC Card A er EN CORA A Connector REP EA ES y TI SC ea hy USB Slave LT OE SS Ne DIC IPSE m cd LATTE Socket NG RAE E USB EXT Power Jack Thermistor gt PUR_IN SUDC 6UAL Power Reset Left Joystick Right Potentio Volume LED Switch Switch Switch meter Control 4 1 Features Section 4 The AT91SAM7X256 Microcontroller This section focuses on the heart of the SAM7 EX256 board the Atmel AT91SAM7X256 microcontroller The microcontroller features are listed and a block diagram is given Atmel s AT91SAM7X256 is a member of a series of highly integrated Flash microcontrollers based on the 32 bit ARM RISC processor It features 256 Kbyte high speed Flash and 64 Kbyte SRAM a large set of peripherals including an 802 3 Ethernet MAC and a CAN controller A complete set of system functions minimizes the number of external components By combining the ARM7TDMIG processor with on chip Flash and SRAM and a wide range of peripheral functions including USART SPI CAN Controller Ethernet MAC Timer Counter RTT and Analog to Digital Converters on a monolithic chip the AT91SAM7X256 is a powerful device that provides a flexible
33. SAM BA program 11 1 1 Flash Memory The AT91SAM7X256 features one bank single plane of 256 Kbytes of Flash At any time the Flash is mapped to address 0x0010 0000 It is also accessible at address 0x0 after the reset if GPNVM bit 2 is cleared and before the Remap Command A general purpose NVM GPNVM bit is used to boot either on the ROM default or from the Flash This GPNVM bit can be cleared or set respectively through the commands Clear General purpose NVM Bit and Set General purpose NVM Bit of the EFC User Interface Setting the GPNVM Bit 2 selects the boot from the Flash Asserting ERASE clears the GPNVM Bit 2 and thus selects the boot from the ROM by default 11 1 2 SRAM Memory The AT91SAM7X256 embeds a high speed 64 Kbyte SRAM bank After reset and until the Remap Command is performed the SRAM is only accessible at address 0x0020 0000 After Remap the SRAM also becomes available at address 0x0 11 1 3 ROM Memory The AT91SAM7X256 embeds an unspecified amount of Internal ROM At any time the ROM is mapped at address 0x30 0000 The ROM contains the FFPI and the SAM BA program A general purpose NVM GPNVM bit is used to boot either on the ROM default or from the Flash This GPNVM bit can be cleared or set respectively through the commands Clear General purpose NVM Bit and Set General purpose NVM Bit of the EFC User Interface Setting the GPNVM Bit 2 selects the boot from the Flash Assert
34. SAM7 EX256 Development Board for the Atmel AT91SAM7X256 Microcontroller User s Guide katig D Hi lage s P a S z f 15 Ic Li 1277 d fg Mo pa i Ng ETE A Rm SA at a LL CC LL O a m Disclaimer The information in this document is provided in connection with Olimex 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 Olimex products OLIMEX 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 OLIMEX BE LIABLE FOR ANY DIRECT INDIRECT CONSEQUENTIAL PUNITIVE SPECIAL OR INCIDENTAL DAMAGES INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF PROFITS BUSINESS INTERRUPTION OR LOSS OF INFORMATION ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT EVEN IF OLIMEX HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Olimex makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice Olimex does not make any commitment to update the information contained herein Unless specifically provided otherwise Olimex products a
35. a Italy Fax 39 06 233 243 440 Website http www robot italy com Artek Electronic Solutions S n c Via E Malatesta 16 40026 Imola BO Italy Tel 39 0542 643192 Fax 39 0542 688405 Email artek artek it Website http www artek it Korea KitKorea Tel 82 031 429 0845 Fax 82 031 477 1407 Email open kitkorea com Website http www kitkorea com Mexico AG Electr nica S A de C V Rep del Salvador 20 Piso 2 M xico D F C P 06000 Mexico Email ventasag agelectronica com mx Website http www agelectronica com Netherlands Van Ooijen Technische Infomatica Utrechtseweg 173 3818 ED Amersfoort Netherlands Tel 31 33 4621296 31 6 44286985 Fax 31 84 741 5448 Email wouter voti nl Website www voti nl Antratek Electronics ApolloWeg 206 8239 DB Lelystad Netherlands Tel 31 0320 258 334 Fax 31 0320 258 019 Email info antratek nl Website http www antratek nl Norway Livermore Consulting AS M rstien 14 N 3188 Horten Norway Tel 47 93 43 92 70 Email info livermore no Website http www livermore no Philippines MicroController Pros Corporation 17408 Blue Jay Drive Morgan Hill CA 95037 USA Tel 1 408 333 9266 Fax 1 215 243 6071 Website http microcontrollershop com Poland Kristech Krzysztof Kajstura ul Porzeczkowa 12 43 450 Ustron Poland Fax 48 33 487 69 45 Email support kristech eu Website http www kristech pl
36. als Section 4 The AT91SAM7X256 Microcontroller Advanced Interrupt Controller AIC Individually Maskable Eight level Priority Vectored Interrupt Sources Two External Interrupt Sources 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 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 Two Parallel Input Output Controllers PIO Sixty two Programmable UO 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 Seventeen Peripheral DMA Controller PDC Channels One Advanced Encryption System AES 128 bit Key Algorithm Compliant with FIPS PUB 197 Specifications Buffer Encryption Decryption Capabilities with PDC One USB 2 0 Full Speed 12 Mbits per second Device Port On chip Transceiver 1352 byte Configurable Integrated FIFOs One Ethernet MAC 10 100 base T Media Independent Interfac
37. and the KS8721BL PHY Ethernet chip support the RMII Reduced Media Independent Interface bus that use less signal lines this solution has been discarded because this interface is not functional in the AT91SAM7X256 microcontroller The Ethernet PHY KS821BL chip U2 requires a separate 25MHz crystal Q3 for its operation The Ethernet PHY chip drives the two LEDs built into the Ethernet connector as follow B Left LED Green Ethernet activity B Right LED Yellow 100MBits link when LED is on 10MBits link when LED is off Note By unsoldering resistor R62 and soldering a 330 ohms resistor R58 the right LED Yellow can be changed to signal full half duplex operation instead of link speed For example software to provide TCP IP functionality with FreeRTOS see the following archive http www olimex com dev soft arm SAM7 SAM7 EX256 FreeRTOSVA O0 zip 7 4 1 PHY Power Down 7 5 Slave USB By moving the PHY_PD configuration strap it is possible to permanently enable disable the Ethernet PHY chip or leave this control to software using the PB18 PHY_PD signal For more details on how to set this configuration strap see 10 2 The SAM7 EX256 development board features an USB Type B receptacle Taking advantage of the AT91SAM7X256 s integrated USB device peripheral a fully compliant USB 2 0 full speed 12Mbits s device capability can be added to the application The USB connector can be used to provide a bus powered operation to the boar
38. board s memory map Section 12 holds the board s schematics Section 13 provides the board s mechanical drawings Section 14 is an index Section 15 contains the document s revision history OUPIEX Section 2 Setting Up the SAM7 EX256 Development Board This section helps you set up the SAM7 EX256 development board for the first time Please consider first the electrostatic warning to avoid damaging the board then discover the hardware and software required to operate the board The procedure to power up the board is given and a description of the default board behavior is detailed 2 1 Electrostatic Warning The SAM7 EX256 development board is shipped in a protective anti static package The board must not be exposed to high electrostatic potentials A grounding strap or similar protective device should be worn when handling the board Avoid touching the component pins or any other metallic element 2 2 Requirements In order to set up the SAM7 EX256 evaluation board the following items are required the SAM7 EX256 development board itself B an A B type USB cable connected to an USB host or hub Or B an external power adapter 6VAC 9VDC at 0 1A Note The board is not delivered with a JTAG ICE interface which is required to start developing on the device You may use one of the following devices for this purpose m Olimex s ARM JTAG Olimex s ARM USB_OCD Olimex s ARM USB TINY Olimex s ARM USB OCD H Olimex s ARM US
39. btained by using a standard MAX3232 RS232 transceiver with integrated capacitive charge pump U4 The signals present on the EXT and UEXT connectors are LVTTL OV to 3 3V compatible RS232 works at 9600 bits per second For example software on how to drive the serial interface please check the files usart h and usart c in the following archive http www olimex com dev soft arm SAM7 SAM7 EX256 zip 7 6 1 RX TX CTS Selection As both the simple debug serial interface and the USARTO are routed to the RS232 transceiver and DB9 connector the DTXD TXDO and DRXD RXDO configuration straps provide a way to select the desired operation For further details please refer to 10 3 1 and 10 3 2 The CTS E configuration strap allows enable disable routing the CTSO to the RS232 transceiver and connector For further details please refer to 10 3 3 7 7 CAN The AT91SAM7X256 microcontroller integrates a part 2 0A and 2 0B compliant CAN controller Along with the MCP2551 CAN transceiver U5 and a DB9 male connector the SAM7 EX256 development board provides a fully compliant CAN interface including both 12V and 24V operation at up to 1Mbits s 7 7 1 Standby HS Selection The STDB HS configuration strap allows putting the CAN transceiver in standby high speed or slope control mode For further details please refer to 10 4 1 7 7 2 Termination Selection The CAN_T configuration strap enables disables the CAN 120 ohms termination res
40. ctor Connectors Section 9 9 9 Headphones Connector Figure 9 12 Headphone Connector 3 190009 80900 6 RAN gt o S Oris ue E El Be E i 200 IS oo oo E pa oo O us SAMZ EX256 Rev B gaan Bee SON ea B ss n gg Ri ad PENS 3231 Oo a KSP w 5 Er SE HAHOLINEX CON DEV D 000 Due 2 oo Rie qa el oa e ew y TODOE lg Kai fie E Ca a eg R74 C34 7d or ch NG SE Gu a d ST oo neni Say Ge Es oo 3 vni cou Sess ii d Ho Ses UJ Em a D S LY a z ERES 00 a AY i f n Se Ki p gen maa o yg LEE Phim o O pol Co hoes The headphones connector is a standard 3 5mm Jack mono female connector 9 10 Extension Connectors 9 10 1 EXT Connector Figure 9 13 EXT Connector 2 4 6 8 10 12 14 16 18 20 6 RAN gt RB S HHM OLIMEX COM DEU 6000 8 upaopus 135 79 1113151719 8 c32 E P 3 8 5 a ETT 38 ga EUN 2 OA Daze Og nio Ao ASES The EXT connector is a 2x10 0 1 pitch 4 Wall header Table 18 EXT Connector Cms sme or D s 11 Signal Name PB21 PB18 PHY PD PB23 CP I PB28 AD1 9 10 2 UEXT Connector Figure 9 14 UEXT Connector SAM7 EX256 Development Board User s Guide OUMBX 5 16 11 2010 Section 9 Co
41. d if the configuration strap USB EXT is set accordingly For example software demonstrating how to operate the AT91SAM7X256 USB peripheral please refer to the following Atmel application note and related software http www atmel com dyn resources prod documents doc6263 pdf http www atmel com dyn resources prod_documents AT91 20USB 20Framework 20 20Core 201 01 Zi SAM7 EX256 Development Board User s Guide OUMEX 3 16 11 2010 Section 7 Peripherals 7 5 1 USB Present As a convenience the SAM7 EX256 development board is equipped with a digital input USB PR PA26 to the AT91SAM7X256 microcontroller providing indication whether an USB cable with power is plugged in or not through the use of a resistor divider R72 R73 7 5 2 USB Disconnect 7 6 RS232 In order to provide automatic USB disconnection upon reset or under software control the USB 1 5Kohms pull up resistor R4 can be disabled either by the board RST signal or under software control by the USB PUP PA25 output signal The AT9ISAM7X256 microcontroller contains three separate USARTs Universal Synchronous Asynchronous Receiver Transmitter E A simple two wire debug serial interface that can be used to bootstrap the microcontroller using the SAM BA protocol b A more sophisticated serial interface USARTO with the following signals Table 9 USARTO Signal Name Description CTSO USART 0 Clear To Send input TXDO USART 0 Transmit Data o
42. de MEM 2 POTION CUA aaa AG AE AA 1 AN di iat a 1 SAM7 EX256 Development Board User s Guide OUMEX iii 16 11 2010 PA AA AY 2 EE 2 A DU adds LU Gn LCD AA AA AA lol ti dc aia age 2 PARE IA ud UEM UR E AA AA 3 EPA AAA A 3 Ta ENEE cin anina ana ct AAA 3 Go a PE A A A aEaea 3 Cr EG di 3 PA a 4 pe a Pe EEN EE 4 EE 4 LE en AA 5 De pug e A PAP ne RIC eee T 1 MI L ERP RISE OREI RA o MIR a M DM CM ME SEM ME da SI 1 II A PEP 1 B2 IEEE 1145 3 JTAG BONOS SCA ii 1 LL SA AGA 1 Cia onnon Ea c d Pi PA AA AA APA 1 8 2 1 JTAGSEL SOON EE 2 EE ee 2 CRANE Li AA AA AA 2 Beete ET 1 ANS AR aaa 1 AA A 1 Aa AAA e 2 A AAA 2 3 3 DLR CONOCIO cesar pair aa gta ian pe a pa pci al 3 SR III ari 3 9 7 CAN Bus Connector 1 ANA mama RRE E EEN ER ER NOOD PNK 4 BI ERREUR MAA EEN ERA AAA A AIN AE AAA OA EE 1 AE APP NOO ama a n na i i m tc id aaa 3 Revision KIUISTO Visa la a i a ta ae ue tal ad eta 1 OUPIEX v SAM7 EX256 Development Board User s Guide 16 11 2010 11 Scope 1 2 Features Section 1 Overview Thank you for choosing the SAM7 EX256 development board from Olimex This document provides a User s Guide for the Olimex SAM7 EX256 development board As an overview this chapter gives the scope of this document and lists the board s features The document s organization is then detailed The SAM7 EX256 development board enables code development
43. e MII or Reduced Media Independent Interface RMII Integrated 28 byte FIFOs and Dedicated DMA Channels for Transmit and Receive One Part 2 0A and Part 2 0B Compliant CAN Controller Eight Fully programmable Message Object Mailboxes 16 bit Time Stamp Counter One Synchronous Serial Controller SSC Independent Clock and Frame Sync Signals for Each Receiver and Transmitter DG 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 IrDAG Infrared Modulation Demodulation Support for ISO7816 TO T1 Smart Card Hardware Handshaking RS485 Support Full Modem Line Support on USART1 Two Master Slave Serial Peripheral Interfaces SPI The AT91SAM7X256 Microcontroller Section 4 8 to 16 bit Programmable Data Length Four External Peripheral Chip Selects One Three channel 16 bit Timer Counter TC Three External Clock Inputs Two Multi purpose I O Pins per Channel Double PWM Generation Capture Waveform Mode Up Down Capability One Four channel 16 bit Pulse Width Modulation Controller PWMC One Two wire Interface TWI Master Mode Support Only All Two wire Atmel EEPROMs Supported a One 8 channel 10 bit Analog to Digital Converter Four Channels Multiplexed with Digital I Os E SAM BA Boot Assistance
44. egrates such backlight LEDs these must be fed with a 7V voltage supplied by the Boost switching regulator U6 5 2 Reset Circuitry The SAM7 EX256 board integrates both an automatic and a manual RESET circuitry B An MCP130 Reset controller U3 provides an automatic RESET signal not mounted by default B Amanual RST switch allows the user to reset the board when required 5 2 1 Reset Controller When mounted the MCP130 Reset controller U3 is able to monitor the supply voltage and to trigger a clean Reset signal when the supply voltage drops below a safe operating voltage then releases the Reset signal after a minimum delay when the power supply reaches a higher voltage thus avoiding spurious Reset generation when the supply voltage drops momentarily brown out detection Section 5 5 3 Clock Circuitry Control Circuitry The SAM7 EX256 board clock is using a socketed 18 432MHz crystal Q2 as the main clock source This particular frequency was chosen as it allows the use of the Atmel SAM BA protocol over USB upon power on to bootstrap the microcontroller A crystal with a different frequency from 3 MHz up to 20 MHz may be used when required by replacing the existing crystal in the socket The AT91SAM7X256 microcontroller derives its main clock frequency from the crystal clock by using a built in PLL Phase Locked Loop up to 55MHz operation The KS8721BL Ethernet PHY chip U2 uses a separate 25MHz crystal Q3 for its own ope
45. fer and connector 10 3 2 DTXD TXDO Configuration Strap Figure 10 19 DTXD TXDO Configuration Spe RI R88 Gi ERASE p4U10 n A SORE D SAMZ EX256 ooN a eggan eE Ze oo R8 S HMH OLIHEX COM DEU oo KC 288 onu Re2R8 wale y R8 d R20 4 m R43 S o EB uev cd The DTXD TXDO configuration strap enables routing either none USARTO TXDO or debug USART DTXD data receive signal to the RS232 buffer and connector Table 24 DTXD TXDO Configuration Strap Configuration Description Off Nothing is routed to RS232 buffer and connector 1 2 Default DTXD is routed to RS232 buffer and connector TXDO is routed to RS232 buffer and connector 10 3 3 CTS E Configuration Strap Figure 10 20 CTS E Configuration Configuration Straps Section 10 EXT 200000 109000 10 UE oo oo oo oo Oo Om 200000 100000 2 s285 see The CTS E configuration strap enables routing USARTO CTSO signal to the RS232 buffer and connector Table 25 CTS E Configuration Strap Off Default CTSO is not routed CTSO is routed to RS232 buffer and connector 10 4 CAN Configuration 10 4 1 STNB HS Configuration Strap Figure 10 21 STNB HS Configuration ITASSEL e OOOO E
46. gnals lines on the SAM7 EX256 board Busses Section 6 Table 4 12C TWI Bus 6 1 4 Serial Synchronous Bus The AT91SAM7X256 microcontroller features one SSC Serial Synchronous Controller that provides a serial synchronous communication link commonly used in audio IIS or AC 97 bus or telecom applications This bus is not used on the SAM7 EX256 board but is routed to the extension connector UEXT although multiplexed with SPI bus 1 See 9 10 2 for details The Serial Synchronous bus consists in the following signal lines on the SAM7 EX256 board Table 5 SS Bus Signal Name Description Note The following Serial Synchronous bus signal lines are not routed on the SAM7 EX256 board Table 6 SS Bus Not routed SSB Receive Frame SSB Receive Clock As these signals can be switched internally in the AT91SAM7X microcontroller from the TK and TF respectively this bus may still be useful 6 2 Peripheral Busses The AT91SAM7X256 microcontroller features two PIO controllers PIOA and PIOB each controlling a peripheral bus made up of 31 signal lines Each individual line can be configured to be used as a GPIO General Purpose Input Output or be assigned to several dedicated purposes pin multiplexing SAM7 EX256 Development Board User s Guide OUPIEX 3 16 11 2010 Section 6 6 2 1 Busses Bus A The following table defines the alternative purposes for bus A pins Table 7 Peripheral Bus A
47. h and adc c in the following archive http www olimex com dev soft arm SAM7 SAM7 EX256 zip 7 10 1 VREF Selection The configuration strap VREF can be used to set the reference voltage required by the built in ADC to 3 3V disable the ADC voltage reference or set it to a user supplied voltage 8 1 Section 8 Debug Interface This section details the SAM7 EX256 development board debug interface The AT91SAM7X256 features several debug and test capabilities B An EmbeddedICE Embedded In circuit Emulator H An IEEE 1149 1 JTAG Boundary Scan B A DBGU DeBuG Unit a Some pins dedicated to test and debug JTAGSEL ERASE and TST JTAG ICE 8 1 1 EmbeddedICE The ARM7TDMI EmbeddedICE is supported via the ICE JTAG port The internal state of the ARM7TDMI is examined through an ICE JTAG port 8 1 2 IEEE 1149 1 JTAG Boundary Scan IEEE 1149 1 JTAG Boundary Scan allows pin level access independent of the device packaging technology To obtain a Boundary Scan Description file visit http www atmel com dyn resources prod documents AT91SAM7X256 bsd zip 8 1 3 JTAGSEL Selection The configuration strap JTAGSEL enables disables the EmbeddedICE For further configuration details please refer to 10 7 1 H EmbeddedICE mode is selected when JTAGSEL signal is low B IEEE 1149 1 JTAG Boundary Scan mode is selected when JTAGSEL signal is high It is not possible to switch directly between ICE and JTAG operatio
48. http www olimex com dev soft arm SAM7 SAM7 EX256 GE8 zip http www olimex com dev soft arm SAM7 SAM7 EX256 GE12 zip The LCD screen is plugged on the board using two mated 10 pin 0 5mm pitch low profile Hirose DF23 connectors For pinout refer to 89 2 The LCD screen is connected to the AT91SAM7X256 microcontroller using the SPI O bus and a few other GPIO signals u SCKO PA18 SPI 0 Serial Clock MOSIO PA17 SPI 0 Master Out Slave In MISOO PA16 SPI 0 Master In Slave Out CS LCD PA12 LCD Chip Select LCD RESET PA2 LCD Reset Active Low LCD BL PB20 LCD backlight Note The SPI bus 0 is shared with the SD MMC Card functionality As the LCD technology does not emit any light by itself the Nokia 6610 screen integrates LEDs for providing a backlight illumination These LEDs must be fed with a 7V DC power supply This voltage is derived from the 5V DC power by using an MC34063 1 5A Step Up switching regulator U6 Section 7 7 2 User Inputs 7 2 1 Joystick 7 2 2 Switches 7 3 SD MMC Card Peripherals Backlight is controlled by the AT91SAM7X256 microcontroller using the LCD BL signal that drives a transistor Q4 to loop the LED supply voltage down to ground Note As the microcontroller output used for the LCD BL signal is the microcontroller s PB20 PWM1 PCKO pin it is possible to vary the backlight intensity and power consumption by using a PWM Pulse Width Modulation signal and modifying the duty cycle
49. ing ERASE clears the GPNVM Bit 2 and thus selects the boot from the ROM by default Section 11 0x0000 0000 OxOFFF FFFF 0x1000 0000 OxEFFF FFFF OxF000 0000 OxFFFF FFFF Figure 11 28 Memory Map Internal Memory Mapping Note 0x0000 0009 Boot Memory 1 Flash or ROM before Rema 1 Mbytes depending on GPNVM2 and Internal Flash 1 Mbytes R E MAP 0x001F FFFF 0x0020 0000 Internal SRAM 1 Mbytes 0x002F FFFF 0x0030 0000 Internal ROM 1 Mbytes Ox003F FFFF OxOFFF FFFF Address Memory Space Peripheral Mapping OxF000 0000 Internal Memories 256 Mbytes Reserved TCO TC1 TC2 OxFFFA A000 OxFFFA 7FFF OxFFHA 8000 Reserved OxFHFA BFFF OxFFFA C000 OJFFFA FFFF gxFFFB 0000 UDP OxFFFB 3FFF OxFFFB 4000 Reserved OxFFFB 7FFF OxFFFB 8000 OxFFFB BFFF OxFFFB C000 Reserved OxFFFB FFFF OxFFFC 0000 Undefined Abort 14 x 256 Mbytes 3584 Mbytes USARTO OxFFFC 3FFF OxFFFC 4000 USART1 OxFFFC 7FFF OxFFFC 8000 Reserved OxFFFC BFFF OxFFFC C000 PWMC OxFFFC FFFF OxFFFD 0000 CAN OxFFFD 3FFF OxFFFD 4000 SSC OxFFFD 7FFF OxFFFD 8000 ADC OxFFFD BFFF OxFFFD C000 EMAC OxFFFD FFFF OxFFFE 0000 SPIO OxFFFE 3FFF OxFFFE 4000 SPI1 OxFFFE 7FFF OxFFFE 8000 Internal Peripherals 256 Mbytes OxFFFE BFFF OxFFFE C000 OxFFFE FFFF OxF
50. istor For further details please refer to 10 4 2 7 8 Analog Audio Although the AT91SAM7X256 microcontroller does not provide specific support for audio the SAM7 EX256 board adds a mono microphone input and a mono headphones speaker output capability For example software on how to use the audio subsystem please check the files main c adc h and adc c in the following archive http www olimex com dev soft arm SAM7 SAM7_EX256 zip 7 8 1 Microphone Interface On the SAM7 EX256 development board the microphone interface is built around the MCP601 operational amplifier U7 used as a microphone pre amplifier that feed the analog audio signal on the 3 5mm microphone input jack to one of the microcontroller analog input AD7 The analog to digital conversion must be performed by software in the microcontroller itself 7 8 2 Audio Output Interface The SAM7 EX256 development board provides an audio output capability by taking a software generated digital PWM Pulse Width Modulation output signal AUDIO OUT PB19 and convert it to audible frequencies using a filter and a power amplifier built around the LM386 audio amplifier U8 then feed it either to the built in speaker or the output 3 5mm jack SAM7 EX256 Development Board User s Guide OUPIEX 5 16 11 2010 Section 7 Peripherals 7 8 2 1 Headphone Speaker Selection The configuration strap HEADPH SPKR enables to choose between headphones or speaker output For fu
51. m 470n 5 to 390n 1 Q4 changed from BC847 to BC817 R22 changed from 2 2 Ohm to 1 Ohm R52 and R53 changed from 1 2K 5 to 1 2K 1 R1 and R4 changed from 1 5K 5 to 1 5K 1 OUPIEX OLIMEX Ltd 89 Slavjanska St P O Box 237 Plovdiv 4000 Bulgaria Tel 359 32 626259 Fax 359 32 621270 Email info olimex com Contact Mr Tsvetan Usunov Distributors Australia Dontronics Website Dontronics Austria Megaton Handelsgesellschaft m b H Franz Schubertgasse 12A A 2372 Giefth bl Austria Tel 43 2236 43179 Fax 43 2236 43179 21 Email office megaton at Website http www megaton at Belgium Antratek Electronics Belgium CipalStraat 3 2440 Geel Belgium Tel 32 014 570557 Fax 32 014 570556 Email info antratek be Website http www antratek nl Bulgaria Comet Electronics 16 Tsar Samuil Str Sofia 1000 Bulgaria Call center Tel 359 2 915 58 55 Call center Fax 359 2 954 03 84 Office Tel 359 2 915 58 00 Email office comet bg Website http home comet bg Canada Optimal Microsystems Website http optimal microsystems com Chile amp South America Ingenieria MCI Ltda Tel 56 2 3339579 Fax 56 2 3350589 Email info olimex cl Website http www olimex cl Denmark Demotech Heekvej 3 Viftrup DK 7540 Haderup Denmark Contact Jan Hynneke Email sales demotech dk Website http www demotech dk Finland Atomia Oy Koskitie 33 b 17 90500 Oulu Fi
52. ment board 8 2 1 JTAGSEL Selection The JTAGSEL configuration strap is covered in S8 1 3 8 2 2 ERASE Selection The ERASE configuration strap allows erasing the AT91SAM7X256 microcontrollers Flash memory For further configuration details please refer to 10 7 2 8 2 3 TST Selection The TST configuration strap enables disables the fast programming mode parallel or serial For further configuration details please refer to 10 7 110 7 3 Note Because the required signals are not routed on the SAM7 EX256 development board the fast parallel programming mode is not available Section 9 Connectors This section details the SAM7 EX256 development board connector pinout 9 1 Power Connector Figure 9 4 Power Supply Connector 6 RAN gt ist gt SO street 200000 100000 H ERASE 00000 00000 WHH OLIMEX COM DEV C 2086 200000 noooo RABY Bae La Sen KIRA olg o 5 3 Ba Elo y E 5 The power supply connector is suitable for both standard 9V DC or 6V AC power adapters because of its unique design with an integrated diode bridge rectifier Because of this bridge rectifier the input is not polarized if used with a DC power adapter 9 2 LCD Connector Figure 9 5 LCD Connector e RA 200000 109000 18 Oc RON Oo 0 dod3
53. nland Tel 358 44 0212838 Email etunimi sukunimi atomia net Website http www atomia net France Lextronic 36 40 Rue du Gal de Gaulle 94510 La Queue en Brie France Tel 33 1 45 76 83 88 Fax 33 1 45 76 81 41 Email info lectronic fr Website http www lextronic fr Germany Elektronikladen Mikrocomputer Giesler 4 Danne GmbH 8 Co KG Wilhelm Mellies Str 88 32758 Detmold Germany Tel 49 05232 8171 Fax 49 05232 86197 Email elektronikladen elektronikladen de Website http elmicro com Hong Kong TechToys Company Unit 1805 18 F SAM7 EX256 Development Board User s Guide Pacific Plaza 410 Des Voeux Road West Hong Kong Tel 852 28576267 Fax 852 28576216 Email john TechToys com hk Contact John Leung Website http www techtoys com hk Hungary KoPoG Kereskedelmi s Szolg ltat Bt Bem utca 31 3 em 7 Budapest Magyarorsz g 1193 Tel 36 01 06 740146 Fax 36 2096491 7 3 43 Email monosx monosx org Website http www monosx hu India Logsun Systems Regd office B2 Raunak 134 4 3B Kothrud Near Mayur Colony Pune 411 038 linda Tel 91 20 32937840 2541 0129 25446815 Fax 91 20 2541 0129 Email logsun eth net Website www logsun com Israel BZ COM Ltd Tel 972 8 8523548 Fax 972 8 8565825 Email info bz com com Website http www bz com com Italy Robot Italy DROIDS SAS di Carnevale Luigi amp C Via Nannarelli 41 00139 Rom
54. nnectors O N B 0 WwW ON O The UEXT connector is a 2x5 0 1 pitch 4 Wall header Table 19 UEXT Connector 9 11 JTAG Connector Figure 9 15 JTAG Connector The JTAG connector is a 2x10 0 1 pitch 4 Wall header It is compatible with the ARM JTAG debugging programming tool Table 20 JTAG Connector EUM Signal Name EE Signal Name TCK Connectors Section 9 SAM7 EX256 Development Board User s Guide OUPIEX 7 16 11 2010 Section 10 Configuration Straps This section covers the configuration straps settings 10 1 Power Configuration Figure 10 16 USB EXT Configuration e RA uraespt 200000 109000 18 F ERASE 0000 00000 Ng ILINEX COH DEY nooo 200000 get D O TI pa EH o o Gen y De TH eg E Te me 5 The USB EXT configuration strap enables selecting between USB or external power source Table 21 USB EXT Configuration Strap Board is powered from the USB connector 2 3 Default Board is powered from the power connector 10 2 Ethernet Configuration Figure 10 17 PHY PD Configuration e RA J3TassEL 200000 109000 18 F REZ EE Base SAMT
55. ns A chip reset must be performed after JTAGSEL is changed 8 1 4 Common JTAG ICE Port The common JTAG ICE In Circuit Emulator port is used for standard debugging functions such as downloading code and single stepping through programs The port consists in a SAM ICE connector is a 20 way Insulation Displacement Connector IDC keyed box header 2 54 mm male that mates with IDC sockets mounted on a ribbon cable This connector provides all the JTAG signals to from the AT91SAM7X256 microcontroller allowing IEEE 1149 1 JTAG Boundary Scan and EmbeddedICE programming and debugging B VTref 3 3V Target reference voltage Vsupply 3 3V supply voltage nTRESET JTAG reset input TDI JTAG Test Data Input TMS JTAG Test Mode Set input TCK JTAG Test ClocK input RTCK JTAG Return Test ClocK TDO JTAG Test Data Output RESET Target CPU RESET Section 8 Debug Interface m GND Common GrouND For detailed pinout please refer 9 11 DBGU Serial Debug The Debug Unit provides a two pin DXRD and TXRD USART that can be used for several debug and trace purposes and offers an ideal means for in situ programming solutions and debug monitor communication Moreover the association with two peripheral data controller channels permits packet handling of these tasks with processor time reduced to a minimum 8 2 Test and Debug Pins The dedicated AT91SAM7X256 test and debug pins are routed to configuration straps on the SAM7 EX256 develop
56. or SAM7 EX256 demo bin code is available for free download OpenOCD Eclipse set of projects 1 00 include flash write make file for SAM7 EX25 OUPIEX SAM7 EX256 Development Board User s Guide 16 11 2010 Section 3 SAM7 EX256 Board Description This section helps you to understand the different board logical blocks and locate them physically on the printed circuit board 3 1 Block Diagram Figure 3 1 SAM7 EX256 Block Diagram Ethernet RS232 CAN LCD Screen Connector Connector Connector Clock Circuitry Ethernet RS232 CAN LCD PHY Transceiver Transceiver Backlight EXT Extension Mil Bus RS232 0 CAN Bus SD MMC Card Connector RS232 0 x COREL Analog Mis SPI Hus 0 GPIO UEXT Extension RS232 1 Connector SPI Bus 1 Speaker FC Bus Audio Oy JTAG JTAG Connector Headphones Jack Seen See AT91SAM7X256 Switch Circuit i Microcontroller Value Canis Audio In USB Slave Type B Socket Microphone Jack Power Supply Power Power Leit Right Potentio Socket LED Switch Joystick Switch man Thermistor Section 3 SAM7 EX256 Board Description 3 2 Layout Figure 3 2 Board Layout EXT Ethernet RS232 CAN Extension Connector Connector Connector Connector e due A j y 44 L j A Ni E U JH MEA d WEE a opos connunuE S rm i Pere S gt hy NG EE OER EEE darin De Ok b S Extension EU ra CE fa TL Zei ITT S a Headphones Connector Le H Ek SL CM det Jack CE AN
57. os xy EQVAHAILOXY L Xa YIXY XL Legs oee L9 1090 08 If H XH CQVAHd CQXH X ZXY NOXY AL 18H co ste _ _ E malay AGE NaX4 ASX4 IQVAHd EQXH rs XH OXH ME E os 088 4 SLW ADILSAOP on HAC SS ovo DON Tz DOW LXH ye eog a ay ES Zu 21 sano oia t oiaw exu yee rey OSLU EV ls L EXA MEE eeu 5 2 x dngd oo0rdsi Tl TE Le TEP xe u00L axud Zevd ZMS An ind auso E WLAS gt 0KK gt 00XR pia 292 A i M 19va31 e 9 9pH e DON QNS 2 0 B e EE IEN E EA zn n NN See VW Mansi 3 519 c us T s AHAGE v ISY S NE 9 MOL HEH 1noza x0L d Age C3 JE 4 E E NILH INOLY ka vv oo l 6 6v ouer axy 166v M66 25 T c iA Ari 0 voy e Ho 0 9 4 1nOLl NILL uDO L DECH 941194 d 64H D ax1d 8zvyd V 959 zou AGE T n e S SEET ce e ps M dl is E LOBE AGZ AE 9INO L u00L col ans Q pea A 6L8 AT Z LS94HWSZ Fano S Md Ag am NE 9 ML E ge e ANNTOA ugg uge SIM 4 0GXL 9 TOME o OL NR 0S2 199 bd Z760 K ogee Y L OV C vey 98ENT WN ZEZELS vn 099 033 ses Mee U00L 96 LPMZ E 96 LZ L A S3NOHdQV3H A mum AE Cow a NO oan 1 NvO pe EE a 10 uoo ne9m2y Ed 3 Ke Set ES r TC baa anre dozy T p EH L OZ Ct 01 1 peo Lice bed 4XdS HdGVAH 2 EN PLY e 3 dr 213 9 L ODZ Y Se EEN Sg 1 ely F AG o vAZOSSAZE LL agtinozy ml HDOZY 1v CZ o L M9 S c LEO diy dr U00L SN pe 6 91 NOZZ mm T H ZO co YN as VAZOSSAZG 799 voy on seo ezu _ uooL o 3 LZ 00L 07 ees 829 zm M E i
58. ration Section 6 Busses This section explains the different communication busses that link the microcontroller and the different peripherals included on the SAM7 EX256 board The AT91SAM7X256 peripheral busses are also covered 61 Communication Busses 6 1 1 MII Bus The SAM7X EX development board integrates several communication busses for its operation B An MII Media Independent Interface bus for communicating with the KS8721BL PHY Ethernet chip U2 B Two SPI Serial Peripheral Interface busses one for communicating with the SD MMC card and the LCD screen one routed to extension connector An IC Inter Integrated Circuit or TWI Two Wire Interface bus An SS Serial Synchronous bus The MII Media Independent Interface bus is used to communicate between the AT91SAM7X256 microcontroller U1 and the KS8721BL Ethernet PHY chip U2 This bus is running at a clock frequency of 25MHz derived from the crystal Q3 This bus is only present on the board and not routed to any connector This bus consists in the following signal lines on the SAM7 EX256 board Table 1 Mil Bus Signal Name Description Note Although both the AT91SAM7X256 microcontroller and the KS8721BL Ethernet PHY chip support the RMII Reduced Media Independent Interface bus that use less signal lines this solution has been discarded because this interface is not functional in the AT91SAM7X256 microcontroller see datasheet errata
59. re not suitable for and shall not be used in automotive applications Olimex s products are not intended authorized or warranted for use as components in applications intended to support or sustain life 2007 Olimex Ltd All rights reserved Olimex amp logo and combinations thereof are registered trademarks of Olimex Ltd SAM BA and others are trademarks of Atmel Corporation or its subsidiaries ARM the ARM Powered logo and others are the registered trademarks or trademarks of ARM Ltd IC is a trademark of Koninklijke Philips Electronics NV SPI is registered trademark of Motorola Corporation Other terms and product names may be trademarks of others al Printed on recycled paper o ii OUMEX SAM7 EX256 Development Board User s Guide 16 11 2010 Table of Contents Table of Contents 2 2 awawaanananunanaN NENE oo nana ana za zana iii ONIS AA 1 Setting Up the SAM7 EX256 Development Board 1 A NIS ia 1 SAM7 EX256 Board Description RRE 1 A E ime 1 AE AAA 3 The AT91SAM7X256 Microcontroller ore rne nn 1 EE Eege 1 21 POE e Lie AA ANA AA RI RO AA 1 5 1 1 Power Source Selection cccccccccecccccccuececeuecueueusueeeuenenenenueueueusuenenenenentusentnes 1 DA RE ION ar 1 5 2 1 Reset Controller esses eR RR eR ete en nnne nennen 1 SORA Te Rin ia
60. rther configuration details please refer to 810 5 7 8 2 2 Volume Control A built in VOLUME potentiometer enables setting the audio output volume 7 9 Temperature Sensor 7 10 Analog Inputs The SAM7 EX256 development board features a built in thermistor that provides an analog voltage proportional to the ambient temperature This AN TERM signal is fed to one of AT91SAM7X256 s analog input AD5 For example software on how to read the temperature please check the files main c adc h and adc c in the following archive http www olimex com dev soft arm SAM7 SAM7 EX256 zip The AT91SAM7X256 microcontroller features a built in ADC Analog to Digital Converter with 8 multiplexed inputs capable of converting voltages from OV up to VREF voltage Analog inputs AD 0 3 are multiplexed with other functions on peripheral Bus B and analog inputs AD 4 7 are present on dedicated pins On the SAM7 EX256 board only the AD 4 7 signals are used as analog inputs some of them being dedicated to specific usage H ADA is not used on the SAM7 EX256 board but is routed to the EXT connector For pinout please refer to 9 10 1 B AD5 is used as the Thermistor analog input See 87 9 for details B AD6 is connected to an on board trim potentiometer B AD7 is used as an analog microphone input See 87 8 1 for details For example software on how to drive read the trim potentiometer value please check the files main c adc
61. st Flash Programming Interface Controller USART1 VDDIN GND VDDOUT VDDCORE VDDIO VDDFLASH ERASE PGMRDY PGMNVALID PGMNOE PGMCK PGMM0 PGMM3 PGMDO PGMD15 PGMNCMD PGMENO PGMEN1 ETXCK ERXCK EREFCK ETXEN ETXER ECRS ECOL ECRSDV ERXER ERXDV ERX0 ERX3 ETX0 ETX3 EMDC EMDIO EF100 VDDFLASH DDM DDP Section 5 Control Circuitry Along with the microcontroller a separate control circuitry is required to pace the board This section details the power supply reset and clock circuitry 5 1 Power Supply Circuitry The SAM7 EX256 board integrates a regulated power supply that sources power either from the USB bus or from an external 9V DC 6V AC 0 1A power adapter The main power supply components are A standard power socket An integrated bridge rectifier G1 An RC1587 adjustable 3A LDO Low Drop Out regulator set to 5V output VR1 An LM1117 3 3V 800mA LDO regulator VR2 A power LED A power source selection jumper USB EXT An MC34063 adjustable 1 5A Boost Buck switching regulator for the LCD backlight power supply set to 7V output U6 5 1 1 Power Source Selection The power source must be selected by setting the jumper USB EXT to either USB or external power source See 10 1 for details 5 12 LCD Backlight As the LCD technology by itself does not deliver any light an additional backlight circuitry must provide a light source for correct display The Nokia 6610 LCD screen int
62. te protects switches Table 15 SD MMC Connector RESERVED 96 RS232 Connector Figure 9 9 RS232 Connector 94321 9876 Zu omn 20015 99 O ole A is fot E 0 0 The RS232 connector is a standard DB9 female connector Note Don t get confused with the CAN DB9 male connector Table 16 RS232 Connector SAMT EX256 Development Board User s Guide OUMEX 3 16 11 2010 Section 9 Connectors 9 7 CAN Bus Connector Figure 9 10 CAN Bus Connector 6 RAN gt E EO TaeseL 200000 100000 10 00000 000000 E 200000 1 2 ses E 822 00 7 T EC 6 89 8 S ca 5 c33 t C34 d The CAN connector is a standard DB9 male connector Note Don t get confused with the RS232 DB9 female connector Table 17 CAN Connector Ce aan me teme Rode bk e s lao CON Joma DEE 9 8 Microphone Connector Figure 9 11 Microphone Connector Audio 6 RAN gt 200000 100000 10 ERASE aag Br 5 Fob GND 00000 000000 ze SI SEH ees SAM2 EX256 csect 200000 1 Y DOOOE E The microphone connector is a standard 3 5mm Jack mono female conne
63. u al T T m E OR S 1 U Er 1 2 bus le ee A o 9 1 2 3 4 Pulse Width Modulation Controller nnm nne nnne nnn nnne aaa sna sides sisse ise sine sse se se sese sen ser nnn ns 3 xl 1 2 5 ml cc 3 R AA T c AA aul 1 Ris BA inei RETE 2 Reduced Media Independent Interface 2 ao Uli e AP c M O M 1 EE Geni E 1 2 Ss KT 1 cre M CE 2 sz e M 2 3 Ee 1 OPO ANAN o a 2 4 KEE 2 MINS AA ei dia ta it 3 5 A AA 5 Bc P O 4 PATA AE A uu 5 ein e A IRI MIRROR RI RE PRR E RIO AA EE 5 ate situa iii te i ma aa aaa dia a al a i a ai ada O EU E OU O va at aa aa n aa Ca a
64. utput RTSO USART 0 Request To Send output RXDO USART 0 Received Data input i A complete serial interface USART 1 with the following signals Table 10 USART1 Signal Name Description CTS1 USART 1 Clear To Send input DCD1 USART 1 Data Carrier Detect input DSR1 USART 1 Data Set Ready input DTR1 USART 1 Data Terminal Ready output RI1 USART 1 Ring Detect input RTS1 USART 1 Request To Send output RXD1 USART 1 Received Data input TXD1 USART 1 Transmit Data output Both USARTO and USART 1 feature individual baud rate generators and support for IrDA infrared modulation demodulation ISO7816 TO T1 Smart Card and RS485 On the SAM7 EX256 development board these serial interfaces are routed to different connectors E The simple debug serial interface is routed to the RS232 transceiver and standard DB9 female connector and to the EXT connector For pinout please refer to 9 10 1 E The USARTO serial interface is routed to the same RS232 transceiver and DB9 connector and its RTSO and CTSO signals are also routed to the EXT connector For pinout please refer to 9 10 1 B The USART1 serial interface RXD1 and TXD1 signals are routed to the UEXT connector For pinout please refer to 89 10 2 Peripherals Section 7 Note the USART1 signals CTS1 DCD1 DSR1 DTR1 RI1 and RTS1 are not available on the SAM7 EX256 board The signals on the DB9 connector are at the standard RS232 level 12V to 412V These voltages are o
65. voltage regulator with up to 800mA output current Single power supply 6V AC or 9V DC required the board can also take power from SB port Power supply LED Power supply filtering capacitors RESET circuit RESET button 18 432 MHz crystal on socket BH E E E E CH E E E E E NH E EE E Two Extension headers for all microcontroller ports Olimex s cross compatible Universal Extension Header UEXT Additional Extension Header EXT B PCB FR 4 1 5 mm 0 062 solder mask silkscreen component print B Dimensions 128 x 98 mm 5 x 3 8 Each section in this document covers a separate topic organized as follow Section 1 is an overview of the board usage and features Section 2 provides a guide for quickly setting up the board Section 3 contains the general board diagram and layout Section 4 describes the component that is the heart of the board the Atmel AT91SAM7X256 microcontroller Section 5 is a detailed explanation of the control circuitry associated with the microcontroller to reset power and clock the board Section 6 covers the different communication busses that link the microcontroller and the different peripherals on the board Section 7 browses though all the peripherals included on the board Section 8 details the different connector pinout Section 9 enumerates the different configuration straps present on the board and their usage Section 10 gives information on the board s debug interface Section 11 is the

Download Pdf Manuals

image

Related Search

Related Contents

Samsung FHD Monitor 24"  Product Data Sheet  User`s Manual - Pdfstream.manualsonline.com  ケーブル・樹脂管丸穴壁貫通部用  LG 60PB5600 Energy Guide : Free Download, Borrow, and Streaming : Internet Archive  RDU Installation manual  DVDホームシアター システム  Qiagen TissueLyser PDF  Eminent EM8605  ET - EH - EC  

Copyright © All rights reserved.
Failed to retrieve file