HT32F61052

32-Bit Arm® Cortex®-M0+ 5V Power Delivery MCU with BMS

General Information

The Holtek 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 up to 60 MHz with a Flash accelerator to obtain maximum efficiency. It provides up to 128 KB of embedded Flash memory for code/data storage and up to 16 KB of embedded SRAM memory for system operation and application program usage. A variety of peripherals, such as Hardware Divider DIV, PDMA, ADC, I²C, UART, USART, SPI, MCTM, GPTM, PWM, BFTM, LEDC, EBI, CRC-16/32, 96-bit Unique ID, RTC, WDT, 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 includes an accumulative cell voltage monitor and a high accuracy voltage regulator, which is suitable for use in 6 cell Li-ion rechargeable battery applications. The accumulative cell voltage monitor is used to monitor an accumulative voltage from 1 to N and output the divide-by-N voltage to the analog multiplexer with a ±0.5 % divided ratio accuracy which can then be connected the integrated A/D converter channel for measurement.

The device also includes USB Power Delivery (PD) PHY communication protocols and are compliant with USB PD 3.2/PPS specification.

The above features ensure that the device is suitable for use in a wide range of PD applications, especially in areas such as power bank, car charger and various products powered by PD protocol.

 

Feature Details

Core
  • 32-bit Arm® Cortex®-M0+ processor core
  • Up to 60 MHz operating frequency
  • Single-cycle multiplication
  • Integrated Nested Vectored Interrupt Controller (NVIC)
  • 24-bit SysTick timer
On-chip Memory
  • Up to 128 KB on-chip Flash memory for instruction/data and option byte storage
  • Up to 16 KB on-chip SRAM
  • Supports multiple boot modes
Flash Memory Controller – FMC
  • Flash accelerator to obtain maximum efficiency
  • 32-bit word programming with In System Programming (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
  • nternal 8 MHz RC oscillator trimmed to ±1 % accuracy at 5.0 V operating voltage and 25 °C operating temperature
  • Internal 32 kHz RC oscillator
  • Integrated system clock PLL
  • Independent clock divider and gating bits for peripheral clock sources

Power Management – PWRCU

VDD power supply

2.5 V ~ 5.5 V

Integrated 1.5 V LDO regulator for MCU core, peripherals and memories power supplyAvailable
VDD and VCORE power domainsAvailable
Three power saving modes

Sleep, Deep-Sleep1, Deep-Sleep2

Feature Details

PD PHY
  • Compliant with USB PD 3.2 / PPS specification
  • Supports Dual Role Port – DRP
  • Supports Fast Role Swap – FRS
  • Integrated VCONN switch
  • Integrated HVO switch output

Accumulative Cell Voltage Monitor

5 V / 30 mA internal Voltage Regulator with ±1 % accuracyAvailable
Accumulative Cell Voltage Monitor 6-to-1 Analog Multiplexer with divided ratio accuracy:

(1/n ± 0.5 %)

Feature Details

External Interrupt / Event Controller – EXTI
  • Up to 16 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 2 Msps conversion rate
  • Up to 12 external analog input channels
I/O Ports – GPIO
  • Up to 39 GPIOs
  • Port A, B, C, D are mapped to 16-line EXTI interrupts
  • Almost all I/O pins have configurable output driving current

Motor Control Timer – MCTM

16-bit up, down, up/down auto-reload counterAvailable
Up to 4 independent channelsAvailable
16-bit programmable prescaler that allows division of the prescaler clock source by any factor

between 1 and 65536 to generate the counter clock frequency

Input Capture functionAvailable
Compare Match OutputAvailable
PWM waveform generation with Edge-aligned and Center-aligned Counting ModesAvailable
Single Pulse Mode OutputAvailable
Complementary Outputs with programmable dead-time insertionAvailable
Supports 3-phase motor control and hall sensor interfaceAvailable
Break input signals to assert the timer output signals in reset state or in a known stateAvailable

General-Purpose Timer – GPTM

16-bit up, down, up/down auto-reload counterAvailable
Up to 4 independent channelsAvailable
16-bit programmable prescaler that allows division of the prescaler clock source by any factor

between 1 and 65536 to generate the counter clock frequency

Input Capture functionAvailable
Compare Match OutputAvailable
PWM waveform generation with Edge-aligned and Center-aligned Counting ModesAvailable
Single Pulse Mode OutputAvailable
Encoder interface controller with two inputs using quadrature decoderAvailable

Feature Details

Pulse-Width-Modulation Timer – PWM
  • 16-bit up, down, up/down auto-reload counter
  • Up to 4 independent channels for each timer
  • 16-bit programmable prescaler that allows division of the prescaler clock source by any factor between 1 and 65536 to generate the counter clock frequency
  • Compare Match Output
  • PWM waveform generation with Edge-aligned and Center-aligned Counting Modes
  • Single Pulse Mode Output
Basic Function Timer – BFTM
  • 32-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
24-bit up-counter with a programmable prescalerAvailable
Alarm functionAvailable
Interrupt and Wake-up eventAvailable
Inter-integrated Circuit – I²C
  • Supports both master and slave modes with a frequency of up to 1 MHz
  • Provides an arbitration function and clock synchronization
  • Supports 7-bit and 10-bit addressing modes and general call addressing
  • Supports slave multi-addressing mode using address mask function

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
FIFO Depth

8 levels

Multi-master and multi-slave operationAvailable

Universal Synchronous Asynchronous Receiver Transmitter – USART

Supports both asynchronous and clocked synchronous serial communication modesAvailable
Programmable baud rate clock frequency up to (fPCLK/16) MHz for asynchronous mode and (fPCLK/8) MHz for synchronous modeAvailable
Full duplex communicationAvailable
Supports LIN (Local Interconnect Network) modeAvailable
Supports single-wire modeAvailable
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

Auto hardware flow control mode – RTS, CTSAvailable
IrDA SIR encoder and decoderAvailable
RS485 mode with output enable controlAvailable
FIFO Depth

8-level for both receiver and transmitter

Universal Asynchronous Receiver Transmitter – UART

Asynchronous serial communication operating baud-rate clock frequency up to (fPCLK/16) MHzAvailable
Full duplex communicationAvailable
Supports LIN (Local Interconnect Network) modeAvailable
Supports single-wire modeAvailable
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

Cyclic Redundancy Check – CRC

Support CRC16 polynomial: 0x8005,

X16+X15+X2+1

Support CCITT CRC16 polynomial: 0x1021,

X16+X12+X5+1

Supports IEEE-802.3 CRC32 polynomial: 0x04C11DB7,

X32+X26+X23+X22+ X16+X12+X11+X10+X8+X7+X5+X4+X2+X+1

Supports 1’s complement, byte reverse & bit reverse operation on data and checksumAvailable
Supports byte, half-word & word data sizeAvailable
Programmable CRC initial seed valueAvailable
CRC computation executed in 1 AHB clock cycle for 8-bit data and 4 AHB clock cycles for 32-bit dataAvailable
Supports PDMA to complete a CRC computation of a block of memoryAvailable

Peripheral Direct Memory Access – PDMA

6 channels with trigger source groupingAvailable
8-bit, 16-bit and 32-bit width data transferAvailable
Supports linear address, circular address and fixed address modesAvailable
4-level programmable channel priorityAvailable
Auto reload modeAvailable
Supports trigger source:

ADC, SPI, UART, USART, I²C, MCTM, GPTM, PWM and software request

Feature Details

Hardware Divider – DIV
  • Signed/unsigned 32-bit divider
  • Calculate in 8 clock cycles, load in 1 clock cycle
  • Division by zero error Flag

LED Controller – LEDC

Supports 8-segment digital displays up to a maximum of 10Available
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

External Bus Interface – EBI

Programmable interface for various memory typesAvailable
Translate the AHB transactions into the appropriate external device protocolAvailable
Individual chip select signal for per memory bankAvailable
Programmable timing to support a wide range of devicesAvailable
Automatic translation when AHB transaction width and external memory interface width is differentAvailable
Write buffer to decrease the stalling of the AHB write burst transactionAvailable
Multiplexed and non-multiplexed address and data line configurations
  • - Up to 21 address lines
  • - Up to 16-bit data bus width

Feature Details

Unique Identifier – UID
  • Total 96-bit UID is unique and not duplicate with other HT32 MCU devices
  • It is unchangeable and determined by MCU manufacturer
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 105 °C

Resources

TitleDateFile SizeLanguageDownload