P87LPC762FN NXP Semiconductors, P87LPC762FN Datasheet
P87LPC762FN
Specifications of P87LPC762FN
Available stocks
Related parts for P87LPC762FN
P87LPC762FN Summary of contents
Page 1
Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP Preliminary data Supersedes data of 2001 Apr 04 IC28 Data Handbook hilips Semiconductors INTEGRATED CIRCUITS 2001 Oct 26 ...
Page 2
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP GENERAL DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . ...
Page 3
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP UART . . . . . . . . . . . . . . . . . . . . . . . ...
Page 4
... Part Number Temperature Range C and Package P87LPC762BN 0 to +70, Plastic Dual In-Line Package P87LPC762BD 0 to +70, Plastic Small Outline Package P87LPC762FN –45 to +85, Plastic Dual In-Line Package P87LPC762FD –45 to +85, Plastic Small Outline Package P87LPC762BDH 0 to +70, Plastic Thin Small Outline Package 2001 Oct 26 Eight keypad interrupt inputs, plus two additional external interrupt inputs ...
Page 5
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP PIN CONFIGURATION, 20-PIN DIP, SO, AND TSSOP PACKAGES LOGIC SYMBOL CMP2 CIN2B CIN2A CIN1B CIN1A CMPREF CMP1 T1 CLKOUT/X2 X1 2001 Oct 26 P0.1/CIN2B ...
Page 6
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP BLOCK DIAGRAM 2 K BYTE CODE EPROM 128 BYTE DATA RAM PORT 2 CONFIGURABLE I/OS PORT 1 CONFIGURABLE I/OS PORT 0 CONFIGURABLE I/OS KEYPAD ...
Page 7
Philips Semiconductors Low power, low price, low pin count (20 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 (20 pin) microcontroller with 2 kbyte OTP PIN DESCRIPTIONS MNEMONIC PIN NO. TYPE P0.0–P0.7 1, 13, 14, I/O Port 0: Port 8-bit I/O port with a user-configurable output ...
Page 9
Philips Semiconductors Low power, low price, low pin count (20 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 (20 pin) microcontroller with 2 kbyte OTP SFR Name Description Address Interrupt priority 1 high IP1H# byte KBI# Keyboard Interrupt P0* Port 0 P1* Port 1 P2* Port 2 P0M1# Port ...
Page 11
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP Name Description Address TL1 Timer 1 low byte TMOD Timer 0 and 1 mode WDCON# Watchdog control register WDRST# Watchdog reset register NOTES: * ...
Page 12
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP FUNCTIONAL DESCRIPTION Details of 87LPC762 functions will be described in the following sections. Enhanced CPU The 87LPC762 uses an enhanced 80C51 CPU which runs ...
Page 13
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP (P0.4) CIN1A (P0.3) CIN1B (P0.5) CMPREF V ref (P0.2) CIN2A (P0.1) CIN2B Figure 3. Comparator Input and Output Connections CPn, CNn, OEn = 0 ...
Page 14
Philips Semiconductors Low power, low price, low pin count (20 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 (20 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 (20 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 (20 pin) microcontroller with 2 kbyte OTP ARL “Arbitration Loss” when transmit Active was set, but this device lost arbitration to another transmitter. Transmit Active is cleared when ARL ...
Page 18
Philips Semiconductors Low power, low price, low pin count (20 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 (20 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 (20 pin) microcontroller with 2 kbyte OTP External Interrupt Inputs The 87LPC762 has two individual interrupt inputs as well as the Keyboard Interrupt function. The latter is described separately elsewhere in ...
Page 21
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP I/O Ports The 87LPC762 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 (20 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 (20 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 (20 pin) microcontroller with 2 kbyte OTP P0.7 KBI.7 P0.6 KBI.6 P0.5 KBI.5 P0.4 KBI.4 P0.3 KBI.3 P0.2 KBI.2 P0.1 KBI.1 P0.0 KBI.0 KBI Address: 86h Not Bit Addressable 7 6 ...
Page 25
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP Oscillator The 87LPC762 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 (20 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 (20 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 (20 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 (20 pin) microcontroller with 2 kbyte OTP Table 8. Sources of Wakeup from Power Down Mode Wakeup Source Conditions External Interrupt The corresponding interrupt must be enabled. Keyboard ...
Page 30
Philips Semiconductors Low power, low price, low pin count (20 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 (20 pin) microcontroller with 2 kbyte OTP Timer/Counters The 87LPC762 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 (20 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 (20 pin) microcontroller with 2 kbyte OTP Mode 1 Mode 1 is the same as Mode 0, except that all 16 bits of the timer register (THn and TLn) are used. ...
Page 34
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP OSC OSC/12 T0 PIN C TR0 GATE INT0 PIN OSC/6 OR OSC/12 Figure 27. Timer/Counter 0 Mode 3 ...
Page 35
Philips Semiconductors Low power, low price, low pin count (20 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 28. This register ...
Page 36
Philips Semiconductors Low power, low price, low pin count (20 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 37
Philips Semiconductors Low power, low price, low pin count (20 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 38
Philips Semiconductors Low power, low price, low pin count (20 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 39
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP WRITE TO SBUF SERIAL PORT INTERRUPT REN RI LOAD SBUF READ SBUF S1 ... S6 S1 ... S6 S1 ...
Page 40
Philips Semiconductors Low power, low price, low pin count (20 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 41
Philips Semiconductors Low power, low price, low pin count (20 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 42
Philips Semiconductors Low power, low price, low pin count (20 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 43
Philips Semiconductors Low power, low price, low pin count (20 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 44
Philips Semiconductors Low power, low price, low pin count (20 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 45
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP 500 kHz R/C OSCILLATOR CLOCK OUT ENABLE WDCLK * WDTE STATE CLOCK WDTE + WDRUN WATCHDOG FEED DETECT BOD (xxx.x) POR (xxx.x) Figure 33. ...
Page 46
Philips Semiconductors Low power, low price, low pin count (20 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 35. Software ...
Page 47
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP EPROM Characteristics Programming of the EPROM on the 87LPC762 is accomplished with a serial programming method. Commands, addresses, and data are transmitted to and ...
Page 48
Philips Semiconductors Low power, low price, low pin count (20 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 49
Philips Semiconductors Low power, low price, low pin count (20 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 50
Philips Semiconductors Low power, low price, low pin count (20 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 51
Philips Semiconductors Low power, low price, low pin count (20 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 52
Philips Semiconductors Low power, low price, low pin count (20 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 42. Typical Idd versus frequency (high frequency oscillator ...
Page 53
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP DIP20: plastic dual in-line package; 20 leads (300 mil) 2001 Oct 26 50 Preliminary data 87LPC762 SOT146-1 ...
Page 54
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP SO20: plastic small outline package; 20 leads; body width 7.5 mm 2001 Oct 26 51 Preliminary data 87LPC762 SOT163-1 ...
Page 55
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP TSSOP20: plastic thin shrink small outline package; 20 leads; body width 4.4 mm 2001 Oct 26 52 Preliminary data 87LPC762 SOT360-1 ...
Page 56
Philips Semiconductors Low power, low price, low pin count (20 pin) microcontroller with 2 kbyte OTP REVISION HISTORY Date CPCN 2001 Oct 26 9397 750 09018 2001 Apr 04 9397 750 08244 2001 Oct 26 Description Removed external components from ...
Page 57
Philips Semiconductors Low power, low price, low pin count (20 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 ...