The H854/65 is a single-chip microcontroller, which is available in low cost packages, and is designed around a high performance processor architecture that executes instructions in two to four clocks, six times the rate of standard 80C51 devices. In order to reduce component count, board space, and system cost, many system-level functions have been incorporated into the device.
Features
- Input multiplexed 8-bit ADC/single DAC output. Two analog comparators with selectable inputs and reference source.
- A 23-bit system timer that may also be used as real-time clock comprised of a 7-bit prescaler and a programmable and readable 16-bit timer.
- Two 16-bit counter/timers. Timer 0 (and Timer 1 - P89LPC9171) may be configured to toggle a port output upon timer overflow or to become a PWM output.
- Enhanced UART with a fractional baud rate generator, break detect, framing error detection, and automatic address detection; 400 kHz byte-wide I2C-bus communication port.
- SPI communication port (P89LPC9161).
- 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).
- Enhanced low voltage (brownout) detect allows a controlled system shutdown when power fails.
- 16-pin TSSOP with 12 I/O pins minimum and up to 14 I/O pins while using on-chip oscillator and reset options (P89LPC9161/9171), and 14-pin TSSOP packages with 10 I/O pins minimum and up to 12 I/O pins while using on-chip oscillator and reset options (P89LPC9151).
Additional features
- A high performance 80C51 CPU provides instruction cycle times of 111 ns to 222 ns for all instructions except multiply and divide when executing at 18 MHz. This is six times the performance of the standard 80C51 running at the same clock frequency. A lower clock frequency for the same performance means power savings and reduced EMI.
- In-Application Programming (IAP-Lite) and byte erase allows code memory to be used for non-volatile data storage.
- Serial flash In-Circuit Programming (ICP) allows simple production coding using commercial EPROM programmers. Flash security bits prevent reading of sensitive application programs