BS45F2141

Linear Charger Touch Flash MCU

General Information

The BS45F2141 is a Flash Memory A/D type 8-bit high performance RISC architecture microcontroller, designed especially for 3.7V lithium touch personal care products (electric toothbrushes, shavers, etc.) and 3.7V lithium portable touch electronic products.

For memory features, the Flash Memory offers users the convenience of Flash Memory multiprogramming features. Other memory includes an area of RAM Data Memory as well as an area of true EEPROM memory for storage of non-volatile data such as serial numbers, calibration data etc. By using the In Application Programming technology, user have a convenient means to directly store their measured data in the Flash Program Memory as well as having the ability to easily update their application programs.

Analog feature includes a multi-channel 12-bit A/D converter. Easy communication with the outside world is provided using the internal I2C and UART interfaces. Protective features such as an internal Watchdog Timer, Low Voltage Detector and Low Voltage Reset 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 including fully integrated system oscillators which require no external components for its implementation. The ability to operate and switch dynamically between a range of operating modes using different clock sources gives users the ability to optimise microcontroller operation and minimise power consumption. The inclusion of flexible I/O programming features, Time-Base function, Timer Modules and many other features further enhance device functionality and flexibility.

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 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 STDBY signal and CHRG pin by using the FN signal.

The device will find excellent use in a huge range of 3.7V lithium touch personal care products (electric toothbrushes, shavers, etc.) and 3.7V lithium portable touch electronic products to name but a few.

CPU Features

Operating Voltage
  • - fSYS =8MHz: 1.8V~5.5V
  • - fSYS =12MHz: 2.7V~5.5V
  • - fSYS =16MHz: 3.3V~5.5V
Up to 0.25μs instruction cycle with 16MHz system clock at VDD =5VAvailable
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
6-level subroutine nestingAvailable
Bit manipulation instructionAvailable

Peripheral Features

Flash Program Memory

4K×16

Data Memory

512×8

True EEPROM Memory

512×8

3 touch key functions – fully integrated without requiring external componentsAvailable
Watchdog Timer functionAvailable
In Application Programming function – IAPAvailable
10 bidirectional I/O linesAvailable
Programmable I/O port source current for LED driverAvailable
Single external interrupt line shared with I/O pinAvailable
Multiple Timer Modules for time measurement, input capture, compare match output or PWM output or single pulse output functionAvailable
Dual Time-Base functions for generation of fixed time interrupt signalsAvailable
3 external channel 12-bit resolution A/D converter with internal reference voltage VVRAvailable
I2C interfaceAvailable
Fully-duplex/Half-duplex Universal Asynchronous Receiver and Transmitter Interface – UARTAvailable
Integrated 16-bit Cyclic Redundancy Check function – CRCAvailable
Low voltage reset function – LVRAvailable
Low voltage detect function – LVDAvailable
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°C to 85°C
  • - 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