HT32F61244/HT32F61245

32-Bit Arm® Cortex®-M0+ Music Synthesizer MCU with Flash Data Memory

General Information

These devices are high performance, low power consumption 32-bit microcontrollers 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 devices operate at a frequency of up to 48 MHz with a Flash accelerator to obtain maximum efficiency. They provide up to 64 KB of embedded Flash memory for code/data storage and 8 KB of embedded SRAM memory for system operation and application program usage. A variety of peripherals, such as ADC, 2-channel DAC, I²C, UART, SPI, QSPI, GPTM, SCTM, BFTM, CRC- 16/32, LSTM, WDT, 16-channel music synthesizer, SW-DP (Serial Wire Debug Port), etc., are also implemented in the devices. 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 devices integrate Wave Table synthesis function. They can operate up to 16 channels of Wave Table synthesis at one time and control the MIDI Engine to generate melody by setting the special registers. The Wave Table synthesis waveform data including instrument tone, MIDI scores, voice, sound effect, etc., are stored in the internal SPI Flash Data Memory. With these features, the devices provide enhanced functions and higher performance.

The above features ensure that the devices are suitable for use in a wide range of applications, especially in areas such as electronic organs, digital pianos, electronic drums, electric guitars, electric accordions and so on.

 

Feature Details

Core
  • 32-bit Arm® Cortex®-M0+ processor core
  • Up to 48 MHz operating frequency
  • Single-cycle multiplication
  • Integrated Nested Vectored Interrupt Controller (NVIC)
  • 24-bit SysTick timer
On-Chip Memory
  • Up to 64 KB on-chip Flash memory for instruction/data and options storage
  • 8 KB on-chip SRAM
  • Supports multiple booting modes
Flash Memory Controller – FMC
  • Flash accelerator to obtain 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
  • Internal 8 MHz RC oscillator trimmed to ±2 % 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 Control Unit – PWRCU

Single VDD power supply

2.3 V to 3.6 V

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

VDD, VCORE

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 16 external analog input channels
I/O Ports – GPIO
  • Up to 49 GPIOs
  • Port A, B, C, D are mapped as 16 external interrupts – EXTI
  • Almost all I/O pins have a configurable output driving current.
General-Purpose Timer – GPTM
  • 16-bit up, down, up/down auto-reload counter
  • Up to 4 independent channels
  • 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 function
  • Compare Match Output
  • PWM waveform generation with Edge-aligned and Center-aligned
  • Single Pulse Mode Output
  • Encoder interface controller with two inputs using quadrature decoder
Single-Channel Timer – SCTM
  • 16-bit up and auto-reload counter
  • One channel 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
  • Input Capture function
  • Compare Match Output
  • PWM waveform generation with Edge-aligned
Basic Function Timer – BFTM
  • 32-bit compare match count-up counter – no I/O control
  • One shot mode – stops counting when compare match occurs
  • Repetitive mode – restarts counter when compare match occurs
Digital to Analog Converter – DAC

Two 16-bit high resolution D/A converters with excellent frequency response characteristics and good power consumption for stereo audio output.

Music Synthesis Engine (MIDI Engine) – MSE
  • Up to 16 simultaneous sounds
  • 10-bit Volume Control
  • Output sampling frequency up to 50 kHz
  • Waveform data lengths of 8, 12 or 16 bits
  • Stereo output
  • Supports Repeat loop Play
  • Supports PDMA interface
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
Low Speed Timer – LSTM
  • 24-bit up-counter with a programmable prescaler
  • Alarm function
  • Interrupt and Wake-up event
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 modeAvailable
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

Quad Serial Peripheral Interface – QSPI

Supports both master and slave modesAvailable
Master mode speed up to fHCLK/2Available
Slave mode speed up to fHCLK/3Available
Programmable data frame length up to 16 bitsAvailable
FIFO Depth

8 levels

MSB or LSB first shift selectionAvailable
Programmable slave select high or low active polarityAvailable
Multi-master and multi-slave operationAvailable
Master mode supports the dual/quad output read mode of QSPI series NOR FlashAvailable
Four error flags with individual interrupt
  • Read overrun
  • Write collision
  • Mode fault
  • Slave abort
Supports PDMA interfaceAvailable

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 bit generation
  • Bit order: LSB-first or MSB-first transfer
Error detection

Parity, overrun and frame error

Cyclic Redundancy Check – CRC

Supports CRC16 polynomial

0x8005, X¹⁶+X¹⁵+X²+1

Supports CCITT CRC16 polynomial

0x1021, X¹⁶+X¹²+X⁵+1

Supports IEEE-802.3 CRC32 polynomial

0x04C11DB7, X³²+X²⁶+X²³+X²²+X¹⁶+X¹²+X¹¹+X¹°+X⁸+X⁷+X⁵+X⁴+X²+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, 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, QSPI, UART, I²C, GPTM, MIDI Engine and software request

SPI Flash Data Memory

Full voltage range

2.3 V ~ 3.6 V

Serial Interface ArchitectureAvailable
SPI compatible

Mode 0 and Mode 3

256 bytes per programmable pageAvailable
Standard, Dual or Quad SPI modesAvailable
Low power consumptionAvailable
Uniform Sector ArchitectureAvailable
Any sector or block can be erased individuallyAvailable
Software and Hardware ResetAvailable
Read Unique ID NumberAvailable

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

48 / 64-pin LQFP packageAvailable
Operation temperature range

-40 °C to 85 °C

Resources

TitleDateFile SizeLanguageDownload