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

Operating voltage
  • - fSYS =8MHz: 2.5V~4.2V
  • - fSYS =12MHz: 2.7V~4.2V
  • - fSYS =16MHz: 3.3V~4.2V
Up to 0.25μs instruction cycle with 16MHz system clock at VDD =4.2VAvailable
Power down and wake-up functions to reduce power consumptionAvailable
Oscillator types
  • - Internal High Speed 8/12/16MHz RC – HIRC
  • - Internal Low Speed 32kHz RC – LIRC
Multi-mode operation

FAST, SLOW, IDLE and SLEEP

Fully integrated internal oscillators require no external componentsAvailable
All instructions executed in 1~3 instruction cyclesAvailable
Table read instructionsAvailable
115 powerful instructionsAvailable
8-level subroutine nestingAvailable
Bit manipulation instructionAvailable

Peripheral Features

OTP Program Memory

4K×16

Data Memory

256×8

OTP ROM Parameter Program function – ORPPAvailable
Watchdog Timer functionAvailable
11 bidirectional I/O linesAvailable
One external interrupt line shared with I/O pinAvailable
Two Timer Modules for time measurement, capture input, compare match output, PWM output function or single pulse output functionAvailable
Pulse Width Modulator functionAvailable
5 external channel 12-bit resolution A/D converter with Internal Reference Voltage VBGAvailable
Dual Time Base functions for generation of fixed time interrupt signalsAvailable
Low voltage reset functionAvailable
Low voltage detect functionAvailable
Input voltage detect function
  • - Input maximum rating 20V
  • - Over voltage protection
  • - Under voltage lockout
Linear charger
  • - Charging current up to 1A programmed through RSET when VIN =5V
  • - Charger status indication
  • - ±10% charging current regulation in constant current mode
  • - ±1% output voltage regulation in constant voltage mode @ 0℃ to 85℃
  • - Constant temperature regulation
  • - Battery reverse current blocking when VIN input is invalid
2.0V±1% reference voltage outputAvailable
Package type

16-pin NSOP

Resources

TitleDateFile SizeLanguageDownload