集成电路.ppt

上传人:laozhun 文档编号:2284267 上传时间:2023-02-09 格式:PPT 页数:39 大小:2.71MB
返回 下载 相关 举报
集成电路.ppt_第1页
第1页 / 共39页
集成电路.ppt_第2页
第2页 / 共39页
集成电路.ppt_第3页
第3页 / 共39页
集成电路.ppt_第4页
第4页 / 共39页
集成电路.ppt_第5页
第5页 / 共39页
点击查看更多>>
资源描述

《集成电路.ppt》由会员分享,可在线阅读,更多相关《集成电路.ppt(39页珍藏版)》请在三一办公上搜索。

1、INTEGRATED CIRCUITS89C51/89C52/89C54/89C5880C51 8-bit microcontroller family4K/8K/16K/32K Flash,Product dataSupersedes data of 1999 Oct 27IC28 Data HandbookPhilipsSemiconductors,2002 Jan 15,2,Philips Semiconductors80C51 8-bit microcontroller family4K/8K/16K/32K FlashDESCRIPTIONThe 89C51/89C52/89C54/

2、89C58 contain a non-volatile FLASHprogram memory that is parallel programmable.For devices that areserial programmable(In-System Programmable(ISP)andIn-Application Programmable(IAP)with a boot loader),see the89C51Rx2 or 89C66x datasheets.SELECTION TABLE FOR FLASH DEVICES,Product data89C51/89C52/89C5

3、4/89C58All three families are Single-Chip 8-bit Microcontrollersmanufactured in advanced CMOS process and are derivatives ofthe 80C51 microcontroller family.All the devices have the sameinstruction set as the 80C51.,MTP devices(this data sheet),ISP/IAP devices(see separate data sheets),89C51,89C52/5

4、4/58,89C51Rx2,89C66x,ROM/EPROM memory sizeRAM size(byte)Parallel programmingIn-System Programming(ISP)In-Application Programming(IAP)PWMProgrammable Timer/Counter(PCA)Hardware Watchdog TimerSerial Channels,4K128yesnononononoUART,8K/16K/32K256yesnononononoUART,16K64K5121KyesyesyesyesyesyesUART,16K64K

5、5128KyesyesyesyesyesyesUART+I2C,MTP=Multi-Time Programming(via parallel programmer)ISP=In-System Programming(via serial interface)IAP=In-Application ProgrammingPlease note that the FLASH programming algorithm for these parts has been modified.Please see the Device Comparison table for details.DEVICE

6、 COMPARISON TABLE,ItemType description,Old devicesP89C5xUBxx/P89C5xUFxx,New devicesP89C5xBx,Reason for changeLetter U dropped for shorter type,descriptions(formerly designatedspeed(033 MHz),Programming algorithm,When using parallel programmer,be sure to select P89C5xUxxxdevices,When using a parallel

7、 program-mer,be sure to select P89C5xBxdevices(no more letter U).IF,Programming algorithm modifica-tion required by process change!,DEVICES ARE NOT YET SE-LECTABLE,ASK YOUR VEN-DOR FOR A SOFTWARE UP-DATE.,Quad Flat Package type,PQFP package(P89C5xUxBB),PQFP package replaced by,Reduction in package h

8、eight,LQFP package(P89C5xBBD).SEE NEW DIMENSIONS ATTHE END OF THIS DATASHEET.,Package identifiersFlash memory program anderase cyclesPower consumption,PLCC=AAPQFP=BBPDIP=PN100 program and erase cyclesActive mode:ICC(MAX)=,PLCC=ALQFP=BDPDIP=P10,000 program and erasecyclesActive mode:ICC(MAX)=,Shorter

9、 type descriptionsProcess change allows more pro-gram and erase cyclesProcess change allows lower,(0.9,FREQ.+20)mA,(0.55,FREQ.+8.0)mA,power consumption,Idle mode:ICC(MAX)=,Idle mode:ICC(MAX)=,2002 Jan 15,(0.37,FREQ.+1.0)mA,(0.3,FREQ.+2.0)mA,8532148 27548,5,5,5,3,Philips Semiconductors80C51 8-bit mic

10、rocontroller family4K/8K/16K/32K FlashFEATURES 80C51 Central Processing Unit On-chip FLASH Program Memory Speed up to 33 MHz Fully static operation RAM expandable externally up to 64 kbytes 4 interrupt priority levels 6 interrupt sources Four 8-bit I/O ports Full-duplex enhanced UART Framing error d

11、etection Automatic address recognitionORDERING INFORMATION,Product data89C51/89C52/89C54/89C58 Three 16-bit timers/counters T0,T1(standard 80C51)andadditional T2(capture and compare)Power control modes Clock can be stopped and resumed Idle mode Power down mode Programmable clock out Second DPTR regi

12、ster Asynchronous port reset Low EMI(inhibit ALE)Wake up from power down by an external interrupt,Type number4K Flash 8K Flash,16K Flash,32K Flash,PackageName,Description,Version,TemperatureRange3(C),VoltageRange(V),Frequency(MHz),version,version,version,version,P89C51BA,P89C52BA,P89C54BA,P89C58BA,P

13、LCC44,plastic leaded chip,SOT187-2,0 to+70,0 to 33,carrier;44 leads,P89C51BP1,P89C52BP1,P89C54BP1,P89C58BP1,DIP40,plastic dual in-line,SOT129-1,0 to+70,0 to 33,P89C51BN2,P89C52BN2,P89C54BN2,P89C58BN2,package;40 leads,P89C51BBD,P89C52BBD,P89C54BBD,P89C58BBD,LQFP44,plastic low profile quad,SOT389-1,0

14、to+70,0 to 33,flat package;44 leads;body 10 x 10 x 1.4 mmNOTES:1.Philips(except North America)Part Order Number2.Philips North America Part Order Number.Note that parts will be marked“P89C5xBP”,respectively(x=1,2,4,8)3.Industrial temperatures will be released with P89C5xX2 devices(see separate data

15、sheet)PART NUMBER DERIVATION,Device number(P89C5x)P89C51P89C52P89C54P89C582002 Jan 15,Temperature rangeB=0 _C to 70 _C,PackageBD=LQFPA=PLCCP=PDIP,4,Philips Semiconductors80C51 8-bit microcontroller family4K/8K/16K/32K Flash,Product data89C51/89C52/89C54/89C58,BLOCK DIAGRAM 1Standard 80C51+CPU4K 32K

16、ByteCode FlashFull-duplex enhancedUART128/256 ByteData RAMTimer 0Timer 1Port 3Configurable I/OsTimer 2Port 2Configurable I/OsPort 1Configurable I/OsPort 0Configurable I/Os,Crystal or,Oscillator,Resonatorsu015542002 Jan 15,INSTRUCTION,REGISTER,5,Philips Semiconductors80C51 8-bit microcontroller famil

17、y4K/8K/16K/32K FlashBLOCK DIAGRAM 2(CPU ORIENTED)P0.0P0.7PORT 0DRIVERSVCCVSS,P2.0P2.7PORT 2DRIVERS,Product data89C51/89C52/89C54/89C58,RAM ADDRREGISTER,RAM,PORT 0LATCH,PORT 2LATCH,FLASH,8,BREGISTER,ACC,STACKPOINTER,PROGRAM,TMP2,ALU,TMP1,SFRs,ADDRESSREGISTERBUFFER,PSW,TIMERS,8,PCINCRE-MENTER,16,PROGR

18、AMCOUNTERPSEN,ALEEAVPPRST,TIMINGANDCONTROL,DPTRSMULTIPLE,PDOSCILLATORXTAL1,XTAL2,PORT 1LATCHPORT 1DRIVERSP1.0P1.7,PORT 3LATCHPORT 3DRIVERSP3.0P3.7,SU010662002 Jan 15,PORT0,SECONDARYFUNCTIONS,PORT1,PORT3,PORT2,2,3,4,5,6,7,8,6,Philips Semiconductors80C51 8-bit microcontroller family4K/8K/16K/32K Flash

19、LOGIC SYMBOL,Product data89C51/89C52/89C54/89C58Ceramic and Plastic Leaded Chip CarrierPin Functions,VCC,VSS,XTAL1,ADDRESS AND,7,6,1,40,39,DATA BUSPLCCXTAL2T2,RSTEA/VPPPSEN,T2EX,17,18,28,29,ALE/PROGRxDTxDINT0,Pin123,FunctionNIC*P1.0/T2P1.1/T2EX,Pin161718,FunctionP3.4/T0P3.5/T1P3.6/WR,Pin313233,Funct

20、ionP2.7/A15PSENALE,INT1T0T1WRRD,ADDRESS BUSSU00830,4567891011121314,P1.2P1.3P1.4P1.5P1.6P1.7RSTP3.0/RxDNIC*P3.1/TxDP3.2/INT0,1920212223242526272829,P3.7/RDXTAL2XTAL1VSSNIC*P2.0/A8P2.1/A9P2.2/A10P2.3/A11P2.4/A12P2.5/A13,3435363738394041424344,NIC*EA/VPPP0.7/AD7P0.6/AD6P0.5/AD5P0.4/AD4P0.3/AD3P0.2/AD2

21、P0.1/AD1P0.0/AD0VCC,PIN CONFIGURATIONS,15,P3.3/INT1,30,P2.6/A14,Dual In-Line Package Pin FunctionsT2/P1.0 140 VCC,*NO INTERNAL CONNECTION,SU01062,T2EX/P1.1 2,39 P0.0/AD0,Low Profile Quad Flat Pack Pin Functions,P1.2 3P1.3 4P1.4 5P1.5 6P1.6 7P1.7 8RST 9,38 P0.1/AD137 P0.2/AD236 P0.3/AD335 P0.4/AD434

22、P0.5/AD533 P0.6/AD632 P0.7/AD7,111,44,LQFP,34,3323,RxD/P3.0 10TxD/P3.1 11,DUALIN-LINEPACKAGE,31 EA/VPP30 ALE,12,22,Pin,Function,Pin,Function,Pin,Function,INT0/P3.2 12INT1/P3.3 13T0/P3.4 14,29 PSEN28 P2.7/A1527 P2.6/A14,1,P1.5P1.6P1.7RST,16171819,VSSNIC*P2.0/A8P2.1/A9,31323334,P0.6/AD6P0.5/AD5P0.4/AD

23、4P0.3/AD3,P3.0/RxD,20,P2.2/A10,35,P0.2/AD2,T1/P3.5 15WR/P3.6 16,26 P2.5/A1325 P2.4/A12,NIC*P3.1/TxDP3.2/INT0,212223,P2.3/A11P2.4/A12P2.5/A13,363738,P0.1/AD1P0.0/AD0VCC,RD/P3.7 17XTAL2 18XTAL1 19VSS 20,24 P2.3/A1123 P2.2/A1022 P2.1/A921 P2.0/A8,9101112131415,P3.3/INT1P3.4/T0P3.5/T1P3.6/WRP3.7/RDXTAL2

24、XTAL1,24252627282930,P2.6/A14P2.7/A15PSENALENIC*EA/VPPP0.7/AD7,394041424344,NIC*P1.0/T2P1.1/T2EXP1.2P1.3P1.4,2002 Jan 15,SU01063,*NO INTERNAL CONNECTION,SU01494,13,I,I,7,Philips Semiconductors80C51 8-bit microcontroller family4K/8K/16K/32K FlashPIN DESCRIPTIONSPIN NUMBER,Product data89C51/89C52/89C5

25、4/89C58,MNEMONICVSSVCCP0.00.7,DIP20403932,LCC22444336,QFP16383730,TYPEIII/O,NAME AND FUNCTIONGround:0 V reference.Power Supply:This is the power supply voltage for normal,idle,and power-down operation.Port 0:Port 0 is an open-drain,bidirectional I/O port.Port 0 pins that have 1s written to,them floa

26、t and can be used as high-impedance inputs.Port 0 is also the multiplexedlow-order address and data bus during accesses to external program and data memory.Inthis application,it uses strong internal pull-ups when emitting 1s.,P1.0P1.7,18,29,4044,I/O,Port 1:Port 1 is an 8-bit bidirectional I/O port w

27、ith internal pull-ups.Port 1 pins that have 1s,written to them are pulled high by the internal pull-ups and can be used as inputs.As inputs,port 1 pins that are externally pulled low will source current because of the internal pull-ups.(See DC Electrical Characteristics:IIL).Alternate function for P

28、ort 1:,12,23,4041,I/OI,T2(P1.0):Timer/Counter2 external count input/clockout(see Programmable Clock-Out).T2EX(P1.1):Timer/Counter2 reload/capture/direction control.,P2.0P2.7,2128,2431,1825,I/O,Port 2:Port 2 is an 8-bit bidirectional I/O port with internal pull-ups.Port 2 pins that have 1s,written to

29、 them are pulled high by the internal pull-ups and can be used as inputs.As inputs,port 2 pins that are externally being pulled low will source current because of the internalpull-ups.(See DC Electrical Characteristics:IIL).Port 2 emits the high-order address byteduring fetches from external program

30、 memory and during accesses to external data memorythat use 16-bit addresses(MOVX DPTR).In this application,it uses strong internalpull-ups when emitting 1s.During accesses to external data memory that use 8-bit addresses(MOV Ri),port 2 emits the contents of the P2 special function register.,P3.0P3.

31、7,1017,11,5,I/O,Port 3:Port 3 is an 8-bit bidirectional I/O port with internal pull-ups.Port 3 pins that have 1s,1319,713,written to them are pulled high by the internal pull-ups and can be used as inputs.As inputs,port 3 pins that are externally being pulled low will source current because of the p

32、ull-ups.(See DC Electrical Characteristics:IIL).Port 3 also serves the special features of the89C51/89C52/89C54/89C58,as listed below:,1011121314151617,1113141516171819,578910111213,IOIIIIOO,RxD(P3.0):Serial input portTxD(P3.1):Serial output portINT0(P3.2):External interruptINT1(P3.3):External inter

33、ruptT0(P3.4):Timer 0 external inputT1(P3.5):Timer 1 external inputWR(P3.6):External data memory write strobeRD(P3.7):External data memory read strobe,RST,9,10,4,I,Reset:A high on this pin for two machine cycles while the oscillator is running,resets the,device.An internal diffused resistor to VSS pe

34、rmits a power-on reset using only an externalcapacitor to VCC.,ALE,30,33,27,O,Address Latch Enable:Output pulse for latching the low byte of the address during an,access to external memory.In normal operation,ALE is emitted at a constant rate of 1/6 theoscillator frequency,and can be used for extern

35、al timing or clocking.Note that one ALEpulse is skipped during each access to external data memory.ALE can be disabled bysetting SFR auxiliary.0.With this bit set,ALE will be active only during a MOVX instruction.,PSEN,29,32,26,O,Program Store Enable:The read strobe to external program memory.When e

36、xecuting,code from the external program memory,PSEN is activated twice each machine cycle,except that two PSEN activations are skipped during each access to external data memory.PSEN is not activated during fetches from internal program memory.,EA/VPP,31,35,29,External Access Enable/Programming Supp

37、ly Voltage:EA must be externally held low,to enable the device to fetch code from external program memory locations 0000H to themaximum internal memory boundary.If EA is held high,the device executes from internalprogram memory unless the program counter contains an address greater than 0FFFH for4 k

38、 devices,1FFFH for 8 k devices,3FFFH for 16 k devices,and 7FFFH for 32 k devices.The value on the EA pin is latched when RST is released and any subsequent changeshave no effect.This pin also receives the 5V/12V(10%)programming supply voltage(VPP)during FLASH programming.,XTAL1,19,21,15,Crystal 1:In

39、put to the inverting oscillator amplifier and input to the internal clock,generator circuits.,XTAL2,18,20,14,O,Crystal 2:Output from the inverting oscillator amplifier.,NOTE:To avoid“latch-up”effect at power-on,the voltage on any pin(other than VPP)at any time must not be higher than VCC+0.5 V orVSS

40、 0.5 V,respectively.2002 Jan 15,*,#,1.,2.,8,Philips Semiconductors80C51 8-bit microcontroller family4K/8K/16K/32K Flash,Product data89C51/89C52/89C54/89C58,Table 1.,89C51/89C52/89C54/89C58 Special Function Registers,SYMBOL,DESCRIPTION,DIRECTADDRESS,MSB,BIT ADDRESS,SYMBOL,OR ALTERNATIVE PORT FUNCTION

41、,LSB,RESETVALUE,ACC*AUXR#AUXR1#B*,AccumulatorAuxiliaryAuxiliary 1B register,E0H8EHA2HF0H,E7F7,E6F6,E5F5,E4F4,E3GF2F3,E20F2,E1F1,E0AODPSF0,00Hxxxxxxx0Bxxxx00 x0B00H,DPTR:,Data Pointer(2 bytes),DPHDPL,Data Pointer HighData Pointer Low,83H82H,00H00H,AF,AE,AD,AC,AB,AA,A9,A8,IE*,Interrupt Enable,A8H,EA,E

42、T2,ES,ET1,EX1,ET0,EX0,0 x000000B,BF,BE,BD,BC,BB,BA,B9,B8,IP*,Interrupt Priority,B8H,PT2,PS,PT1,PX1,PT0,PX0,xx000000B,B7,B6,B5,B4,B3,B2,B1,B0,IPH#,Interrupt Priority High,B7H,PT2H,PSH,PT1H,PX1H,PT0H,PX0H,xx000000B,87,86,85,84,83,82,81,80,P0*,Port 0,80H,AD7,AD6,AD5,AD4,AD3,AD2,AD1,AD0,FFH,97,96,95,94,

43、93,92,91,90,P1*,Port 1,90H,T2EX,T2,FFH,A7,A6,A5,A4,A3,A2,A1,A0,P2*,Port 2,A0H,AD15,AD14,AD13,AD12,AD11,AD10,AD9,AD8,FFH,B7,B6,B5,B4,B3,B2,B1,B0,P3*PCON#1,Port 3Power Control,B0H87H,RDSMOD1,WRSMOD0,T1,T0POF2,INT1GF1,INT0GF0,TxDPD,RxDIDL,FFH00 xxx000B,D7,D6,D5,D4,D3,D2,D1,D0,PSW*,Program Status Word,D

44、0H,CY,AC,F0,RS1,RS0,OV,P,000000 x0B,RACAP2H#RACAP2L#SADDR#SADEN#SBUF,Timer 2 Capture HighTimer 2 Capture LowSlave AddressSlave Address MaskSerial Data Buffer,CBHCAHA9HB9H99H,00H00H00H00HxxxxxxxxB,9F,9E,9D,9C,9B,9A,99,98,SCON*,Serial Control,98H,SM0/FE,SM1,SM2,REN,TB8,RB8,TI,RI,00H,SP,Stack Pointer,8

45、1H,07H,8F,8E,8D,8C,8B,8A,89,88,TCON*,Timer Control,88H,TF1,TR1,TF0,TR0,IE1,IT1,IE0,IT0,00H,CF,CE,CD,CC,CB,CA,C9,C8,T2CON*T2MOD#,Timer 2 ControlTimer 2 Mode Control,C8HC9H,TF2,EXF2,RCLK,TCLK,EXEN2,TR2,C/T2T2OE,CP/RL2DCEN,00Hxxxxxx00B,TH0TH1TH2#TL0TL1TL2#,Timer High 0Timer High 1Timer High 2Timer Low

46、0Timer Low 1Timer Low 2,8CH8DHCDH8AH8BHCCH,00H00H00H00H00H00H,TMOD,Timer Mode,89H,GATE,C/T,M1,M0,GATE,C/T,M1,M0,00H,SFRs are bit addressable.SFRs are modified from or added to the 80C51 SFRs.Reserved bits.Reset value depends on reset source.Bit will not be affected by reset.2002 Jan 15,9,Philips Sem

47、iconductors80C51 8-bit microcontroller family4K/8K/16K/32K FlashFLASH EPROM MEMORYGeneral DescriptionThe 89C51/89C52/89C54/89C58 FLASH reliably stores memorycontents even after 10,000 erase and program cycles.The cell isdesigned to optimize the erase and programming mechanisms.Inaddition,the combina

48、tion of advanced tunnel oxide processing andlow internal electric fields for erase and programming operationsproduces reliable cycling.Features FLASH EPROM internal program memory with Chip Erase Up to 64 k byte external program memory if the internal programmemory is disabled(EA=0)Programmable secu

49、rity bits 10,000 minimum erase/program cycles for each byte 10 year minimum data retention Programming support available from many popular vendors,Product data89C51/89C52/89C54/89C58OSCILLATOR CHARACTERISTICSXTAL1 and XTAL2 are the input and output,respectively,of aninverting amplifier.The pins can

50、be configured for use as anon-chip oscillator.To drive the device from an external clock source,XTAL1 should bedriven while XTAL2 is left unconnected.There are no requirementson the duty cycle of the external clock signal,because the input tothe internal clock circuitry is through a divide-by-two fl

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 建筑/施工/环境 > 项目建议


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号