P87LPC761BN NXP Semiconductors, P87LPC761BN Datasheet
P87LPC761BN
Specifications of P87LPC761BN
Available stocks
Related parts for P87LPC761BN
P87LPC761BN Summary of contents
Page 1
P87LPC761 Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Preliminary specification hilips Semiconductors INTEGRATED CIRCUITS 2002 Mar 07 ...
Page 2
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP GENERAL DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . ...
Page 3
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Mode ...
Page 4
... Name Description Plastic thin shrink small outline package; 16 leads; body P87LPC761BDH TSSOP16 width 4.4 mm P87LPC761BN DIP16 Plastic dual in-line package; 16 leads (300 mil); long body 2002 Mar 07 Six keypad interrupt inputs, plus two additional external interrupt inputs Four interrupt priority levels Watchdog timer with separate on-chip oscillator, requiring no external components ...
Page 5
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP PIN CONFIGURATION, 16-PIN DIP AND TSSOP PACKAGES LOGIC SYMBOL CMP2 CIN2B CIN1B CIN1A CMPREF CMP1 CLKOUT/X2 X1 2002 Mar 07 P0.1/CIN2B 1 16 CMP2/P0.0 ...
Page 6
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP BLOCK DIAGRAM 2 KBYTE CODE EPROM 128 BYTE DATA RAM PORT 2 CONFIGURABLE I/OS PORT 1 CONFIGURABLE I/OS PORT 0 CONFIGURABLE I/OS KEYPAD INTERRUPT ...
Page 7
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP FFFFh UNUSED CODE MEMORY SPACE FCFFh 32-BYTE CUSTOMER CODE SPACE (ACCESSIBLE VIA MOVC) FCE0h UNUSED CODE MEMORY SPACE 0800h 07FFh 2 K BYTES ON-CHIP ...
Page 8
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP PIN DESCRIPTIONS MNEMONIC PIN NO. TYPE P0.0–P0.1 1, 11, I/O Port 0: Port 6-bit I/O port with a user-configurable output type. ...
Page 9
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP SPECIAL FUNCTION REGISTERS Name Description Address ACC* Accumulator Auxiliary Function AUXR1# Register B* B register Comparator 1 control CMP1# register Comparator 2 control CMP2# ...
Page 10
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP SFR Name Description Address KBI# Keyboard Interrupt P0* Port 0 P1* Port 1 P2* Port 2 P0M1# Port 0 output mode 1 P0M2# Port ...
Page 11
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Name Description Address TMOD Timer 0 and 1 mode WDCON# Watchdog control register WDRST# Watchdog reset register NOTES: * SFRs are bit addressable. # ...
Page 12
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP FUNCTIONAL DESCRIPTION Details of P87LPC761 functions will be described in the following sections. Enhanced CPU The P87LPC761 uses an enhanced 80C51 CPU which runs ...
Page 13
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP (P0.4) CIN1A (P0.3) CIN1B (P0.5) CMPREF V ref (P0.1) CIN2B 1. Bit CP2 must be set enable CIN2B. Figure 3. Comparator ...
Page 14
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Internal Reference Voltage An internal reference voltage generator may supply a default reference when a single comparator input pin is used. The value of ...
Page 15
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Serial Interface 2 The I C bus uses two wires (SDA and SCL) to transfer information between devices connected to the ...
Page 16
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP I2CON Address: D8h 1 Bit Addressable 7 READ RDAT ATN CXA IDLE WRITE BIT SYMBOL FUNCTION I2CON.7 RDAT Read: the most recently received data ...
Page 17
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Checking ATN and DRDY When a program detects ATN = 1, it should next check DRDY. If DRDY = 1, then if it receives ...
Page 18
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP I2CFG Address: C8h Bit Addressable 7 6 SLAVEN MASTRQ BIT SYMBOL FUNCTION I2CFG.7 SLAVEN Slave Enable. Writing a 1 this bit enables the slave ...
Page 19
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Table 1. Interaction of TIRUN with SLAVEN, MASTRQ, and MASTER SLAVEN, MASTRQ, TIRUN MASTER 2 The I C interface is disabled. Timer I is ...
Page 20
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP External Interrupt Inputs The P87LPC761 has one individual interrupt input as well as the Keyboard Interrupt function. The latter is described separately in this ...
Page 21
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP I/O Ports The P87LPC761 has 3 I/O ports, port 0, port 1, and port 2. The exact number of I/O pins available depend upon ...
Page 22
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Configuration Open Drain Output The open drain output configuration turns off all pull-ups and only drives the pull-down transistor of the port driver when ...
Page 23
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP P2M1 Address: A4h Not Bit Addressable 7 6 P2S P1S BIT SYMBOL FUNCTION P2M1.7 P2S When P2S = 1, this bit enables Schmitt trigger ...
Page 24
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP P0.6 KBI.6 P0.5 KBI.5 P0.4 KBI.4 P0.3 KBI.3 P0.1 KBI.1 P0.0 KBI.0 KBI Address: 86h Not Bit Addressable 7 6 – KBI.6 BIT SYMBOL ...
Page 25
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Oscillator The P87LPC761 provides several user selectable oscillator options, allowing optimization for a range of needs from high precision to lowest possible cost. These ...
Page 26
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP THE OSCILLATOR MUST BE CONFIGURED IN ONE OF THE FOLLOWING MODES: – LOW FREQUENCY CRYSTAL – MEDIUM FREQUENCY CRYSTAL – HIGH FREQUENCY CRYSTAL CAPACITOR ...
Page 27
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP FOSC2 (UCFG1.2) FOSC1 (UCFG1.1) FOSC0 (UCFG1.0) EXTERNAL CLOCK INPUT INTERNAL RC OSCILLATOR CRYSTAL: LOW FREQUENCY CRYSTAL: MEDIUM FREQUENCY CRYSTAL: HIGH FREQUENCY POWER MONITOR RESET ...
Page 28
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP For correct activation of Brownout Detect, the V no faster than 50 mV/ s. When V is restored, is should not rise DD faster ...
Page 29
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Table 8. Sources of Wakeup from Power Down Mode Wakeup Source Conditions External Interrupt 0 The corresponding interrupt must be enabled. Keyboard Interrupt The ...
Page 30
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Low Voltage EPROM Operation The EPROM array contains some analog circuits that are not required when V is less than 4 V, but are ...
Page 31
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Timer/Counters The P87LPC761 has two general purpose counter/timers which are upward compatible with the standard 80C51 Timer 0 and Timer 1. Both can be ...
Page 32
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Mode 0 Putting either Timer into Mode 0 makes it look like an 8048 Timer, which is an 8-bit Counter with a divide-by-32 prescaler. ...
Page 33
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP OSC/6 OR OSC/12 Mode 1 Mode 1 is the same as Mode 0, except that all 16 bits of the timer register (THn and ...
Page 34
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP OSC OSC/12 T0 PIN C TR0 GATE INT0 PIN Figure 28. Timer/Counter 0 in Mode 2 (8-Bit Auto-Reload) ...
Page 35
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Timer Overflow Toggle Output Timer 0 can be configured to automatically toggle a port output whenever a timer overflow occurs. The same device pins ...
Page 36
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Serial Port Control Register (SCON) The serial port control and status register is the Special Function Register SCON, shown in Figure 31. This register ...
Page 37
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Baud Rates The baud rate in Mode 0 is fixed: Mode 0 Baud Rate = CPU clock/6. The baud rate in Mode 2 depends ...
Page 38
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Table 10. Baud Rates, Timer Values, and CPU Clock Frequencies for SMOD1 = 1 Timer Co nt Timer Count 2400 4800 –1 0.2304 0.4608 ...
Page 39
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP More About UART Mode 0 Serial data enters and exits through RxD. TxD outputs the shift clock. 8 bits are transmitted/received: 8 data bits ...
Page 40
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP WRITE TO SBUF SERIAL PORT INTERRUPT REN RI LOAD SBUF READ SBUF S1 ... S6 S1 ... S6 S1 ...
Page 41
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP TB8 WRITE TO SBUF D TIMER 1 OVERFLOW CL 2 SMOD1 = 0 SMOD1 = 1 16 1-TO-0 TRANSITION DETECTOR RxD P1.1 ALT INPUT ...
Page 42
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP More About UART Modes 2 and 3 Eleven bits are transmitted (through TxD), or received (through RxD): a start bit (0), 8 data bits ...
Page 43
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP WRITE TO SBUF D PHASE 2 CLOCK (1 OSC CL 2 SMOD1 = 0 SMOD1 = 1 16 1-TO-0 TRANSITION DETECTOR BIT ...
Page 44
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP TB8 WRITE TO SBUF S D TIMER 1 OVERFLOW CL 2 SMOD1 = 0 SMOD1 = 1 16 1-TO-0 TRANSITION DETECTOR RxD P1.1 ALT ...
Page 45
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Automatic Address Recognition Automatic Address Recognition is a feature which allows the UART to recognize certain addresses in the serial bit stream by using ...
Page 46
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP 500 kHz RC OSCILLATOR CLOCK OUT ENABLE WDCLK * WDTE STATE CLOCK WDTE + WDRUN WATCHDOG FEED DETECT BOF (PCON.5) POF (PCON.4) Figure 36. ...
Page 47
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Additional Features The AUXR1 register contains several special purpose control bits that relate to several chip features. AUXR1 is described in Figure 38. Software ...
Page 48
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP EPROM Characteristics Programming of the EPROM on the P87LPC761 is accomplished with a serial programming method. Commands, addresses, and data are transmitted to and ...
Page 49
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP UCFG2 Address: FD01h 7 6 SB2 SB1 BIT SYMBOL FUNCTION UCFG2.7, 6 SB2, SB1 EPROM security bits. See table entitled, “EPROM Security Bits” for ...
Page 50
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP ABSOLUTE MAXIMUM RATINGS PARAMETER Operating temperature under bias Storage temperature range Voltage on RST/V pin Voltage on any other pin ...
Page 51
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP DC ELECTRICAL CHARACTERISTICS 6.0 V unless otherwise specified SYMBOL SYMBOL PARAMETER PARAMETER I I Power supply current ...
Page 52
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP COMPARATOR ELECTRICAL CHARACTERISTICS 6.0 V unless otherwise specified SYMBOL SYMBOL PARAMETER PARAMETER V Offset voltage comparator inputs ...
Page 53
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP t XLXL CLOCK t XHQX t QVXH OUTPUT DATA 0 WRITE TO SBUF t XHDV INPUT DATA VALID CLEAR RI V – 0.5 DD ...
Page 54
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP 10,000 1,000 4.0 V 3.3 V 2.7 V 100 1 10 Frequency (MHz) Figure 45. Typical Idd versus frequency (high frequency oscillator ...
Page 55
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP DIP16: plastic dual in-line package; 16 leads (300 mil); long body 2002 Mar 07 52 Preliminary data P87LPC761 SOT38-1 ...
Page 56
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP TSSOP16: plastic thin shrink small outline package; 16 leads; body width 4.4 mm 2002 Mar 07 53 Preliminary data P87LPC761 SOT403-1 ...
Page 57
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP REVISION HISTORY Date CPCN 2002 Mar 07 9397 750 09533 2002 Mar 07 Description Initial release 54 Preliminary data P87LPC761 ...
Page 58
Philips Semiconductors Low power, low price, low pin count (16 pin) microcontroller with 2 kbyte OTP Purchase of Philips I to use the components in the specifications defined by Philips. This specification can be ordered using ...