Atmel AT89C5132 manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Atmel AT89C5132. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Atmel AT89C5132 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Atmel AT89C5132 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Atmel AT89C5132 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Atmel AT89C5132
- nom du fabricant et année de fabrication Atmel AT89C5132
- instructions d'utilisation, de réglage et d’entretien de l'équipement Atmel AT89C5132
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Atmel AT89C5132 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Atmel AT89C5132 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Atmel en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Atmel AT89C5132, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Atmel AT89C5132, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Atmel AT89C5132. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    Features • Programmable Audi o Output for Interfacing with Common Audio DAC – PCM Format Co mp atible –I 2 S Format Comp atib le • 8-bit MCU C51 Core-based (F MAX = 20 MHz ) • 2304 B ytes of Inter nal RAM • 64K Bytes of Code Memory – A T89C513 2: Flash (100K W rite/Era se Cycle s) • 4K Byte s of Boot Fl ash Me mory (A T89C51 32) –[...]

  • Page 2

    2 4173ES–USB– 09/07 AT8 9C5132 3. Block Diagram Figure 3-1. A T89C5132 Block Dia gram Notes: 1. Alternate fu nction of Port 3 2. Alternate fu nction of Port 4 3. Alternate fu nction of Port 1 8-BIT I NTERNAL BUS Clock and PLL Unit C51 (X2 CORE) RAM 2304 Bytes Flash Interrupt Handler Unit FILT X2 X1 MMC Interf ace I/O MDAT P0 - P5 10-bit A-to-D [...]

  • Page 3

    3 4173ES–USB– 09/07 AT89C5 132 4. Pin Descri ption Figure 4-1. AT89C5132 8 0-pin TQF P Package P0.3 /AD3 P0.4 /AD4 P0.5 /AD5 VSS VDD P0.6 /AD6 P0.7 /AD7 P2.0 /A8 P2.1 /A9 P3.1/TXD P3.2/INT 0 P3.3/INT 1 P3.4/T0 P3.0/RX D 1 2 3 4 5 6 7 8 13 11 10 P2.2/A 1 0 P2.3/A 1 1 P2.4/A 1 2 P2.6/A 1 4 P2.5/A 1 3 P2.7/A 1 5 MCLK MDA T MCMD P0.2 /AD2 P0.1 /AD1[...]

  • Page 4

    4 4173ES–USB– 09/07 AT8 9C5132 Figure 4-2. A T89C5132 84-pin PL CC (1) Note: 1. For developm en t board onl y . 4.1 Signals All the A T89C513 2 signals a re detai led by fun ctionality in Tabl e 1 to Table 14 . Ta b l e 1 . Po rts Si gnal De scrip tion PLCC84 P0.3/A D3 P0.4/A D4 P0.5/A D5 VSS VDD P0.6/A D6 P0.7/A D7 P2.0/A 8 P2.1/A 9 P3.3/INT 1[...]

  • Page 5

    5 4173ES–USB– 09/07 AT89C5 132 Ta b l e 2 . Cloc k Si gna l Desc r ipt ion Ta b l e 3 . Ti mer 0 and T imer 1 Sign al Descripti on P2.7: 0 I/O Port 2 P2 is an 8-bit bidirectional I/O port with internal pull-up s. A15:8 P3.7: 0 I/O Port 3 P3 is an 8-bit bidirectional I/O port with internal pull-up s. RXD TXD INT0 INT1 T0 T1 WR RD P4.7: 0 I/O Por[...]

  • Page 6

    6 4173ES–USB– 09/07 AT8 9C5132 Ta b l e 4 . Audi o Interfac e Signa l Descript ion Ta b l e 5 . USB Controll er Signa l Descrip tion Ta b l e 6 . Muti MediaCard Int erface Sig nal Descripti on T0 I Timer 0 External Clock Input When timer 0 op erates as a counter , a falling edge on the T0 pin increments the count. P3.4 T1 I Timer 1 External Clo[...]

  • Page 7

    7 4173ES–USB– 09/07 AT89C5 132 Ta b l e 7 . UART S ignal Description Ta b l e 8 . SPI Controll er Signa l Descr iptio n Ta b l e 9 . TW I Controller Signal Des cription Ta b l e 1 0 . A/ D Converter S ignal Desc ription Signal Name T yp e Description Alternate Function RXD I/O Receive Serial Data RXD sends and receives data in ser ial I/O mode [...]

  • Page 8

    8 4173ES–USB– 09/07 AT8 9C5132 Ta b l e 1 1 . Keyp ad Interfa ce Signa l Desc riptio n Ta b l e 1 2 . External Ac cess Signal D esc ri ption Ta b l e 1 3 . S ystem Sig nal Descri ption Signal Name T yp e Description Alternate Function KIN3 :0 I Keypad Input Lines Holding one of these pins high or lo w for 24 oscillator periods triggers a keypad[...]

  • Page 9

    9 4173ES–USB– 09/07 AT89C5 132 Ta b l e 1 4 . P ower Signal De scrip tion Signal Name T yp e Description Alternate Function VDD PWR Digit al Supply V olt age Connect these pins to +3V supply volt a ge. - VSS GND Cir c uit Gr ou nd Connect these pins to ground. - AV D D P W R Analog S uppl y V olta ge Connect this pin to +3V supply volt age. - A[...]

  • Page 10

    10 4173ES–USB– 09/07 AT8 9C5132 4.2 Internal Pin S tructure Ta b l e 1 5 . D etailed In ternal Pin Str ucture Note s: 1. F or i nfor matio n on r esist ors v alue, inpu t/ou tput level s, and dr ive c apabil ity , r efer t o the Section “DC Cha racteristics”, page 18 3 . 2. When t he T wo Wire contro ller is enab led, P 1 , P 2 , and P 3 t [...]

  • Page 11

    11 4173ES–USB– 09/07 AT89C5 132 5. Address S pa ces The AT8x C5132 der ivatives implemen t four dif ferent add ress spac es: • Program /Code Memo ry • Boot Me mory • Data Memo ry • S pe cial Func tion Registe rs (SFR s) 5.0.1 Code Memory The AT89 C5132 impl ements 64 K Bytes of o n-chip program/c ode memor y in Flash t echnolog y. The F[...]

  • Page 12

    12 AT89C5132 4173ES–USB– 09/07 Peripheral s The AT8xC5132 peripherals are br iefly described in the following sections. For fur t her details on how to int erface (hardw are and s oftware) to the se peripher als, pleas e refer to the AT8 xC5132 co mplete dat asheet. Clock Genera tor System The AT8xC 5132 inte rnal clocks ar e extracted from an [...]

  • Page 13

    13 AT89C5132 4173ES–USB– 09/07 Serial I/O Interfa ce The AT89 C5132 imp lements a serial p ort with its own baud r ate gener ator prov iding on e single s ynchrono us commu nication mode an d three full- duplex Un iversa l Asynchr onous Receiver Transmitter ( UART) co mmunication modes. It is pr ovided for the following purpos es: • In Sys te[...]

  • Page 14

    14 4173ES–USB– 09/07 AT8 9C5132 6. Electri cal Characteristics 6.1 Absolute Maximum Ratings 6.2 DC Characte ristic s 6.2.1 Digit al Logic S torage T emperatu re ............. ...................... .. -65 ° C to +1 50 ° C V olta ge on any other Pi n to V SS ......... ........... ......... ........ -0.3 to +4. 0V I OL per I/O Pin ............ [...]

  • Page 15

    15 4173ES–USB– 09/07 AT89C5 132 Notes: 1. T ypical v alues are obtained using V DD = 3 V and T A = 25 ° C. They ar e not tested an d there is n o guarantee on thes e val ues . 2. Flash rete ntion is gua ranteed with the same fo rmula for V DD mi n down to 0 V . 3. See Ta b l e 154 for ty pical consum ption in player m ode. 6.2.2 I DD, I DL and[...]

  • Page 16

    16 4173ES–USB– 09/07 AT8 9C5132 Figure 6-2. I DL Tes t Condition , Idle Mode Figure 6-3. I PD Test Co ndition, Powe r-Down Mode 6.2.3 A-to-D Converter Ta b l e 2 . A-to-D Con verter DC Characteristics V DD = 2.7 to 3.3V , T A = -40 t o +85 ° C X2 VDD Clock Signal RST VSS TST X1 P0 (NC) I DL All other pins are unconnected VSS VDD VSS VDD PVDD U[...]

  • Page 17

    17 4173ES–USB– 09/07 AT89C5 132 6.2.4 Oscillat or and Crys t al 6.2.4.1 Sche matic Figure 6-4. Crysta l Connection Note: For op eration with m ost st andard cryst als, no extern al compone nts are needed on X1 and X2. It may be n ecessary to add external cap acitors on X1 and X2 to ground in s pecial cases (ma x 10 pF). X1 and X2 may not be u s[...]

  • Page 18

    18 4173ES–USB– 09/07 AT8 9C5132 6.2.5.2 Paramet ers Ta b l e 4 . PLL Fi lt er Chara cte ris tic s V DD = 2.7 to 3.3V , T A = -40 t o +85 ° C 6.2.6 USB Con nection 6.2.6.1 Sche matic Figure 6-6. USB Co nnection 6.2.6.2 Paramet ers Ta b l e 1 6 . USB Char acteri stics V DD = 3 to 3.3 V , T A = - 40 to +85 ° C 6.2.7 In-sy s tem Programming 6.2.7[...]

  • Page 19

    19 4173ES–USB– 09/07 AT89C5 132 6.3 AC Characte ristic s 6.3.1 External 8-bit Bus Cy cles 6.3.1.1 Definit ion of Sy mbols Ta b l e 6 . Ext ernal 8-bi t Bus Cycl es Timing Symbol Definitions 6.3.1.2 Timin gs Test cond itions: c apaciti ve load o n all pin s = 50 pF. Ta b l e 7 . Ext ernal 8-bi t Bus Cycl e – Data Read AC Timing s V DD = 2.7 t [...]

  • Page 20

    20 4173ES–USB– 09/07 AT8 9C5132 Ta b l e 8 . Ext ernal 8-bi t Bus Cycl e – Data Wr ite AC T imings V DD = 2.7 t o 3.3V , T A = -40 ° to +8 5 ° C 6.3.1.3 Waveforms Figure 6-8. Exte rnal 8- bit Bus C ycle – Da ta Read Wav eforms Symbol Parameter V ariable Clock Stand a rd Mo de Va r i a b le C l oc k X2 Mode Unit Min Max Min Max T CLCL Cloc[...]

  • Page 21

    21 4173ES–USB– 09/07 AT89C5 132 Figure 6-9. Exte rnal 8- bit Bu s Cycle – Data Write Wave forms 6.3.2 External IDE 16-bit Bus C ycles 6.3.2.1 Definit ion of Sy mbols Ta b l e 9 . Ext ernal IDE 16- bit Bus Cycl es Timin g Symbol Defi nitions 6.3.2.2 Timin gs Test c onditions: c apaciti ve load o n all pin s = 50 pF. T WHLH T AV W L T LLAX T WH[...]

  • Page 22

    22 4173ES–USB– 09/07 AT8 9C5132 Ta b l e 1 0 . Ex ternal IDE 16 -bit Bus Cy cle – Data Re ad AC Ti mings V DD = 2.7 to 3. 3V , T A = -4 0 ° to +85 ° C Ta b l e 1 1 . Extern al IDE 16-bi t Bus Cyc le – Data Write AC Timings V DD = 2.7 t o 3.3V , T A = -40 ° to +8 5 ° C Symbol Parameter V ariable Clock Stand a rd Mo de Va r i a b le C l o[...]

  • Page 23

    23 4173ES–USB– 09/07 AT89C5 132 6.3.2.3 Waveforms Figure 6-10. Extern al IDE 16-bi t Bus Cycle – Data Read Wave for ms Note: D15:8 is written in DA T16H SFR. Figure 6-1 1. Extern al IDE 16-bi t Bus Cycle – Data Writ e Wavefor m s Note: D15:8 is the content of DA T16H S FR. 6.3. 3 SPI I nterfac e 6.3.3.1 Definit ion of Sy mbols Ta b l e 1 2 [...]

  • Page 24

    24 4173ES–USB– 09/07 AT8 9C5132 6.3.3.2 Timings Ta b l e 1 3 . SPI Int erface M aster AC Timing V DD = 2.7 t o 3.3V , T A = -40 ° to +8 5 ° C Notes: 1. V alue of this paramet er depends on so ftware. 2. T est con dition s: cap acitive lo ad on all pin s = 100 pF Symbol Paramet er Min Max Unit Slave Mode T CHCH Clock Period 8 T OSC T CHCX Cloc[...]

  • Page 25

    25 4173ES–USB– 09/07 AT89C5 132 6.3.3.3 Waveforms Figure 6-12. SPI Sl ave Wavefo rms (SSCPHA = 0 ) Note: 1. Not Defin ed but generally the MSB of the cha racter which h as just been rec e ived. Figure 6-13. SPI Sl ave Wavefo rms (SSCPHA = 1 ) Note: 1. Not Defin ed but general ly the LSB of the character w hich has jus t been received . T SLCL T[...]

  • Page 26

    26 4173ES–USB– 09/07 AT8 9C5132 Figure 6-14. SPI Ma ster Wavefo rms (SSCPHA = 0) Note: 1. SS handled by so ftware usin g general purp ose port pin. Figure 6-15. SPI Ma ster Wavefo rms (SSCPHA = 1) Note: 1. SS handled by so ftware usin g general purp ose port pin. 6.3. 4 T wo -wire In terfa ce 6.3.4.1 Timings Ta b l e 1 7 . TWI Interfac e AC Tim[...]

  • Page 27

    27 4173ES–USB– 09/07 AT89C5 132 V DD = 2.7 to 3.3 V , T A = -40 to +85 ° C Notes: 1. At 100 k b it/s. At other bi t-rates this valu e is inversely pro portional to t he bit-rate of 1 00 kbit/s . 2. Determi ned by the ext ernal bus-line c apacita nce and the external bus-li ne pull-up resi stor , this must be < 1 μ s. 3. S pikes on th e SDA[...]

  • Page 28

    28 4173ES–USB– 09/07 AT8 9C5132 6.3.5 MMC In terface 6.3.5.1 Definit ion of Sy mbols Ta b l e 1 4 . M MC Interface Timing Sy mbol Defini tions 6.3.5.2 Timings Ta b l e 1 5 . MMC Inter face AC Timing s V DD = 2.7 to 3.3 V , T A = -40 to +85 ° C, CL ≤ 100pF ( 10 cards ) 6.3.5.3 Waveforms Figure 6-17. MMC Input O utput Wav eforms Signal s Condi[...]

  • Page 29

    29 4173ES–USB– 09/07 AT89C5 132 6.3.6 Audio Inter f ace 6.3.6.1 Definit ion of Sy mbols Ta b l e 1 6 . A udio Interfa ce Timing Symbol Defi nitions 6.3.6.2 Timings Ta b l e 1 7 . Audi o Inter f ace AC ti mings V DD = 2.7 t o 3.3V , T A = - 40 to +85 ° C, CL ≤ 30pF Note: 32-bit forma t with Fs = 48 kH z. 6.3.6.3 Waveforms Figure 6-18. Audio I[...]

  • Page 30

    30 4173ES–USB– 09/07 AT8 9C5132 6.3.7 Analog to Digit al Converter 6.3.7.1 Definit ion of Sy mbols Ta b l e 1 8 . A nalog to Digi tal Conve rter Tim ing Symbol Definitio ns 6.3.7.2 Cha racteris tics Ta b l e 1 8 . A nalog to Digi tal Conve rter AC Char acterist ics V DD = 2.7 to 3.3 V , T A = -40 to +85 ° C Notes: 1. A V DD = A V REFP = 3.0 V [...]

  • Page 31

    31 4173ES–USB– 09/07 AT89C5 132 6.3.7.3 Waveforms Figure 6-19. Analog- to-Digit al Converte r Internal W aveform s Figure 6-20. Analog- to-D igit al Converte r Charac ter i stics ADEN Bi t ADSS T Bi t T EHSH T SHS L CLK T CLCL 1234567 10 18 1 019 1020 1021 1022 1023 1024 1 2 3 4 5 6 7 1018 1019 1020 1021 1022 1023 Offset Erro r Code Out AV IN ([...]

  • Page 32

    32 4173ES–USB– 09/07 AT8 9C5132 6.3. 8 Fla sh Mem ory 6.3.8.1 Definit ion of Sy mbols Ta b l e 1 9 . Fl ash Memo ry Timing S ymbol De finitions 6.3.8.2 Timings Ta b l e 2 0 . Flash M emory AC T iming V DD = 2.7 t o 3.3V , T A = -40 ° to +8 5 ° C 6.3.8.3 Waveforms Figure 6-21. Flas h Memory – I SP Wavefo rms Note: 1. ISP must b e driven t hr[...]

  • Page 33

    33 4173ES–USB– 09/07 AT89C5 132 6.3.9.2 Timings Ta b l e 2 2 . Externa l Clock AC Timings V DD = 2.7 t o 3.3V , T A = -40 to +8 5 ° C 6.3.9.3 Waveforms Figure 6-23. Exter nal Cl ock Wavefo rm Figure 6-24. AC Testing Input/Out put Wavef orms Note s: 1. D u ring AC te st ing, all in puts a r e driv en at V DD -0.5V for a logic 1 and 0.45V for a [...]

  • Page 34

    34 4173ES–USB– 09/07 AT8 9C5132 7. Ordering Information Note: 1. PLCC8 4 package o nly available for developm ent bo ard. Possib le O rder En tries (1 ) Part Number Memo ry Size (Bytes) Su pply Vo l t a g e T emp eratu re Range Max Freque ncy (MHz) Packag e Packing Product Mark ing A T89C5132-R OTI L 64K Flash 3V Industrial 40 TQFP80 Tr ay 8951[...]

  • Page 35

    35 4173ES–USB– 09/07 AT89C5 132 8. Package Informati o n 8.1 TQFP 80[...]

  • Page 36

    36 4173ES–USB– 09/07 AT8 9C5132 8.2 PLCC84[...]

  • Page 37

    37 4173ES–USB– 09/07 AT89C5 132 9. Dat asheet Revision History for A T89C5132 9.1 Change s from 4173A-08/02 to 4173B-03/ 04 1. Suppres sion of ROM product v ersion. 2. Suppres sion of TQF P64 packag e. 9.2 Cha nges from 4173 B-03/0 4 - 4 173C - 07 /04 1. Add USB c onnecti on schem atic in U SB sect ion. 2. Add USB t erminati on char acteristics[...]

  • Page 38

    Printed on recycled paper. 4173E S–USB–09 /07 © 2007 Atmel Corporation . All rights reserved. Atmel ® , logo and combinations thereof, and Everywhere Y ou Are ® are the trademarks or regis- tered trademarks, of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. Disclaimer: The information in thi[...]