HT32F59741
Enhanced 24-bit A/D Arm® Cortex®-M0+ LCD Flash MCU
The device operates at a frequency of up to 60 MHz with a Flash accelerator to obtain maximum efficiency. It provides up to 64 KB of embedded Flash memory for code/data storage and up to 8 KB of embedded SRAM memory for system operation and application program usage. A variety of peripherals, such as USB2.0 FS, Hardware Divider DIV, SPI, USART, UART, SCI, I2C, GPTM, PWM, BFTM, CRC-16/32, RTC, WDT, ADC, LCD 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.
A 24-bit Delta Sigma A/D converter which includes a programmable gain amplifier is also provided in the device for applications that interface differentially to analog signals.
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 controllers, power monitors, alarm systems, consumer products, handheld equipment, data logging applications, motor controllers and so on.
Product 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
- 64 KB on-chip Flash memory for instruction/data and options storage
- 8 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
Clock Control Unit – CKCU
- External 4 to 16 MHz crystal oscillator
- External 32.768 kHz 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 clock PLL and USB PLL
- Independent clock divider and gating bits for peripheral clock sources
Power Management Control Unit – PWRCU
- VDD power supply: 1.65 V to 3.6 V
- Integrated 1.5 V LDO regulator for CPU core, peripherals and memories power supply
- VDD power supply for RTC
- VDD and VCORE power domains
- Four power saving modes: Sleep, Deep-Sleep1, Deep-Sleep2 and Power-Down modes
External Interrupt / Event Controller – EXTI
- Up to 16 EXTI lines with configurable trigger sources and types
- 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
12-Bit Analog to Digital Converter – ADC
- 12-bit SAR ADC engine
- Up to 1 Msps conversion rate
- Up to 10 external analog input channels
24-Bit Delta Sigma A/D Converter
- Internal Programmable Gain Amplifier
- Internal I2C interface for external communications
- 5 Hz ~ 1.6 kHz ADC output data rate
- Internal temperature sensor for compensation
I/O Ports – GPIO
- Up to 53 GPIOs
- Port A, B, C, D are mapped as 16 external interrupts – EXTI
- Almost all I/O pins have configurable output driving current
General Purpose Timer – GPTM
- 16-bit up/down auto-reload counter
- Up to 4 independent channels for each timer
- 16-bit programmable prescaler that allows division of 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 Modulator – PWM
- 16-bit up / down auto-reload counter
- Up to 4 independent channels for each timer
- 16-bit programmable prescaler that allows division of 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
Basic Function Timer – BFTM
- One 32-bit compare match count-up counter – no I/O control features
- One shot mode – counting stops after compare match occurs
- Repetitive mode – restart counter when compare match occurs
Watchdog Timer – WDT
- 12-bit down-counter with 3-bit prescaler
- Provide 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
- 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 modes
- Frequency of up to (fPCLK/2) MHz for the master mode and (fPCLK/3) MHz for the slave mode
- FIFO Depth: 8 levels
- Multi-master and multi-slave operation
Universal Synchronous Asynchronous Receiver Transmitter – USART
- Supports both asynchronous and clocked synchronous serial communication modes
- Programming baud rate clock frequency up to (fPCLK/16) MHz for Asynchronous mode and (fPCLK/8) MHz for synchronous mode
- Full duplex communication
- 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, CTS
- IrDA SIR encoder and decoder
- RS485 mode with output enable control
- 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) MHz
- Full duplex communication
- 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
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 checksum
- Supports byte, half-word & word data size
- Programmable CRC initial seed value
- CRC computation executed in 1 AHB clock cycle for 8-bit data and 4 AHB clock cycles for 32-bit data
Hardware Divider – DIV
- Signed/unsigned 32-bit divider
- Calculate in 8 clock cycles, load in 1 clock cycle
- Division by zero error Flag
Liquid Crystal Display Controller – LCD
- LCD Driver function with Static, 1/2, 1/3, 1/4, 1/6 and 1/8 duty
- LCD Driver function with Static, 1/2, 1/3 or 1/4 bias
- Supports R type bias type
- Clock source can be selected from the LSI (32 kHz), LSE (32.768 kHz) or a clock ratio of either the HSI or HSE
- Contains three embedded LCD bias reference resistor ladders
- Double buffered memory
- Software selectable charge pump voltage
- Programmable dead time between frames – up to 7/2 phase periods for type A waveforms and 7 phase periods for type B waveforms
- Software selectable waveform type: type A or type B waveform
- LCD frame interrupt
- Blink capability: Up to 1, 2, 3, 4, 8 or all pixels which can be programmed to blink
Universal Serial Bus Device Controller – USB
- Complies with USB 2.0 Full-Speed (12 Mbps) specification
- Fully integrated 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
- 1,024 bytes EP_SRAM used as the endpoint data buffers
Debug Support
- Serial Wire Debug Port – SW-DP
- 4 comparators for hardware breakpoint or code / literal patch
- 2 comparators for hardware watchpoints
Package and Operation Temperature
- 64 / 80-pin LQFP packages
- Operation temperature range: -40°C to +85°C
HT32 Type MCU debug adapter
e-Link32 Pro: Holtek USB debug adaptor Buy from a dealer
HT32 Flash MCU Production Writer
e-Writer32 Buy from a dealer