P80C557E4EFB/01,55 NXP Semiconductors, P80C557E4EFB/01,55 Datasheet
![IC 80C51 MCU 1024 ROMLESS 80QFP](/photos/6/72/67238/80-qfp_sot318-2_pkg_sml.jpg)
P80C557E4EFB/01,55
Specifications of P80C557E4EFB/01,55
P80C557E4FB
P80C557E4FB
Available stocks
Related parts for P80C557E4EFB/01,55
P80C557E4EFB/01,55 Summary of contents
Page 1
P83C557E4/P80C557E4/P89C557E4 Single-chip 8-bit microcontroller Product specification Supersedes data of 1999 Feb 15 INTEGRATED CIRCUITS 1999 Mar 02 ...
Page 2
Philips Semiconductors Single-chip 8-bit microcontroller 1. FEATURES 80C51 central processing unit ROM respectively FEEPROM (Flash-EEPROM), expandable externally to 64 Kbytes ROM/FEEPROM Code protection 1024 8 RAM, expandable externally to 64 Kbytes Two standard 16-bit timer/counters An additional ...
Page 3
Philips Semiconductors Single-chip 8-bit microcontroller 3. ORDERING INFORMATION EXTENDED TYPE NUMBER NAME DESCRIPTION ROMless P80C557E4EBB QFP80 Plastic Quad Flat Pack; 80 leads P80C557E4EFB QFP80 Plastic Quad Flat Pack; 80 leads ROM coded 1 P83C557E4EBB/YYY QFP80 Plastic Quad Flat Pack; 80 ...
Page 4
Philips Semiconductors Single-chip 8-bit microcontroller XTAL1 XTAL2 EA ALE/WE PSEN AVref+ AVref– ADEXS PWM0 PWM1 SCL SDA ADC0-7 CMSR0-5 CMT0 CMT1 RSTIN RSTOUT EW *) only P89C557E4 with alternate function WE 1999 ...
Page 5
Philips Semiconductors Single-chip 8-bit microcontroller 4. PINNING AV 1 ref– ref DD1 P5.7/ADC7 5 6 P5.6/ADC6 P5.5/ADC5 7 8 P5.4/ADC4 P5.3/ADC3 9 P5.2/ADC2 10 P5.1/ADC1 11 P5.0/ADC0 SS1 V ...
Page 6
Philips Semiconductors Single-chip 8-bit microcontroller 4.1 PIN DESCRIPTION SYMBOL PIN DESCRIPTION AV 1 Low end of analog to digital conversion reference resistor ref– High end of analog to digital conversion reference resistor. ref Analog ground for ...
Page 7
Philips Semiconductors Single-chip 8-bit microcontroller PIN DESCRIPTION (Continued) SYMBOL PIN DESCRIPTION P3.0 – P3.7 41 – 48 8-bit quasi-bidirectional I/O port Port pin P3.0 P3.1 P3.2 P3.3 P3.4 P3.5 P3.6 P3.7 N.C. 49 – 50 Not connected pins. XTAL2 51 ...
Page 8
Philips Semiconductors Single-chip 8-bit microcontroller 5. ELECTROMAGNETIC COMPATIBILITY (EMC) IMPROVEMENTS Primary attention was paid on the reduction of electromagnetic emission of the microcontroller P8xC557E4. The following features effect in reducing the electromagnetic emission and additionally improve the electromagnetic susceptibility: Four ...
Page 9
Philips Semiconductors Single-chip 8-bit microcontroller 6.2.1 Program Memory The program memory of the P8xC557E4 consists of 32 Kbytes ROM respectively FEEPROM (”Flash Memory”) on-chip, externally expandable Kbytes. If, during RESET, the EA pin was held HIGH, the ...
Page 10
Philips Semiconductors Single-chip 8-bit microcontroller MOVX @Ri, A MOVX A, @Ri Figure 5. Indirect addressing of AUX-RAM (768 Bytes), ARD bit in PCON = 0 6.2.2.1 AUX-RAM Page Register XRAMP The AUX-RAM Page Register is used to select one of ...
Page 11
Philips Semiconductors Single-chip 8-bit microcontroller Table 5. Special Function Register Memory Map and Reset Values LOW 11111111 11111111 1 SP 00000111 2 DPL 00000000 3 DPH 00000000 ADRSL0 # ADRSL1 ...
Page 12
Philips Semiconductors Single-chip 8-bit microcontroller BYTE ADDRESS (HEX) FFH (MSB) 7F 2FH 2EH 77 2DH 6F 67 2CH 2BH 5F 2AH 57 29H 4F 28H 47 27H 3F 26H 37 25H 2F 24H 27 23H 1F 22H 17 21H 0F ...
Page 13
Philips Semiconductors Single-chip 8-bit microcontroller DIRECT BYTE ADDRESS (HEX) FFH (MSB) PT2 PCM2 FF FE F8H F7 F6 F0H ET2 ECM2 EF EE E8H E0H E7 E6 CR2 ENS1 D8H D0H D7 D6 T2OV CMI2 C8H ...
Page 14
Philips Semiconductors Single-chip 8-bit microcontroller 6.4 I/O Facilities The P8xC557E4 has six 8-bit ports. Ports are the same as in the 80C51, with the exception of the additional functions of Port 1. The parallel I/O function of ...
Page 15
Philips Semiconductors Single-chip 8-bit microcontroller 6.5 Pulse Width Modulated Outputs The P8xC557E4 contains two pulse width modulated output channels (see Figure 13). These channels generate pulses of programmable length and interval. The repetition frequency is defined by an 8-bit prescaler ...
Page 16
Philips Semiconductors Single-chip 8-bit microcontroller 7 PWM1 (FDH) PWM1.7 PWM1.6 Table 8. Description of PWM1 bits BIT LOW/HIGH ration of PWM1 signal = PWM1 CLK 1/2 Figure 13. Functional Diagram of Pulse Width Modulated Outputs. 1999 Mar ...
Page 17
Philips Semiconductors Single-chip 8-bit microcontroller 6.6 Analog/Digital Converter (ADC) The P8xC557E4 A/D Converter is a 10-bit, successive approximation ADC with 8 multiplexed analog input channels. It additionally contains a high input impedance comparator, a DAC built with 1024 series resistors ...
Page 18
Philips Semiconductors Single-chip 8-bit microcontroller ADC0 ADC7 AV ref+ AV ref– AV DD1 AV SS1 ADEXS SCAN LOGIC ADPSS 8 Table 10. Description of ADCON bits SYMBOL BIT FUNCTION ADCON.7 ADPR1 Control bit for the prescaler. ADCON.6 ADPR0 Control bit ...
Page 19
Philips Semiconductors Single-chip 8-bit microcontroller A/D Input Port Scan-Select Register ADPSS The Special Function Register ADPSS contains control bits to select the analog input channel( scanned for A/D conversion. The reset value of ADPSS is (00000000). Its hardware ...
Page 20
Philips Semiconductors Single-chip 8-bit microcontroller Digital Input Port Register P5 Port 5 Special Function Register P5 always represents the binary value of the logic level at input pins P5.0/ADC0...P5.7/ADC7 not affected by chip reset read ...
Page 21
Philips Semiconductors Single-chip 8-bit microcontroller Configuration and Operation 6.6.2 Every A/D conversion is an autoscan conversion. The two user selectable general operation modes are continuous scan and one-time scan mode. The desired analog input port channel/s for conversion is/are selected ...
Page 22
Philips Semiconductors Single-chip 8-bit microcontroller When Timer Mode 3, Timer 1 can be programmed to operate in Modes but cannot set an interrupt request flag or generate an interrupt. However the overflow from ...
Page 23
Philips Semiconductors Single-chip 8-bit microcontroller 7 TCON (88H) TF1 Figure 20. Timer/Counter mode control (TCON) register. Table 14. Description of TCON bits SYMBOL BIT TF1 TCON.7 Timer 1 overflow flag. Set by hardware on Timer/Counter overflow. Cleared by hardware when ...
Page 24
Philips Semiconductors Single-chip 8-bit microcontroller 6.7.2 Timer T2 Timer bit timer/counter which has capture and compare facilities. The operational diagram is shown in Figure 21. The 16 bit timer/counter is clocked via a prescaler with a ...
Page 25
Philips Semiconductors Single-chip 8-bit microcontroller 7 TM2CON (EAH) T2IS1 Table 15. Description of TM2CON bits SYMBOL BIT T2IS1 TM2CON.7 Timer T2 16-bit overflow interrupt select T2IS0 TM2CON.6 Timer T2 byte overflow interrupt select T2ER TM2CON.5 Timer T2 external reset enable. ...
Page 26
Philips Semiconductors Single-chip 8-bit microcontroller 7 CTCON (EBH) CTN3 Table 18. Description of CTCON bits SYMBOL BIT CTN3 CTCON.7 Capture Register 3 triggered by a falling edge on CT3I CTP3 CTCON.6 Capture Register 3 triggered by a rising edge on ...
Page 27
Philips Semiconductors Single-chip 8-bit microcontroller 7 STE (EEH) TG47 Table 20. Description of STE bits SYMBOL BIT FUNCTION TG47 STE.7 If “1” then P4.7 is reset on the next toggle, if LOW P4.7 is set on the next toggle TG46 ...
Page 28
Philips Semiconductors Single-chip 8-bit microcontroller 6.8 Watchdog Timer T3 In addition to Timer T2 and the standard timers, a watchdog timer (T3) consisting of an 11-bit prescaler and an 8-bit timer is also incorporated (see Figure 27). The timer is ...
Page 29
Philips Semiconductors Single-chip 8-bit microcontroller 6.9 Serial I/O The P8xC557E4 is equipped with two independent serial ports: SIO0 and SI01. SIO0 is the full duplex UART port, identical to the 2 PCB80C51 serial port. SIO1 C-bus serial ...
Page 30
Philips Semiconductors Single-chip 8-bit microcontroller Table 23. Description of S0CON bits SM0 SM1 6.9.2 SIO1 (I C-bus Interface) The SIO1 of the P8xC557E4 provides the fast-mode, which allows a fourthfold increase ...
Page 31
Philips Semiconductors Single-chip 8-bit microcontroller SDA ARBITRATION + SYNC LOGIC SCL Figure 29. Block diagram of I 1999 Mar 02 P83C557E4/P80C557E4/P89C557E4 7 1 SLAVE ADDRESS S1ADR 7 SHIFT REGISTER S1DAT BUS CLOCK GENERATOR 7 S1CON 7 S1STA 2 C serial ...
Page 32
Philips Semiconductors Single-chip 8-bit microcontroller The Control Register, S1CON: The CPU can read from and write to this 8-bit, directly addressable SFR. Two bits are affected by the SIO1 hardware: the SI bit is set when a serial interrupt is ...
Page 33
Philips Semiconductors Single-chip 8-bit microcontroller When SIO1 master mode serial clock frequency is determined by the clock rate bits CR2, CR1 and CR0. The various bit rates are shown in Table 25. 2 Selection of I C-bus ...
Page 34
Philips Semiconductors Single-chip 8-bit microcontroller Table 28. MST/REC mode S1STA VALUE 38H Arbitration lost while returning ACK 40H SLA and R have been transmitted, ACK received 48H SLA and R have been transmitted, ACK received 50H DATA has been received, ...
Page 35
Philips Semiconductors Single-chip 8-bit microcontroller The data shift register S1DAT This register contains the serial data to be transmitted or data which has been received. Bit 7 is transmitted or received first; i.e., data is shifted from right to left. ...
Page 36
Philips Semiconductors Single-chip 8-bit microcontroller 6.10 Interrupt System External events and the real-time-driven on-chip peripherals require service by the CPU asynchronously to the execution of any particular section of code. To tie the asynchronous activities of these functions to normal ...
Page 37
Philips Semiconductors Single-chip 8-bit microcontroller The polling cycle is repeated with every machine cycle, and the values polled are the values present at S5P2 of the previous machine cycle. Note that if an interrupt flag is active but is not ...
Page 38
Philips Semiconductors Single-chip 8-bit microcontroller Interrupt enable registers Interrupt sources Source enable INT0 External Interrupt Request Serial Port ADC Timer 0 Overflow CT0I Timer 2 Capture 0 Timer 2 Compare 0 External INT1 Interrupt Request 1 ...
Page 39
Philips Semiconductors Single-chip 8-bit microcontroller 7 IEN1 (E8H) ET2 Table 34. Description of IEN1 bits SYMBOL BIT ET2 IEN1.7 Enable T2 overflow interrupt(s) ECM2 IEN1.6 Enable T2 comparator 2 interrupt ECM1 IEN1.5 Enable T2 comparator 1 interrupt ECM0 IEN1.4 Enable ...
Page 40
Philips Semiconductors Single-chip 8-bit microcontroller 7 IP1 (F8H) PT2 Table 36. Description of IP1 bits SYMBOL BIT PT2 IP1.7 T2 overflow interrupt(s) priority level PCM2 IP1.6 T2 comparator 2 interrupt priority level PCM1 IP1.5 T2 comparator 1 interrupt priority level ...
Page 41
Philips Semiconductors Single-chip 8-bit microcontroller 7 PCON (87H) SMOD Table 39. Description of PCON bits SYMBOL BIT SMOD PCON.7 Double Baud rate bit. When set to logic 1 the baud rate is doubled when the serial port SIO0 is being ...
Page 42
Philips Semiconductors Single-chip 8-bit microcontroller 32 kHz XTAL4 Seconds timer 3.5 to XTAL1 16 MHz Figure 40. Idle and Power Down Hardware for Clock Generation Internal timing stopped Power-down Mode oscillator start_up oscillator stopped XTAL1,2 32 kHz oscillator stopped running ...
Page 43
Philips Semiconductors Single-chip 8-bit microcontroller 6.11.3 Power-down Mode The instruction that sets PCON.1 is the last executed prior to going into the Power-down Mode. Once in Power-down Mode, the HF oscillator is stopped. The 32 kHz oscillator may stay running. ...
Page 44
Philips Semiconductors Single-chip 8-bit microcontroller 6.13 32kHz PLL Oscillator with Seconds Timer 6.13.1 XTAL3,4 Oscillator Circuitry The input signal SELXTAL1 connected to logic “0” selects the 32kHz oscillator together with the PLL instead of the XTAL1,2 oscillator, which is halted. ...
Page 45
Philips Semiconductors Single-chip 8-bit microcontroller 6.13.4 Seconds Timer This counter provides an overflow signal every second, when the 32kHz oscillator is running. The overflow output sets the interrupt flag SECINT. This interrupt can be disabled/enabled by ENSECI. If SECINT is ...
Page 46
Philips Semiconductors Single-chip 8-bit microcontroller 6.14 Reset Circuitry The reset input pin RSTIN is connected to a Schmitt trigger for noise reduction (see Figure 46). Is the HF-oscillator selected a Reset is accomplished by holding the RSTIN pin HIGH for ...
Page 47
Philips Semiconductors Single-chip 8-bit microcontroller 7. INSTRUCTION SET The P8xC557E4 uses the powerful instruction set of the PCB80C51. It consists of 49 single-byte, 45 two-byte and 17 three-byte instructions. Using a 16 MHz quartz the instructions are executed ...
Page 48
Philips Semiconductors Single-chip 8-bit microcontroller Table 43. 80C51 Instruction Set Summary MNEMONIC ARITHMETIC OPERATIONS ADD A,Rn Add register to Accumulator ADD A,direct Add direct byte to Accumulator ADD A,@Ri Add indirect RAM to Accumulator ADD A,#data Add immediate data to ...
Page 49
Philips Semiconductors Single-chip 8-bit microcontroller Table 43. 80C51 Instruction Set Summary (Continued) MNEMONIC LOGICAL OPERATIONS (Continued) XRL A,#data Exclusive-OR immediate data to Accumulator XRL direct,A Exclusive-OR Accumulator to direct byte XRL direct,#data Exclusive-OR immediate data to direct byte CLR A ...
Page 50
Philips Semiconductors Single-chip 8-bit microcontroller Table 43. 80C51 Instruction Set Summary (Continued) MNEMONIC BOOLEAN VARIABLE MANIPULATION CLR C Clear carry CLR bit Clear direct bit SETB C Set carry SETB bit Set direct bit CPL C Complement carry CPL bit ...
Page 51
Philips Semiconductors Single-chip 8-bit microcontroller Table 44. Instruction map P8xC557E4 NOP AJMP LJMP addr11 addr16 1 JBC ACALL LCALL bit, rel addr11 addr16 2 JB AJMP RET bit, rel addr11 3 JNB ACALL RETI bit, rel ...
Page 52
Philips Semiconductors Single-chip 8-bit microcontroller 8. FLASH EEPROM 8.1 General 32 Kbytes electrically erasable internal program memory with Block-and Page-Erase option (”Flash Memory”). Internal fixed boot ROM Kbytes external program memory in combination with the internal FEEPROM ...
Page 53
Philips Semiconductors Single-chip 8-bit microcontroller External Program Memory ( 7FFFH Security Byte External Program Internal Memory Program Memory ( ( X the program execution ...
Page 54
Philips Semiconductors Single-chip 8-bit microcontroller 7 FMCON (FB) UBS1 NOTE: 1. Reserved for future use; a write operation must write “0” to the location. Table 45. Description of FMCON bits UBS1 UBS0 User - Boot selection bits 0 0 User ...
Page 55
Philips Semiconductors Single-chip 8-bit microcontroller Example of user software (internal or external) that calls the Page Erase routine in the boot ROM to erase a page in the FEEPROM (32 bytes) starting at address location 1260H. CLR EA ; Disable ...
Page 56
Philips Semiconductors Single-chip 8-bit microcontroller 1 DON’T CARE 4-6MHz 1 A0– 4-6MHz 1 A0- 4-6MHz 1999 Mar 02 P83C557E4/P80C557E4/P89C557E4 +5 V SELXTAL1 RSTIN EA P3.6 ALE/WE P3.7 ...
Page 57
Philips Semiconductors Single-chip 8-bit microcontroller FEEPROM PROGRAMMING AND VERIFICATION CHARACTERISTICS T = – + 10%, V amb DD SYMBOL PARAMETER 1/t System clock frequency (standard oscillator) CLK t Address setup to WE LOW ...
Page 58
Philips Semiconductors Single-chip 8-bit microcontroller ALL OTHER PINS ARE DON’T CARE 32.768 kHz 1) Alternative XTAL1, 2 may be selected (SELXTAL1 = 1) Figure 54. Serial programming (boot mode) Configuration 8.6 Serial Programming of FEEPROM Serial in-circuit programming (boot-mode) is ...
Page 59
Philips Semiconductors Single-chip 8-bit microcontroller Definitions: : – Record start character BC – Byte Count. The hexadecimal number of data bytes in the record. This may theoretically be any number from 0 to 255, although many assemblers prefer to deal ...
Page 60
Philips Semiconductors Single-chip 8-bit microcontroller 10. DC CHARACTERISTICS DC ELECTRICAL CHARACTERISTICS 10%), +70 C (P8xC557E4EBx). All voltages with respect amb SYMBOL PARAMETER V Supply ...
Page 61
Philips Semiconductors Single-chip 8-bit microcontroller DC ELECTRICAL CHARACTERISTICS (Continued 10%), – +85 C (P8xC557E4EFx amb DC parameters not included here are the same as in ...
Page 62
Philips Semiconductors Single-chip 8-bit microcontroller NOTES FOR DC ELECTRICAL CHARACTERISTICS: 1. See Figures 55 and 57 through 59 for The operating supply current is measured with all output pins disconnected; XTAL1 driven with ...
Page 63
Philips Semiconductors Single-chip 8-bit microcontroller (mA (1) Maximum operating mode P89C557E4 (2) Maximum operating mode P83C557E4/P80C557E4 (3) Maximum Idle Mode P89C557E4 (4) Maximum Idle Mode P83C557E4/P80C557E4 Figure 55. Supply Current (I 1999 ...
Page 64
Philips Semiconductors Single-chip 8-bit microcontroller 1023 1022 1021 1020 1019 1018 7 Code Out Offset error OS e (1) Example of an actual transfer curve. (2) The ideal transfer ...
Page 65
Philips Semiconductors Single-chip 8-bit microcontroller 11. AC CHARACTERISTICS AC ELECTRICAL CHARACTERISTICS 10% (EBx min = 1/fmax (maximum operating frequency CLK 10% (EFx ...
Page 66
Philips Semiconductors Single-chip 8-bit microcontroller AC ELECTRICAL CHARACTERISTICS (Continued) SYMBOL PARAMETER Interface timing (refer to Figure 63) f SCL clock frequency SCL t Bus free time between a STOP and START condition BUF t Hold time (repeated) ...
Page 67
Philips Semiconductors Single-chip 8-bit microcontroller V IH1 2.4 V 2.0 V Test Points 0.8 V 0.45 V NOTE: AC inputs during testing are driven at 2.4V for a logic ‘HIGH’ and 0.45V for a logic ‘LOW’. Timing measurements are made ...
Page 68
Philips Semiconductors Single-chip 8-bit microcontroller ALE PSEN t LLWL RD t LLAX t AVLL A0–A7 PORT 0 FROM RI OR DPL t AVWL PORT 2 ALE PSEN t LLWL LLAX AVLL A0–A7 PORT 0 FROM RI OR ...
Page 69
Philips Semiconductors Single-chip 8-bit microcontroller START or repeated START condition t RD SDA (INPUT/OUTPUT SCL (INPUT/OUTPUT HD;STA LOW HIGH INSTRUCTION 0 1 ALE t XLXL CLOCK t t QVXH OUTPUT DATA 0 WRITE ...
Page 70
Philips Semiconductors Single-chip 8-bit microcontroller XTAL1 INPUT ALE dotted lines are valid when are active PSEN only active during a read RD from external data memory only active WR during a write to external ...
Page 71
Philips Semiconductors Single-chip 8-bit microcontroller QFP80: plastic quad flat package; 80 leads (lead length 1.95 mm); body 2.7 mm; high stand-off height 1999 Mar 02 P83C557E4/P80C557E4/P89C557E4 71 Product specification SOT318-1 ...
Page 72
Philips Semiconductors Single-chip 8-bit microcontroller Data sheet status Data sheet Product Definition status status Objective Development This data sheet contains the design target or goal specifications for product development. specification Specification may change in any manner without notice. Preliminary Qualification ...