HT45F5QC-5
Battery Charger Flash MCU with CAN Bus
General Information
The HT45F5QC-5 is a Flash Memory A/D type 8-bit high performance RISC architecture microcontroller especially designed for battery charger and CAN bus applications.
For memory features, the Flash Memory offers users the convenience of Flash Memory multi-programming 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 function. Multiple and extremely flexible Timer Modules provide timing, pulse generation and PWM generation functions. Protective features such as an internal Watchdog Timer 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 low and high speed oscillators is provided including two fully integrated system oscillators which 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 optimise microcontroller operation and minimise power consumption.
For AC/DC charger applications, the device includes a battery charger management module, which can be used for the constant voltage and constant current closed loop charging control. The device therefore reduces the need for the usually required external TL431 component, operational amplifier and resistance analogic D/A Converter in traditional battery charging circuits. Therefore the peripheral circuit is more reduced, resulting in a smaller PCB area.
The charger management module is composed of two parts. The first part contains two groups of OPAs and D/A Converters, which are used to control the charging voltage and current. The upper limit value of the charger constant current and constant voltage can be obtained by configuring the D/A Converters in the software. The 14-bit D/A Converter is used for constant current control while another 14-bit D/A Converter is used for constant voltage control. The second part of the charger management contains an operational amplifier with the gain of 20 or 40 which is used for current amplification. This improves the current resolution and allows the use of smaller current detection resistors thus reducing the resistor power consumption.
The D/A Converter in the charger management module is not only used for setting charging voltage and current, but also can be used together with the specific charger production fixtures for improving the traditional manual calibration techniques. By using the external production fixtures, the charger current voltage/current conditions can be confirmed. If the margin of errors is exceeded, the MCU will correct the error by fine tuning the D/A Converter, and store the corrected parameters to EEPROM. When the charger is recharged, the D/A Converter will be given a new correction value to implement correction purpose. Refer to the Holtek application notes for more details.
The device includes a fully integrated CAN (Controller Area Network) bus controller. The CAN Module licensed from Bosch supports the CAN 2.0 Part A and B protocol specifications and compatible with the ISO11898-1 standards. This CAN Module abbreviated as C_CAN. It is capable of transmitting and receiving standard and extended messages. It is also capable of both acceptance filtering and message handler and includes 32 Message Objects which can be concatenated to configure FIFO buffer with different depth.
The inclusion of flexible I/O programming features, Time Base functions along with many other features, further enhance device functionality and flexibility for wide range of application possibilities.
CPU Features
| Attribute | Value |
|---|---|
| Operating Voltage | fSYS =8MHz: 2.2V~5.5V |
| Up to 0.5μs instruction cycle with 8MHz system clock at VDD =5V | Available |
| Power down and wake-up functions to reduce power consumption | Available |
| Oscillator Types |
|
| Fully integrated internal oscillators require no external components | Available |
| Multi-mode operation | FAST, SLOW, IDLE and SLEEP |
| 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 |
|---|---|
| Flash Program Memory | 8K×16 |
| Data Memory | 512×8 |
| True EEPROM Memory | 512×8 |
| In Application Programming function – IAP | Available |
| Watchdog Timer function | Available |
| 16 bidirectional I/O lines | Available |
| 2 external interrupt lines shared with I/O pins | Available |
| Multiple Timer Modules for time measure, input capture, compare match output, PWM output function or single pulse output function | Available |
| Dual Time Base functions for generation of fixed time interrupt signals | Available |
| 9 external channel 12-bit resolution A/D converter with Internal Reference Voltage VVR | Available |
| Battery charger circuit |
|
| Integrated 16-bit Cyclic Redundancy Check function – CRC | Available |
| Low voltage reset function | Available |
| Package types | 28-pin SSOP, 32-pin QFN |
CAN Bus Controller Features
| Attribute | Value |
|---|---|
| Operating Voltage | 3.0V~5.5V |
| Oscillator Type | High Speed External Crystal – HXT |
| Sleep Mode and Idle Mode | Available |
| 32-byte Write Buffer with Data Check Unit | Available |
| Clock Out pin with programmable prescaler | Available |
| Interrupt output pins with selectable active level configuration | Available |
| Conforms to ISO11898-1 and CAN 2.0A/B | Available |
| 32 Message Objects | Available |
| Each Message Object has its own identifier mask | Available |
| Programmable FIFO mode - concatenation of Message Objects | Available |
| Maskable interrupt | Available |
| Programmable loop-back mode for self-test operation | Available |
| Support the SOF (Start of Frame) signal output | Available |
| 32×139-bit Message Memory | Available |
Resources
| Title | Date | File Size | Language | Download |
|---|