Atmel AT89C5132 Bedienungsanleitung

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

Zur Seite of

Richtige Gebrauchsanleitung

Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung Atmel AT89C5132 an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von Atmel AT89C5132, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.

Was ist eine Gebrauchsanleitung?

Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung Atmel AT89C5132 die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.

Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung Atmel AT89C5132. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.

Was sollte also eine ideale Gebrauchsanleitung beinhalten?

Die Gebrauchsanleitung Atmel AT89C5132 sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts Atmel AT89C5132
- Den Namen des Produzenten und das Produktionsjahr des Geräts Atmel AT89C5132
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts Atmel AT89C5132
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen

Warum lesen wir keine Gebrauchsanleitungen?

Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von Atmel AT89C5132 zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von Atmel AT89C5132 und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service Atmel finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von Atmel AT89C5132 zu überspringen, wie es bei der Papierform passiert.

Warum sollte man Gebrauchsanleitungen lesen?

In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts Atmel AT89C5132, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.

Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von Atmel AT89C5132 widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.

Inhaltsverzeichnis der Gebrauchsanleitungen

  • Seite 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) –[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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 ............ [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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 ([...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 35

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

  • Seite 36

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

  • Seite 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[...]

  • Seite 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[...]