HT45R2140
Linear Charger OTP MCU
General Information
This device is an OTP type 8-bit high performance RISC architecture microcontroller, designed for cost-effective product applications.
For memory features, the device is supplied with One-Time Programmable, OTP memory. Other memory includes an area of RAM Data Memory.
Analog features include a multi-channel 12-bit A/D converter function. With regard to internal timers, the device includes multiple and extremely flexible Timer Modules providing functions for timing, pulse generation and PWM generation operations. Protective features such as an internal Watchdog Timer, Low Voltage Reset and Low Voltage Detector coupled with excellent noise immunity and ESD protection ensure that reliable operation is maintained in hostile electrical environments.
A full choice of internal high and low speed oscillators are provided and the two fully integrated system oscillators require no external components for their implementation. The ability to operate and switch dynamically between a range of operating modes using different clock sources gives users the ability to optimize microcontroller operation and minimize power consumption.
The device includes the functions of input over/under voltage protection, linear charger, charger status indication, reference voltage output, etc. It supports a maximum input rating of up to 20V to overcome unexpected high voltage from the USB input. The linear charger provides an up to 1A charging current for the Li-ion battery. The reference voltage function is used by the MCU for measuring battery voltage and current. The device uses a two-line communication interface to select different function, such as to control the linear charger and reference voltage function, or to read the charging status and control the CHRG pin by using the FN signal.
The inclusion of flexible I/O programming features, Time-Base functions along with many other features further enhance device functionality and flexibility. The device also includes a 16-bit PWM control circuit, which is used to generate a PWM output signal and an adjustable PWM duty. The device is especially suitable for electric toothbrushes, electric shavers and UV LEDs and so on.
CPU Features
| Attribute | Value |
|---|---|
| Operating voltage |
|
| Up to 0.25μs instruction cycle with 16MHz system clock at VDD =4.2V | Available |
| Power down and wake-up functions to reduce power consumption | Available |
| Oscillator types |
|
| Multi-mode operation | FAST, SLOW, IDLE and SLEEP |
| Fully integrated internal oscillators require no external components | Available |
| All instructions executed in 1~3 instruction cycles | Available |
| Table read instructions | Available |
| 115 powerful instructions | Available |
| 8-level subroutine nesting | Available |
| Bit manipulation instruction | Available |
Peripheral Features
| Attribute | Value |
|---|---|
| OTP Program Memory | 4K×16 |
| Data Memory | 256×8 |
| OTP ROM Parameter Program function – ORPP | Available |
| Watchdog Timer function | Available |
| 11 bidirectional I/O lines | Available |
| One external interrupt line shared with I/O pin | Available |
| Two Timer Modules for time measurement, capture input, compare match output, PWM output function or single pulse output function | Available |
| Pulse Width Modulator function | Available |
| 5 external channel 12-bit resolution A/D converter with Internal Reference Voltage VBG | Available |
| Dual Time Base functions for generation of fixed time interrupt signals | Available |
| Low voltage reset function | Available |
| Low voltage detect function | Available |
| Input voltage detect function |
|
| Linear charger |
|
| 2.0V±1% reference voltage output | Available |
| Package type | 16-pin NSOP |
Resources
| Title | Date | File Size | Language | Download |
|---|