Manuel d’utilisation Atmel AT89C5132

38 pages 0.41 mb
Télécharger

Aller à la page of 38

Summary
  • Atmel AT89C5132 - 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) – ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ............ ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ( ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - page 35

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

  • Atmel AT89C5132 - page 36

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

  • Atmel AT89C5132 - 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 ...

  • Atmel AT89C5132 - 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 ...

Fabricant Atmel Catégorie Computer Hardware

Les documents que nous recevons du fabricant de l'appareilAtmel AT89C5132 peuvent être divisés en plusieurs groupes. Ceux-ci sont, entre autres:
- dessins techniques Atmel
- manuels d’utilisations AT89C5132
- fiches produit Atmel
- dépliants
- ou étiquettes-énergie Atmel AT89C5132
Tous sont importants, mais les informations les plus importantes du point de vue de l'utilisation de l'appareil se trouvent dans le manuel d’utilisation Atmel AT89C5132.

Un groupe de documents appelé manuels d’utilisation est également divisé en types plus spécifiques, tels que: Manuels d’installation Atmel AT89C5132, manuels d’entretien, brefs manuels ou manuels de l’utilisateur Atmel AT89C5132. Selon vos besoins, vous devriez chercher le document dont vous avez besoin. Sur notre site, vous pouvez voir le manuel le plus populaire d’utilisation du produit Atmel AT89C5132.

Manuel d’utilisation complet de l’appareil Atmel AT89C5132, quelle devrait-elle être?
Le manuel d’utilisation, également appelé le mode d’emploi, ou tout simplement le manuel, est un document technique destiné à aider à utiliser Atmel AT89C5132 par les utilisateurs. Des manuels sont généralement écrits par un rédacteur technique, mais dans un langage accessible à tous les utilisateurs Atmel AT89C5132.

Le manuel d’utilisation complet Atmel, devrait inclure plusieurs éléments de base. Certains d'entre eux sont moins importants, tels que: la couverture / page de titre ou pages d'auteur. Cependant, la partie restante, devrait nous fournir des informations importantes du point de vue de l'utilisateur.

1. Introduction et des conseils sur la façon d'utiliser le manuel Atmel AT89C5132 - Au début de chaque manuel, nous devrions trouver des indices sur la façon d'utiliser le document. Il doit contenir des informations sur l'emplacement de la table des matières Atmel AT89C5132, FAQ ou des problèmes les plus fréquents - les points qui sont les plus souvent recherchés par les utilisateurs de chaque manuel
2. Table des matières - index de tous les conseils pour lAtmel AT89C5132 qui peuvent être trouvés dans le document courant
3. Conseils sur la façon d'utiliser les fonctions de base de l’appareil Atmel AT89C5132 - qui devraient nous aider dans les premières étapes lors de l'utilisation Atmel AT89C5132
4. Troubleshooting - séquence systématique des activités qui nous aideront à diagnostiquer et ensuite résoudre les principaux problèmes de Atmel AT89C5132
5. FAQ - questions fréquemment posées
6. Détails du contact Informations sur l'endroit où chercher le contact avec le fabricant / service Atmel AT89C5132 dans un pays donné, si le problème ne peut être résolu par nous-mêmes.

Avez-vous une question à propos de Atmel AT89C5132?

Utiliser le formulaire ci-dessous

Si vous n’avez pas résolu votre problème avec Atmel AT89C5132, avec l'aide du manuel que vous avez trouvé, posez une question en utilisant le formulaire ci-dessous. Si un utilisateur a eu un problème similaire avec Atmel AT89C5132 il est probable qu’il a envie de partager la façon de le résoudre.

Réécrire le texte de l'image

Commentaires (0)