HT32F61730

32-Bit Arm® Cortex®-M0+ BMS MCU

General Information

The Holtek HT32F61730 device is a high performance, low power consumption 32-bit microcontroller based around an Arm® Cortex®-M0+ processor core. The Cortex®-M0+ is a next-generation processor core which is tightly coupled with Nested Vectored Interrupt Controller (NVIC), SysTick timer and including advanced debug support.

The device operates at a frequency of 16 MHz to obtain maximum efficiency. It provides 32 KB of embedded Flash memory for code/data storage and 2 KB of embedded SRAM memory for system operation and application program usage. A variety of peripherals, such as ADC, I2C, UART, SPI, SCTM, BFTM, LEDC, RTC, WDT and SW-DP (Serial Wire Debug Port), etc., are also implemented in the device. Several power saving modes provide the flexibility for maximum optimization
between wakeup latency and power consumption, an especially important consideration in low power applications.

The device also has an individual cell voltage monitor module, a high accuracy voltage regulator, two discharge N-type MOSFET gate drivers and a charge N-type MOSFET gate driver, which is suitable for 3 to 8 rechargeable lithium batteries. The cell voltage monitor is designed to monitor each battery cell voltage individually and outputs the divide-by-2 voltage to the analog multiplexer with ±7.5 mV accuracy when analog output is 2.1 V. After being selected by an analog multiplexer, the output voltage is directly connected to the internal A/D converter for measurement. The integrated high accuracy VREFO is 2.5 V (maximum drift ±15 mV). The internal gate drivers can directly drive external power N-type MOSFETs to control charge and discharge. It also has functions of differential amplifier to detect charge/discharge current, hardware discharge short-current protection and overtemperature protection and so on. The integrated battery balance circuitry provides a cell balance current without the need of external transistors.

The above features ensure that the device is suitable for use in a wide range of applications, especially in areas such as handheld measurement instruments, electric power tools, handheld hair dryers, handheld vacuum cleaners in addition to many others.

Feature Details

Core
  • 32-bit Arm® Cortex®-M0+ processor core
  • Up to 16 MHz operating frequency
  • Single-cycle multiplication
  • Integrated Nested Vectored Interrupt Controller (NVIC)
  • 24-bit SysTick timer
On-chip Memory
  • 32 KB on-chip Flash memory for instruction/data and option byte storage
  • 2 KB on-chip SRAM
  • Supports multiple boot modes
Flash Memory Controller – FMC
  • 32-bit word programming with In System Programming Interface (ISP) and In Application Programming (IAP)
  • Flash protection capability to prevent illegal access

Reset Control Unit – RSTCU

Supply supervisor
  • - Power On Reset / Power Down Reset – POR / PDR
  • - Brown-out Detector – BOD
  • - Programmable Low Voltage Detector – LVD

Feature Details

Clock Control Unit – CKCU
  • External 4 to 16 MHz crystal oscillator
  • External 32.768 kHz crystal oscillator
  • Internal 16 MHz RC oscillator trimmed to ±1 % accuracy at 25 °C operating temperature
  • Internal 32 kHz RC oscillator
  • Independent clock divider and gating bits for peripheral clock sources

Power Management Control Unit – PWRCU

Single VDD power supply

2.5 V ~ 5.5 V

Integrated 1.5 V LDO regulator for MCU core, peripherals and memories power supplyAvailable
Two power domains

VDD and VCORE power domains

Three power saving modes

Sleep, Deep-Sleep1, Deep-Sleep2

Feature Details

External Interrupt / Event Controller – EXTI
  • Up to 8 EXTI lines with configurable trigger source and type
  • All GPIO pins can be selected as EXTI trigger source
  • Source trigger type includes high level, low level, negative edge, positive edge or both edges
  • Individual interrupt enable, wakeup enable and status bits for each EXTI line
  • Software interrupt trigger mode for each EXTI line
  • Integrated deglitch filter for short pulse blocking
Analog to Digital Converter – ADC
  • 12-bit SAR ADC engine
  • Up to 500 ksps conversion rate
  • Up to 7 external analog input channels
I/O Ports – GPIO
  • Up to 23 GPIOs
  • Port A, B, C are mapped to 8-line EXTI interrupts
  • Almost all I/O pins have configurable output driving current
Single-Channel Timer – SCTM
  • 16-bit auto-reload up-counter
  • One channel for each timer
  • 8-bit programmable prescaler that allows division of the prescaler clock source by any factor between 1 and 256 to generate the counter clock frequency
  • One input Capture function
  • Two compare Match Output
  • PWM waveform generation with Edge-aligned counting Mode
  • Single Pulse Mode Output
Basic Function Timer – BFTM
  • 16-bit compare match up-counter – no I/O control
  • One shot mode – counter stops counting when compare match occurs
  • Repetitive mode – counter restarts when compare match occurs
Watchdog Timer – WDT
  • 12-bit down-counter with 3-bit prescaler
  • Provides reset to the system
  • Programmable watchdog timer window function
  • Register write protection function
Real-Time Clock – RTC
  • 24-bit up-counter with a programmable prescaler
  • Alarm function
  • Interrupt and Wake-up event
Inter-integrated Circuit – I2C
  • Supports both master and slave modes with a frequency of up to 1 MHz
  • Supports 7-bit addressing mode and general call addressing
  • Supports two 7-bit slave addresses

Serial Peripheral Interface – SPI

Supports both master and slave modesAvailable
Frequency of up to (fPCLK/2) MHz for the master mode and (fPCLK/3) MHz for the slave modeAvailable
Programmable data frame length up to 8 bitsAvailable
FIFO Depth

4 levels

Universal Asynchronous Receiver Transmitter – UART

Asynchronous serial communication operating baud-rate clock frequency up to (fPCLK/16) MHzAvailable
Full duplex communicationAvailable
Fully programmable serial communication characteristics including:
  • - Word length: 7, 8 or 9-bit character
  • - Parity: Even, odd or no-parity bit generation and detection
  • - Stop bit: 1 or 2 stop bits generation
  • - Bit order: LSB-first or MSB-first transfer
Error detection

Parity, overrun and frame error

LED Controller – LEDC

Supports 8-segment digital displays up to 4Available
Supports 8-segment digital displays with common anode or common cathodeAvailable
Support frame interruptAvailable
Three clock sources

LSI, LSE and PCLK

The LED light on/off times can be controlled using the dead time settingAvailable

Individual Cell Voltage Monitor

Integrated voltage regulator with 5 V / 50 mA and ±1 % accuracyAvailable
Individual cell voltage monitor outputs 1/2 of battery cell voltage, when the analog output is 2.1 V, it has an accuracy of ±7.5 mVAvailable
At TA = -40 ℃ ~ 85 ℃, 2.5 V reference voltage output with a maximum variation of 15 mV in temperature driftAvailable
Internal cell balance switchesAvailable
Two Discharge N-type MOSFET gate driversAvailable
Single Charge N-type MOSFET gate driverAvailable
Charge/Discharge differential OPA current monitor
  • - IMON outputs amplified ISP-ISN differential voltage
  • - Voltage amplifying rate selection: 10 / 50
Discharge short-current detection
  • - Detection threshold voltage selection: 50 mV / 100 mV / 150 mV / 200 mV / 250 mV / 300 mV / 350 mV / 400 mV
  • ● Detection debounce time selection: 0 μs ~ 992 μs, 32 sections, 32 μs per section
Integrated Over-temperature protection selection

85 ℃ / 100 ℃ / 125 ℃ / 150 ℃

Sleep mode with 0.1 μA ultra-low standby currentAvailable
Two High-voltage wake-up functionsAvailable

Feature Details

Debug Support
  • Serial Wire Debug Port – SW-DP
  • 4 comparators for hardware breakpoint or code / literal patch
  • 2 comparators for hardware watch points

Package and Operation Temperature

64-pin LQFP packageAvailable
Operation temperature range

-40 °C to 85 °C

Resources

TitleDateFile SizeLanguageDownload