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
| Attribute | Value |
|---|---|
| Operating Voltage |
|
| Up to 0.25μs instruction cycle with 16MHz system clock at VDD =5V | 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 |
| 6-level subroutine nesting | Available |
| Bit manipulation instruction | Available |
Peripheral Features
| Attribute | Value |
|---|---|
| Flash Program Memory | 4K×16 |
| Data Memory | 512×8 |
| True EEPROM Memory | 512×8 |
| 3 touch key functions – fully integrated without requiring external components | Available |
| Watchdog Timer function | Available |
| In Application Programming function – IAP | Available |
| 10 bidirectional I/O lines | Available |
| Programmable I/O port source current for LED driver | Available |
| Single external interrupt line shared with I/O pin | Available |
| Multiple Timer Modules for time measurement, input capture, compare match output or PWM output or single pulse output function | Available |
| Dual Time-Base functions for generation of fixed time interrupt signals | Available |
| 3 external channel 12-bit resolution A/D converter with internal reference voltage VVR | Available |
| I2C interface | Available |
| Fully-duplex/Half-duplex Universal Asynchronous Receiver and Transmitter Interface – UART | Available |
| Integrated 16-bit Cyclic Redundancy Check function – CRC | Available |
| Low voltage reset function – LVR | Available |
| Low voltage detect function – LVD | 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 |
|---|