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.1 Principal features
n 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.
n 256-byte RAM data memory and a 512-byte auxiliary on-chip RAM.
n 512-byte customer Data EEPROM on chip allows serialization of devices, storage of
set-up parameters, etc.
n 8-input multiplexed 10-bit A/D converter. Two analog comparators with selectable
inputs and reference source.
n 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.
n Enhanced UART with fractional baud rate generator, break detect, framing error
detection, and automatic address detection; 400 kHz byte-wide I2C-bus
communication port and SPI communication port.
n CCU provides PWM, input capture, and output compare functions.
n High-accuracy internal RC oscillator option allows operation without external oscillator
components. The RC oscillator option is selectable and fine tunable.
n 2.4 V to 3.6 V VDD operating range. I/O pins are 5 V tolerant (may be pulled up or
driven to 5.5 V).
n 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.
4 kB/8 kB/16 kB byte-erasable flash code memory organized into 1 kB/2 kB sectorsand 64-byte pages. Single-byte erasing allows any byte(s) to be used as non-volatiledata storage.n 256-byte RAM data memory. Both the P89LPC935 and P89LPC936 also include a512-byte auxiliary on-chip RAM.n 512-byte customer data EEPROM on chip allows serialization of devices, storage ofsetup parameters, etc. (P89LPC935/936).n Dual 4-input multiplexed 8-bit A/D converters/DAC outputs (P89LPC935/936, singleA/D on P89LPC933/934).Two analog comparators with selectable inputs andreference source.n Two 16-bit counter/timers (each may be configured to toggle a port output upon timeroverflow or to become a PWM output) and a 23-bit system timer that can also be usedas an RTC.n Enhanced UART with fractional baud rate generator, break detect, framing errordetection, and automatic address detection; 400 kHz byte-wide I2C-buscommunication port and SPI communication port.n Capture/Compare Unit (CCU) provides PWM, inpu...
8 kB byte-erasable Flash code memory organized into 1 kB sectors and 64-bytepages. Single-byte erasing allows any byte(s) to be used as non-volatile data storage.n 256-byte RAM data memory, 512-byte auxiliary on-chip RAM.n 512-byte customer data EEPROM on chip allows serialization of devices, storage ofset-up parameters, etc.n Two analog comparators with selectable inputs and reference source.n Two 16-bit counter/timers (each may be configured to toggle a port output upon timeroverflow or to become a PWM output) and a 23-bit system timer that can also be usedas a Real-Time Clock (RTC).n Enhanced UART with fractional baudrate generator, break detect, framing errordetection, and automatic address detection; 400 kHz byte-wide I2C communicationport and SPI communication port.n Capture/Compare Unit (CCU) provides PWM, input capture, and output comparefunctions.n High-accuracy internal RC oscillator option allows operation without external oscillatorcomponents.The RC oscillator option is...