P89LPC938 NXP Semiconductors, P89LPC938 Datasheet

no-image

P89LPC938

Manufacturer Part Number
P89LPC938
Description
The P89LPC938 is a single-chip microcontroller, available in low cost packages, based ona high performance processor architecture that executes instructions in two to four clocks,six times the rate of standard 80C51 devices
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC9381FA,112
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89LPC9381FDH,512
Manufacturer:
LT
Quantity:
2 340
Part Number:
P89LPC9381FDHЈ¬512
Manufacturer:
PH3
Quantity:
1 122
Part Number:
P89LPC938FA
Manufacturer:
ST
Quantity:
760
Part Number:
P89LPC938FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P89LPC938FA,129
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89LPC938FAЈ¬129
Manufacturer:
NXP
Quantity:
1 503
Part Number:
P89LPC938FDH
Manufacturer:
IR
Quantity:
21 000
Part Number:
P89LPC938FDH
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
P89LPC938FDH
Quantity:
8 158
1. General description
2. Features
2.1 Principal features
The P89LPC938 is a single-chip microcontroller, available in low cost packages, based on
a high performance processor architecture that executes instructions in two to four clocks,
six times the rate of standard 80C51 devices. Many system-level functions have been
incorporated into the P89LPC938 in order to reduce component count, board space, and
system cost.
P89LPC938
8-bit microcontroller with accelerated two-clock 80C51 core
8 kB 3 V byte-erasable Flash with 10-bit A/D converter
Rev. 01 — 25 February 2005
8 kB byte-erasable Flash code memory organized into 1 kB sectors and 64-byte
pages. Single-byte erasing allows any byte(s) to be used as non-volatile data storage.
256-byte RAM data memory and a 512-byte auxiliary on-chip RAM.
512-byte customer Data EEPROM on chip allows serialization of devices, storage of
set-up parameters, etc.
8-input multiplexed 10-bit A/D converter. Two analog comparators with selectable
inputs and reference source.
Two 16-bit counter/timers (each may be configured to toggle a port output upon timer
overflow or to become a PWM output) and a 23-bit system timer that can also be used
as a RTC.
Enhanced UART with fractional baud rate generator, break detect, framing error
detection, and automatic address detection; 400 kHz byte-wide I
communication port and SPI communication port.
CCU provides PWM, input capture, and output compare functions.
High-accuracy internal RC oscillator option allows operation without external oscillator
components. The RC oscillator option is selectable and fine tunable.
2.4 V to 3.6 V V
driven to 5.5 V).
28-pin TSSOP, PLCC, and HVQFN packages with 23 I/O pins minimum and up to 26
I/O pins while using on-chip oscillator and reset options.
DD
operating range. I/O pins are 5 V tolerant (may be pulled up or
Product data sheet
2
C-bus

Related parts for P89LPC938

P89LPC938 Summary of contents

Page 1

... The P89LPC938 is a single-chip microcontroller, available in low cost packages, based on a high performance processor architecture that executes instructions in two to four clocks, six times the rate of standard 80C51 devices. Many system-level functions have been incorporated into the P89LPC938 in order to reduce component count, board space, and system cost. 2. Features 2 ...

Page 2

... Controlled slew rate port outputs to reduce EMI. Outputs have approximately 10 ns minimum ramp times. Only power and ground connections are required to operate the P89LPC938 when internal reset option is selected. Four interrupt priority levels. Eight keypad interrupt inputs, plus two additional external interrupt inputs. ...

Page 3

... Ordering information Table 1: Type number P89LPC938FA P89LPC938FDH P89LPC938FHN 3.1 Ordering options Table 2: Type number P89LPC938FA P89LPC938FDH P89LPC938FHN 9397 750 14051 Product data sheet 8-bit microcontroller with 10-bit A/D converter Ordering information Package Name Description PLCC28 plastic leaded chip carrier; 28 leads TSSOP28 plastic thin shrink small outline package; ...

Page 4

... DATA RAM 512-BYTE 512-BYTE DATA EEPROM PORT 3 PORT 2 PORT 1 PORT 0 KEYPAD INTERRUPT CPU clock ON-CHIP RC OSCILLATOR OSCILLATOR Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter TXD UART RXD SCL 2 I C-BUS SDA SPICLK MOSI SPI MISO SS REAL-TIME CLOCK/ SYSTEM TIMER ...

Page 5

... Philips Semiconductors 5. Functional diagram KBI0 AD05 KBI1 AD00 KBI2 AD01 KBI3 AD02 KBI4 AD03 KBI5 KBI6 KBI7 CLKOUT Fig 2. P89LPC938 functional diagram. 9397 750 14051 Product data sheet 8-bit microcontroller with 10-bit A/D converter CMP2 CIN2B CIN2A CIN1B PORT 0 CIN1A CMPREF CMP1 T1 ...

Page 6

... P1.3/INT0/SDA 11 12 P1.2/T0/SCL 13 P2.2/MOSI P2.3/MISO 14 5 P1.6/OCB P1.5/RST P3.1/XTAL1 8 P89LPC938FA 9 P3.0/XTAL2/CLKOUT P1.4/INT1 10 P1.3/INT0/SDA 11 PLCC28 pin configuration. Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter 28 P2.7/ICA 27 P2.6/OCA 26 P0.1/CIN2B/KBI1/AD00 25 P0.2/CIN2A/KBI2/AD01 24 P0.3/CIN1B/KBI3/AD02 23 P0.4/CIN1A/KBI4/AD03 22 P0.5/CMPREF/KBI5 P0.6/CMP1/KBI6 19 P0.7/T1/KBI7 18 P1.0/TXD 17 P1 ...

Page 7

... KBI0 — Keyboard input 0. I AD05 — ADC0 channel 5 analog input. I/O P0.1 — Port 0 bit 1. I CIN2B — Comparator 2 positive input B. I KBI1 — Keyboard input 1. I AD00 — ADC0 channel 0 analog input. Rev. 01 — 25 February 2005 P89LPC938 21 P0.2/CIN2A/KBI2/AD01 20 P0.3/CIN1B/KBI3/AD02 19 P0.4/CIN1A/KBI4/AD03 18 P0.5/CMPREF/KBI5 ...

Page 8

... P1.2 — Port 1 bit 2 (open-drain when used as output). I/O T0 — Timer/counter 0 external count input or overflow output (open-drain when used as output). 2 I/O SCL — serial clock input/output. Rev. 01 — 25 February 2005 P89LPC938 Section 7.13.1 “Port for details. © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 9

... I/O P2.3 — Port 2 bit 3. I/O MISO — When configured as master, this pin is input, when configured as slave, this pin is output. Rev. 01 — 25 February 2005 P89LPC938 has reached its DD will fall below DD Section 7.13.1 “Port configurations” for details. ...

Page 10

... RTC/system timer. I Ground reference. I Power Supply: This is the power supply voltage for normal operation as well as Idle and Power-down modes. Rev. 01 — 25 February 2005 P89LPC938 Section 7.13.1 “Port configurations” for details. © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 11

... Philips Semiconductors 7. Functional description Remark: Please refer to the P89LPC938 User’s Manual for a more detailed functional description. 7.1 Special function registers Remark: SFR accesses are restricted in the following ways: • User must not attempt to access any SFR locations not defined. • Accesses to any defined SFR locations must be strictly for the functions for the SFRs. ...

Page 12

... Table 4: P89LPC938 Special function registers * indicates SFRs that are bit addressable. Name Description SFR addr. Bit address ACC* Accumulator E0H AD0CON ADC0 control register 97H AD0INS ADC0 input select A3H AD0MOD ADC0 mode register A C0H A AD0MOD ADC0 mode register B A1H B AUXR1 ...

Page 13

... Table 4: P89LPC938 Special function registers * indicates SFRs that are bit addressable. Name Description SFR addr. DPTR Data pointer (2 bytes) DPH Data pointer high 83H DPL Data pointer low 82H FMADRH Program Flash address high E7H FMADRL Program Flash address low E6H ...

Page 14

... Table 4: P89LPC938 Special function registers * indicates SFRs that are bit addressable. Name Description SFR addr. IP0H Interrupt priority 0 high B7H Bit address IP1* Interrupt priority 1 F8H IP1H Interrupt priority 1 high F7H IP2 Interrupt priority 2 D6H IP2H Interrupt priority 2 high D7H KBCON ...

Page 15

... Table 4: P89LPC938 Special function registers * indicates SFRs that are bit addressable. Name Description SFR addr. P1* Port 1 90H Bit address P2* Port 2 A0H Bit address P3* Port 3 B0H P0M1 Port 0 output mode 1 84H P0M2 Port 0 output mode 2 85H P1M1 Port 1 output mode 1 91H P1M2 ...

Page 16

... Table 4: P89LPC938 Special function registers * indicates SFRs that are bit addressable. Name Description SFR addr. SP Stack pointer 81H SPCTL SPI control register E2H SPSTAT SPI status register E1H SPDAT SPI data register E3H TAMOD Timer 0 and 1 auxiliary mode 8FH Bit address ...

Page 17

... All ports are in input only (high-impedance) state after power-up. [3] The RSTSRC register reflects the cause of the P89LPC938 reset. Upon a power-up reset, all reset source flags are cleared except POF and BOF; the power-on reset value is xx110000. [4] The only reset source that affects these SFRs is power-on reset. ...

Page 18

... Table 5: P89LPC938 extended special function registers Name Description ADC0HBND ADC0 high _boundary register, left (MSB) ADC0LBND ADC0 low_boundary register (MSB) AD0DAT0R ADC0 data register 0, right (LSB) AD0DAT0L ADC0 data register 0, left (MSB) AD0DAT1R ADC0 data register 1, right (LSB) AD0DAT1L ADC0 data register 1, left (MSB) ...

Page 19

... RC oscillator, watchdog oscillator, external clock input on X1) and if the RTC is not using the crystal oscillator as its clock source. This allows external devices to synchronize to the P89LPC938. This output is enabled by the ENCLK bit in the TRIM register. 9397 750 14051 ...

Page 20

... Idle mode, it may be turned off prior to entering Idle, saving additional power. 7.4 On-chip RC oscillator option The P89LPC938 has a 6-bit TRIM register that can be used to tune the frequency of the RC oscillator. During reset, the TRIM value is initialized to a factory pre-programmed value to adjust the oscillator frequency to 7.373 MHz, End-user applications can write to the TRIM register to adjust the on-chip RC oscillator to other frequencies ...

Page 21

... Low power select The P89LPC938 is designed to run at 12 MHz (CCLK) maximum. However, if CCLK is 8 MHz or slower, the CLKLP SFR bit (AUXR1.7) can be set to ‘1’ to lower the power consumption further. On any reset, CLKLP is ‘0’ allowing highest performance access. ...

Page 22

... CODE Code memory space, accessed as part of program execution and via the MOVC instruction. The P89LPC938 has on-chip Code memory. The P89LPC938 also has 512 bytes of on-chip Data EEPROM that is accessed via SFRs (see Section 7.27 “Data 7.11 Data RAM arrangement ...

Page 23

... LOW in the next cycle, the interrupt request flag IEn in TCON is set, causing an interrupt request external interrupt is enabled when the P89LPC938 is put into Power-down or Idle mode, the interrupt will cause the processor to wake-up and resume operation. Refer to Section 7.15 “Power reduction modes” ...

Page 24

... Philips Semiconductors 7.13 I/O ports The P89LPC938 has four I/O ports: Port 0, Port 1, Port 2, and Port 3. Ports 0, 1and 2 are 8-bit ports, and Port 2-bit port. The exact number of I/O pins available depends upon the clock and reset options chosen, as shown in Table 7: Number of I/O pins available ...

Page 25

... Pin P1.5 is input only. Pins P1.2 and P1.3 and are configurable for either input-only or open-drain. Every output on the P89LPC938 has been designed to sink typical LED drive current. However, there is a maximum total output current for all ports which must not be exceeded. Please refer to specifi ...

Page 26

... RTC is enabled. 9397 750 14051 Product data sheet (see Table 10 “DC electrical bo rises above the P89LPC938 device is to operate with a power supply that DD bo Table 10 “DC electrical characteristics” DD Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter characteristics” ...

Page 27

... For any other reset, previously set flag bits that have not been cleared will remain set. 7.16.1 Reset vector Following reset, the P89LPC938 will fetch instructions from either address 0000h or the Boot address. The Boot address is formed by using the Boot Vector as the high byte of the address and the low byte of the address = 00h ...

Page 28

... RTC/system timer The P89LPC938 has a simple RTC that allows a user to continue running an accurate timer while the rest of the device is powered-down. The RTC can be a wake- interrupt source. The RTC is a 23-bit down counter comprised of a 7-bit prescaler and a 16-bit loadable down counter. When it reaches all ‘ ...

Page 29

... The capture event can be programmed to be either rising or falling edge triggered. A simple noise filter can be enabled on the input capture by enabling the Input 9397 750 14051 Product data sheet 8-bit microcontroller with 10-bit A/D converter Rev. 01 — 25 February 2005 P89LPC938 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 30

... Product data sheet 8-bit microcontroller with 10-bit A/D converter TOR2 compare value timer value 0x0000 non-inverted inverted TOR2 compare value timer value 0 non-inverted inverted Rev. 01 — 25 February 2005 P89LPC938 002aaa893 002aaa894 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 31

... Since N ranges 15, the CCLK frequency can be in the range of PCLK to 9397 750 14051 Product data sheet 8-bit microcontroller with 10-bit A/D converter PLCK = ----------------- - Rev. 01 — 25 February 2005 P89LPC938 TOR2 COMPARE VALUE A (or C) COMPARE VALUE B (or D) TIMER VALUE 0 PWM OUTPUT A (or C) (P2.6) PWM OUTPUT B (or D) (P1.6) 002aaa895 Equation PCLK 16 © ...

Page 32

... TOCF2D (TIFR2.6) Fig 11. Capture/Compare Unit interrupts. 7.20 UART The P89LPC938 has an enhanced UART that is compatible with the conventional 80C51 UART except that Timer 2 overflow cannot be used as a baud rate source. The P89LPC938 does include an independent Baud Rate Generator. The baud rate can be selected from the oscillator (divided by a constant), Timer 1 overfl ...

Page 33

... Section 7.20.5 “Baud rate generator and 7.20.5 Baud rate generator and selection The P89LPC938 enhanced UART has an independent Baud Rate Generator. The baud rate is determined by a baud-rate preprogrammed into the BRGR1 and BRGR0 SFRs which together form a 16-bit baud rate divisor value that works in a similar manner as Timer 1 but is much more accurate ...

Page 34

... If double buffering is enabled, TB8 must be updated before SBUF is written, as TB8 will be double-buffered together with SBUF data. 9397 750 14051 Product data sheet bit (bit 8) in double buffering (Modes 1, 2 and 3) Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 35

... C-bus interface that supports data transfers up to 400 kHz C-bus P1.3/SDA P1.2/SCL P89LPC938 2 C-bus configuration. Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter Figure 13. The P89LPC938 device provides OTHER DEVICE OTHER DEVICE 2 2 WITH I C-BUS WITH I C-BUS ...

Page 36

... FILTER OUTPUT STAGE timer 1 overflow I2CON P1.2 I2SCLH I2SCLL status bus I2STAT 2 C-bus serial interface block diagram. Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter 8 I2ADR ADDRESS REGISTER COMPARATOR SHIFT REGISTER ACK I2DAT 8 BIT COUNTER / ARBITRATION & TIMING SYNC LOGIC ...

Page 37

... Philips Semiconductors 7.22 SPI The P89LPC938 provides another high-speed serial communication interface—the SPI interface. SPI is a full-duplex, high-speed, synchronous communication bus with two operation modes: Master mode and Slave mode Mbit/s can be supported in either Master or Slave mode. It has a Transfer Completion Flag and Write Collision Flag Protection ...

Page 38

... SHIFT MOSI REGISTER SPICLK SPI CLOCK PORT GENERATOR master MISO 8-BIT SHIFT MOSI REGISTER SPICLK SPI CLOCK SS GENERATOR Rev. 01 — 25 February 2005 P89LPC938 slave MISO 8-BIT SHIFT MOSI REGISTER SPICLK SS 002aaa901 slave MISO 8-BIT SHIFT MOSI REGISTER SPICLK SPI CLOCK SS ...

Page 39

... Product data sheet 8-bit microcontroller with 10-bit A/D converter master MISO 8-BIT SHIFT MOSI REGISTER SPICLK SPI CLOCK port GENERATOR port Rev. 01 — 25 February 2005 P89LPC938 slave MISO 8-BIT SHIFT MOSI REGISTER SPICLK SS slave MISO 8-BIT SHIFT MOSI REGISTER SPICLK ...

Page 40

... Philips Semiconductors 7.23 Analog comparators Two analog comparators are provided on the P89LPC938. Input and output options allow use of the comparators in a number of different configurations. Comparator operation is such that the output is a logical one (which may be read in a register and/or routed to a pin) when the positive input (one of two selectable pins) is greater than the negative input (selectable from a pin or an internal reference voltage). Otherwise the output is a zero. Each comparator may be confi ...

Page 41

... In order to set the flag and cause an interrupt, the pattern on Port 0 must be held longer than 6 CCLKs. 9397 750 14051 Product data sheet 8-bit microcontroller with 10-bit A/D converter Rev. 01 — 25 February 2005 P89LPC938 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 42

... Feeding the watchdog requires a two-byte sequence. If PCLK is selected as the watchdog clock and the CPU is powered-down, the watchdog is disabled. The watchdog timer has a time-out period that ranges from a few few seconds. Please refer to the P89LPC938 User’s Manual for more details. MOV WFEED1, #0A5H MOV WFEED2, #05AH ...

Page 43

... Philips Semiconductors 7.27 Data EEPROM The P89LPC938 has 512 bytes of on-chip Data EEPROM. The Data EEPROM is SFR based, byte readable, byte writable, and erasable (via row fill and sector fill). The user can read, write and fill the memory via SFRs and one interrupt. This Data EEPROM provides 100,000 minimum erase/program cycles for each byte. • ...

Page 44

... Philips Semiconductors 7.28.3 Flash organization The program memory consists of eight 1 kB sectors on the P89LPC938 devices. Each sector can be further divided into 64-byte pages. In addition to sector erase, page erase, and byte erase, a 64-byte page register is included which allows from bytes of a given page to be programmed at the same time, substantially reducing overall programming time ...

Page 45

... Power-on reset code execution The P89LPC938 contains two special Flash elements: the Boot Vector and the Boot Status Bit. Following reset, the P89LPC938 examines the contents of the Boot Status Bit. If the Boot Status Bit is set to zero, power-up execution starts at location 0000H, which is the normal start address of the user’ ...

Page 46

... Some user-configurable features of the P89LPC938 must be defined at power-up and therefore cannot be set by the program after start of execution. These features are configured through the use of the Flash byte UCFG1. Please see the P89LPC938 User’s Manual for additional details. ...

Page 47

... Product data sheet 8-bit microcontroller with 10-bit A/D converter comp + INPUT MUX – Rev. 01 — 25 February 2005 P89LPC938 SAR CONTROL LOGIC 8 DAC1 CCLK 002aab103 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 48

... MSBs of the conversion meet the interrupt criteria (i.e., outside the boundary limits) an interrupt will be generated, if enabled. If the four MSBs do not meet the interrupt 9397 750 14051 Product data sheet 8-bit microcontroller with 10-bit A/D converter Rev. 01 — 25 February 2005 P89LPC938 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 49

... In Power-down mode or Total Power-down mode, the A/D does not function. If the A/D is enabled, it will consume power. Power can be reduced by disabling the A/D. 9397 750 14051 Product data sheet 8-bit microcontroller with 10-bit A/D converter Rev. 01 — 25 February 2005 P89LPC938 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 50

... Parameters are valid over operating temperature range unless otherwise specified. All voltages are with respect to V otherwise noted. 9397 750 14051 Product data sheet 8-bit microcontroller with 10-bit A/D converter [1] Conditions SS based on package heat transfer, not device power consumption Table 10 “DC electrical characteristics” Rev. 01 — 25 February 2005 P89LPC938 Min Max Unit 55 +125 C 65 +150 0.5 ...

Page 51

... 2 push-pull mode, all ports mA 2 push-pull mode, all ports [ th(HL Rev. 01 — 25 February 2005 P89LPC938 [1] Typ Max 0. 0.5 - 0.3V DD 0.6V 0. 5 0.6 1.0 0.2 0.3 0 ...

Page 52

... Product data sheet …continued Conditions 2.4 V < V < 3.6 V; with DD BOV = 1, BOPD = 0 specifications are measured using an external clock with the following functions disabled: comparators, for steady state (non-transient) limits on I Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter [1] Min Typ 2.40 - 1.11 1. ...

Page 53

... Figure 22 - see Figure 22 - see Figure 22 150 0 - see Figure 24, 25, 26 CCLK 4 CCLK see Figure 26, 27 250 see Figure 26, 27 250 Rev. 01 — 25 February 2005 P89LPC938 MHz osc Max Min Max 7.557 7.189 7.557 520 320 520 125 ...

Page 54

... Figure 26 see Figure 24, 25, 26 see Figure 24, 0 25, 26, 27 see Figure 24, 25, 26 see Figure 24, 25, 26 Rev. 01 — 25 February 2005 P89LPC938 MHz osc Max Min Max - 165 - - 250 - - 165 - - 250 - - 100 - - 100 - 120 0 120 240 - 240 240 - ...

Page 55

... Figure 22 - see Figure 22 - see Figure 22 150 0 - see Figure 24, 25, 26 CCLK 4 CCLK see Figure 26, 27 250 see Figure 26, 27 250 Rev. 01 — 25 February 2005 P89LPC938 MHz osc Max Min Max 7.557 7.189 7.557 520 320 520 125 ...

Page 56

... Figure 26 see Figure 24, 25, 26 see Figure 24, 0 25, 26, 27 see Figure 24, 25, 26 see Figure 24, 25, 26 Rev. 01 — 25 February 2005 P89LPC938 MHz osc Max Min Max - 111 - - 167 - - 111 - - 167 - - 100 - - 100 - 160 - 160 160 - 160 ...

Page 57

... XHDX valid valid valid valid 0 0 CHCL CLCX Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter set TI valid valid valid valid set RI t CHCX t CLCH T cy(CLK) 002aaa907 © Koninklijke Philips Electronics N.V. 2005. All rights reserved. ...

Page 58

... SPIF SPIR t SPICLKL t SPICLKH t t SPIDSU SPIDH MSB/LSB SPIDV SPIOH master MSB/LSB out Rev. 01 — 25 February 2005 P89LPC938 SPIR LSB/MSB SPIDV SPIR master LSB/MSB out 002aaa908 LSB/MSB in t SPIDV t SPIDV t SPIR master LSB/MSB out 002aaa909 © Koninklijke Philips Electronics N.V. 2005. All rights reserved. ...

Page 59

... SPIR t SPICLKL t SPICLKH t SPIR t SPICLKL t SPICLKH t SPIOH t SPIDV slave MSB/LSB out t t SPIDSU SPIDH MSB/LSB in Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter t SPILAG t SPIOH slave LSB/MSB out not defined t t SPIDSU SPIDH LSB/MSB in 002aaa910 t SPIR t SPILAG t SPIOH t SPIDV ...

Page 60

... LI [1] This parameter is characterized, but not tested in production. 9397 750 14051 Product data sheet Conditions active time Conditions 0 < V < Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter Min Typ 002aaa912 Min Typ Max - - ...

Page 61

... ADC clock cycle cy(ADC) t conversion time ADC 9397 750 14051 Product data sheet 8-bit microcontroller with 10-bit A/D converter Conditions Min kHz to 100 kHz - - 111 A/D enabled - Rev. 01 — 25 February 2005 P89LPC938 Typ Max Unit 0 0 LSB - 1 LSB - 2 LSB - LSB ...

Page 62

... 0.81 11.58 11.58 10.92 10.92 12.57 1.27 0.66 11.43 11.43 9.91 9.91 12.32 0.032 0.456 0.456 0.43 0.43 0.495 0.05 0.026 0.450 0.450 0.39 0.39 0.485 REFERENCES JEDEC JEITA MS-018 EDR-7319 Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter detail max. 12.57 1.22 1.44 0.18 0.18 0.1 2 ...

Page 63

... Product data sheet 2.5 scale (1) ( 0.30 0.2 9.8 4.5 0.65 0.19 0.1 9.6 4.3 REFERENCES JEDEC JEITA MO-153 Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter detail 6.6 0.75 0.4 1 0.2 0.13 6.2 0.50 0.3 EUROPEAN PROJECTION © ...

Page 64

... 6.1 4.25 6.1 4.25 0.65 3.9 3.9 5.9 3.95 5.9 3.95 REFERENCES JEDEC JEITA MO-220 - - - Rev. 01 — 25 February 2005 P89LPC938 8-bit microcontroller with 10-bit A/D converter detail 0.75 0.05 0.1 0.1 0.05 0.50 EUROPEAN PROJECTION © Koninklijke Philips Electronics N.V. 2005. All rights reserved. ...

Page 65

... In-System Programming Light Emitting Diode Phase-Locked Loop Pulse Width Modulator Random Access Memory Resistance-Capacitance Real-Time Clock Successive Approximation Register Special Function Register Serial Peripheral Interface Universal Asynchronous Receiver/Transmitter Rev. 01 — 25 February 2005 P89LPC938 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 66

... P89LPC938_1 20050225 9397 750 14051 Product data sheet 8-bit microcontroller with 10-bit A/D converter Data sheet status Change notice Product data sheet - Rev. 01 — 25 February 2005 P89LPC938 Doc. number Supersedes 9397 750 14051 - © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 67

... Rev. 01 — 25 February 2005 P89LPC938 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 68

... Flash program memory 7.29 User configuration bytes . . . . . . . . . . . . . . . . . 46 7.30 User sector security bytes . . . . . . . . . . . . . . . 46 8 A/D converter . . . . . . . . . . . . . . . . . . . . . . . . . . 46 8.1 General description 8.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 8.3 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . 47 P89LPC938 8-bit microcontroller with 10-bit A/D converter 8.4 A/D operating modes . . . . . . . . . . . . . . . . . . . 47 8.5 Conversion start modes . . . . . . . . . . . . . . . . . 48 8.6 Boundary limits interrupt . . . . . . . . . . . . . . . . 48 8.7 Clock divider 8.8 Power-down and Idle mode . . . . . . . . . . . . . . 49 9 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 50 10 Static characteristics ...

Related keywords