HT32F12364

32-bit Arm® Cortex®-M3 MCU

General Information

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

The device operates at a frequency of up to 72 MHz with a Flash accelerator to obtain maximum efficiency. It provides 256 KB of embedded Flash memory for code/data storage and 128 KB of embedded SRAM memory for system operation and application program usage. A variety of peripherals, such as ADC, I2C, USART, UART, SPI, SCI, PDMA, GPTM, PWM, SCTM, EBI, CRC-16/32, AES-128/256, USB2.0 FS 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 above features ensure that the device is suitable for use in a wide range of applications, especially in areas such as white goods application control, power monitors, alarm systems, consumer products, handheld equipment, data logging applications, motor control, fingerprint recognition, smart door lock and so on.

 

Feature Details

Core
  • 32-bit Arm® Cortex®-M3 processor core
  • Up to 72 MHz operating frequency
  • Single-cycle multiplication and hardware division
  • Integrated Nested Vectored Interrupt Controller (NVIC)
  • 24-bit SysTick timer
On-chip Memory
  • 256 KB on-chip Flash memory for instruction/data and option storage
  • 128 KB on-chip SRAM
  • Supports multiple booting modes
Flash Memory Controller – FMC
  • Flash accelerator for maximum efficiency
  • 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 8 MHz RC oscillator trimmed to ±1.5 % accuracy at 3.3 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

Single VDD power supply

1.65 V to 3.6 V

Integrated 1.5V LDO regulator for CPU core, peripherals and memories power supplyAvailable
VDD power supply for RTCAvailable
Two power domains

VDD and 1.5 V

Four power saving modes

Sleep, Deep-Sleep1, Deep-Sleep2, Power-Down

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 1 Msps conversion rate
  • Up to 8 external analog input channels
I/O Ports – GPIO
  • Up to 52 GPIOs
  • Port A, B, C, D, F are mapped as 16 external interrupts – EXTI
  • Almost I/O pins are configurable output driving current
General-Purpose Timer – GPTM
  • 16-bit up/down auto-reload counter
  • 16-bit programmable prescaler allowing dividing the counter clock frequency by any factor between 1 and 65536
  • Input Capture function
  • Compare Match Output
  • PWM waveform generation with Edge-aligned and Center-aligned Counting Modes
  • Single Pulse Mode Output
  • Encoder interface controller with two inputs using quadrature decoder
Pulse-Width-Modulation Timer – PWM
  • 16-bit up/down auto-reload counter
  • Up to 4 independent channels for each timer
  • 16-bit programmable prescaler allowing dividing the counter clock frequency by any factor between 1 and 65536
  • Compare Match Output
  • PWM waveform generation with Edge-aligned and Center-aligned Counting Modes
  • Single Pulse Mode Output
Single Channel Timer – SCTM
  • 16-bit auto-reload up-counter
  • One channel for each timer
  • 16-bit programmable prescaler allowing dividing the counter clock frequency by any factor between 1 and 65536
  • Input Capture function
  • Compare Match Output
  • PWM waveform generation with Edge-aligned
  • Single Pulse Mode Output
Basic Function Timer – BFTM
  • 32-bit compare/match count-up counters – no I/O control features
  • One shot mode – counting stops after a match condition
  • Repetitive mode – restart counter after a match condition
Watchdog Timer – WDT
  • 12-bit down counter with 3-bit prescaler
  • Reset event for 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
  • 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 modeAvailable
Frequency of up to (fPCLK/2) MHz for master mode and (fPCLK/3) MHz for 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
Asynchronous operating baud rate clock frequency of up to (fPCLK/16) MHz and synchronous operating baud rate clock frequency of up to (fPCLK/8) 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 bit 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 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 bit generation
  • - Bit order: LSB-first or MSB-first transfer
Error detection

Parity, overrun and frame error

Feature Details

Smart Card Interface – SCI
  • Supports ISO 7816-3 standard
  • Character Transfer mode
  • Single transmit buffer and single receive buffer
  • 11-bit ETU (Elementary Time Unit) counter
  • 9-bit guard time counter
  • 24-bit general purpose waiting time counter
  • Parity generation and check functions
  • Automatic character retry on parity error detection in transmission and reception modes

Cyclic Redundancy Check – CRC

Supports CRC16 polynomial: 0x8005,

X16+X15+X2+1

Supports 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, USART, UART, I2C, SCI, GPTM, PWM, AES and software request

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

Universal Serial Bus Device Controller – USB
  • Complies with USB 2.0 full-speed (12 Mbps) specification
  • On-chip USB full-speed transceiver
  • 1 control endpoint (EP0) for control transfer
  • 3 single-buffered endpoints for bulk and interrupt transfer
  • 4 double-buffered endpoints for bulk, interrupt and isochronous transfer
  • 1024-byte EP_SRAM used as the endpoint data buffers
Advanced Encryption Standard – AES
  • Supports AES Encrypt / Decrypt Function
  • Supports AES ECB/CBC/CTR mode
  • Supports Key Size 128, 192 and 256 bits
  • Supports 4 words Initial Vector for CBC and CTR mode
  • 8 × 32 bits ( Each IN and OUT FIFO Capacity ) for 2 AES Data blocks
  • Supports PDMA Interface
  • Supports Word Data Swap Function
Debug Support
  • Serial Wire Debug Port SW-DP
  • 6 instruction comparators and 2 literal comparators for hardware breakpoint or code / literal patches
  • 4 comparators for hardware watchpoints
  • 1-bit asynchronous trace for serial wire debug mode – TRACESWO

Package and Operation Temperature

40-pin QFN and 48 / 64-pin LQFP packagesAvailable
Operation temperature range

-40 °C to 85 °C

Resources

TitleDateFile SizeLanguageDownload