P87C552SBAA NXP Semiconductors, P87C552SBAA Datasheet
P87C552SBAA
Specifications of P87C552SBAA
Available stocks
Related parts for P87C552SBAA
P87C552SBAA Summary of contents
Page 1
P87C552 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Product data Supersedes data of 1999 Mar 30 hilips Semiconductors INTEGRATED CIRCUITS 2 C, PWM, 2003 ...
Page 2
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power DESCRIPTION The 87C552 Single-Chip 8-Bit Microcontroller is manufactured in an advanced CMOS process and is ...
Page 3
... Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power ORDERING INFORMATION OTP/EPROM P87C552SBAA PART NUMBER DERIVATION DEVICE NUMBER (P87C552) FREQUENCY MAX (S) P87C552 OTP P87C552 OTP BLOCK DIAGRAM T0 T1 INT0 INT1 XTAL1 T0, T1 ...
Page 4
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power PIN CONFIGURATIONS Plastic Leaded Chip Carrier pin functions PLASTIC LEADED ...
Page 5
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power PIN DESCRIPTION PIN NO. MNEMONIC PLCC QFP TYPE STADC 3 ...
Page 6
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power PIN DESCRIPTION (Continued) PIN NO. MNEMONIC PLCC QFP TYPE P4.0-P4.7 7-14 80, 1-2 I/O 4-8 ...
Page 7
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Table 1. 87C552 Special Function Registers DIRECT SYMBOL DESCRIPTION ADDRESS ACC* Accumulator E0H ADCH# A/D ...
Page 8
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power DIRECT SYMBOL DESCRIPTION ADDRESS P1M1 Port 1 output mode 1 92H P1M2 Port 1 output ...
Page 9
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power OSCILLATOR CHARACTERISTICS XTAL1 and XTAL2 are the input and output, respectively inverting amplifier. ...
Page 10
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Table 2. External Pin Status During Idle and Power-Down Modes PROGRAM MODE MEMORY ALE Idle ...
Page 11
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power AUXR Address = 8EH Not Bit Addressable — — Bit Symbol Function AO ...
Page 12
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power AUXR1 Address = A2H Not Bit Addressable ADC8 AIDL Bit Symbol Function DPS ...
Page 13
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Enhanced UART The UART operates in all of the usual modes that are described in ...
Page 14
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power D0 START BIT SM0 / FE SMOD1 SMOD0 0 : S0CON.7 = SM0 1 : ...
Page 15
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power In a more complex system the following could be used to select slaves 1 and ...
Page 16
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power 7 IEN1 (E8H) ET2 ECM2 (MSB) BIT SYMBOL IEN1.7 ET2 IEN1.6 ECM2 IEN1.5 ECM1 IEN1.4 ...
Page 17
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power CT0I INT CTI0 CT0 off f 1/12 osc T2 RT2 T2ER External reset enable S ...
Page 18
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power 7 CTCON (EBH) CTN3 CTP3 (MSB) BIT SYMBOL CTCON.7 CTN3 CTCON.6 CTP3 CTCON.5 CTN2 CTCON.4 ...
Page 19
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power 7 STE (EEH) TG47 TG46 (MSB) BIT SYMBOL STE.7 TG47 STE.6 TG46 STE.5 SP45 STE.4 ...
Page 20
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Timer T3, The Watchdog Timer In addition to Timer T2 and the standard timers, a ...
Page 21
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power During the early stages of software development/debugging, the watchdog may be disabled by tying the ...
Page 22
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power f OSC 1/2 PRESCALER Figure 18. Functional Diagram of Pulse Width Modulated Outputs ADC0 ADC1 ...
Page 23
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power + – DAC FULL SCALE 1/2 V DAC 0 ...
Page 24
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power 2003 Apr PWM, Start of Conversion SOC RESET SAR [BIT POINTER] = ...
Page 25
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power 7 ADCON (C5H) ADC.1 (MSB) Bit Symbol Function ADCON.7 ADC.1 Bit 1 of ADC result ...
Page 26
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power 10-Bit ADC Resolution and Analog Supply: Figure 23 shows how the ADC is realized. The ...
Page 27
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power + ANALOG INPUT ...
Page 28
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Interrupts The 8XC552 has fifteen interrupt sources, each of which can be assigned one of ...
Page 29
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power 7 IEN1 (E8H) ET2 ECM2 (MSB) BIT SYMBOL IEN1.7 ET2 IEN1.6 ECM2 IEN1.5 ECM1 IEN1.4 ...
Page 30
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power 7 IP1 (F8H) PT2 PCM2 (MSB) BIT SYMBOL IP1.7 PT2 IP1.6 PCM2 IP1.5 PCM1 IP1.4 ...
Page 31
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power 2 2 SIO1 Serial I/O: The I C bus uses two wires (SDA ...
Page 32
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power bus P1.7/SDA P1.6/SCL 8XC554 SDA MSB SLAVE ADDRESS SCL ...
Page 33
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power P1.7 INPUT FILTER P1.7/SDA OUTPUT STAGE INPUT FILTER P1.6/SCL OUTPUT STAGE P1.6 Figure 34. I ...
Page 34
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power RBITRATION AND YNCHRONIZATION OGIC In the master transmitter mode, the arbitration logic ...
Page 35
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power ERIAL LOCK ENERATOR This programmable clock pulse generator provides the SCL clock ...
Page 36
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power SDA SCL SHIFT PULSES SDA D7 D6 SCL SHIFT ACK & S1DAT ACK (2) S1DAT ...
Page 37
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power If the STA and STO bits are both set, the a STOP condition is 2 ...
Page 38
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power More Information on SIO1 Operating Modes: The four operating modes are: – Master Transmitter – ...
Page 39
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Ç Ç Ç Ç Ç Ç Ç Ç SUCCESSFUL TRANSMISSION TO A SLAVE RECEIVER Ç ...
Page 40
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Ç Ç Ç Ç Ç Ç Ç Ç SUCCESSFUL RECEPTION S SLA FROM A SLAVE ...
Page 41
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Ç Ç Ç Ç Ç Ç Ç RECEPTION OF THE OWN SLAVE ADDRESS AND ONE ...
Page 42
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Ç Ç Ç Ç Ç Ç Ç Ç RECEPTION OF THE Ç Ç Ç Ç ...
Page 43
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Table 6. Master Transmitter Mode APPLICATION SOFTWARE RESPONSE STATUS STATUS STATUS OF THE STATUS OF ...
Page 44
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Table 7. Master Receiver Mode APPLICATION SOFTWARE RESPONSE 2 2 STATUS STATUS STATUS OF THE ...
Page 45
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Table 8. Slave Receiver Mode APPLICATION SOFTWARE RESPONSE STATUS STATUS STATUS OF THE STATUS OF ...
Page 46
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Table 8. Slave Receiver Mode (Continued) APPLICATION SOFTWARE RESPONSE STATUS STATUS STATUS OF THE STATUS ...
Page 47
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Table 10. Miscellaneous States APPLICATION SOFTWARE RESPONSE STATUS STATUS STATUS OF THE STATUS OF THE ...
Page 48
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power S SLA W A 08H 18H Figure 43. Simultaneous Repeated START Conditions from 2 Masters ...
Page 49
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power STA FLAG (1) SDA LINE SCL LINE (1) Unsuccessful attempt to send a Start condition ...
Page 50
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power S1ADR S1DAT S1STA S1CON PSW IPO IEN0 P1 BACKUP NUMBYTMST SLA HADD STD SRD MRD ...
Page 51
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power ASTER RANSMITTER AND ASTER ECEIVER The master mode is entered ...
Page 52
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power !******************************************************************************************************** ! SI01 EQUATE LIST !******************************************************************************************************** !******************************************************************************************************** ! LOCATIONS OF THE SI01 SPECIAL FUNCTION REGISTERS ...
Page 53
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power !******************************************************************************************************** ! INITIALIZATION ROUTINE ! Example to initialize IIC Interface as slave receiver or slave ...
Page 54
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power !******************************************************************************************************** !******************************************************************************************************** ! MASTER STATE SERVICE ROUTINES !******************************************************************************************************** ! State 08 and State 10 are ...
Page 55
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power !– – – – – – – – – – – – – – – ...
Page 56
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power !******************************************************************************************************** !******************************************************************************************************** ! MASTER RECEIVER STATE SERVICE ROUTINES !******************************************************************************************************** !******************************************************************************************************** !– – – – – ...
Page 57
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power !******************************************************************************************************** !******************************************************************************************************** ! SLAVE RECEIVER STATE SERVICE ROUTINES !******************************************************************************************************** !******************************************************************************************************** !– – – – – ...
Page 58
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power !– – – – – – – – – – – – – – – ...
Page 59
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power !– – – – – – – – – – – – – – – ...
Page 60
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power !– – – – – – – – – – – – – – – ...
Page 61
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power ABSOLUTE MAXIMUM RATINGS PARAMETER Storage temperature range Voltage on EA ...
Page 62
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power DC ELECTRICAL CHARACTERISTICS SYMBOL PARAMETER SYMBOL PARAMETER I ...
Page 63
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power DC ELECTRICAL CHARACTERISTICS (Continued) SYMBOL PARAMETER Analog Inputs (Continued) AV Analog input voltage IN AV ...
Page 64
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power 1023 1022 1021 1020 1019 1018 7 Code Out ...
Page 65
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power AC ELECTRICAL CHARACTERISTICS SYMBOL FIGURE PARAMETER 1/t 48 Oscillator frequency CLCL Speed version t 48 ...
Page 66
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power AC ELECTRICAL CHARACTERISTICS (Continued) SYMBOL PARAMETER Interface (Refer to Figure 55) ...
Page 67
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power EXPLANATION OF THE AC SYMBOLS Each timing symbol has five characters. The first character is ...
Page 68
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power ALE PSEN t LLWL LLAX AVLL A0–A7 PORT 0 FROM RI OR ...
Page 69
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power 2.4V 0.45V NOTE: AC inputs during testing are driven at 2.4V for a logic ‘1’ ...
Page 70
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Figure 56. 16MHz Version Supply Current ...
Page 71
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power CLOCK SIGNAL 2. Idle Mode: a. The following pins must be forced ...
Page 72
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power EPROM CHARACTERISTICS The 87C552 contains three signature bytes that can be read and used by ...
Page 73
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power REVISION HISTORY Rev Date Description _3 20030325 Product data (9397 750 11302); ECN 853-2410 29338 ...
Page 74
Philips Semiconductors 80C51 8-bit microcontroller 8K/256 OTP, 8 channel 10 bit A/D, I capture/compare, high I/O, low voltage (2 5.5 V), low power Purchase of Philips I to use the components in the specifications ...