Enhanced 24-bit A/D Arm® Cortex®-M0+ MCU HT32F59041 24-Bit Delta Sigma Analog to Digital Converter – ΔΣ ADC ▆ Internal Programmable Gain Amplifier ▆ Internal I2C interface for external communication ▆ 5 Hz ~ 1.6 kHz ADC output data rate ▆ Internal temperature sensor for compensation 2 FeaturesI/O Ports – GPIO ▆ 30 GPIOs ▆ Port A, B, C are mapped as 16 external interrupts – EXTI ▆ Almost all I/O pins have configurable output driving current There are 30 General Purpose I/O pins, GPIO, for the implementation of logic input/output functions. Each of the GPIO ports has a series of related control and configuration registers to maximize flexibility and to meet the requirements of a wide range of applications. The GPIO ports are pin-shared with other alternative functions to obtain maximum functional flexibility on the package pins. The GPIO pins can be used as alternative functional pins by configuring the corresponding registers regardless of the input or output pins. The external interrupts on the GPIO pins of the device have related control and configuration registers in the External Interrupt Control Unit, EXTI. 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 The Basic Function Timer is a simple 32-bit up-counting counter designed to measure time intervals and generate a one shot or repetitive interrupts. The BFTM operates in two functional modes, repetitive and one shot modes. In the repetitive mode, the BFTM restarts the counter when a compare match event occurs. The BFTM also supports a one shot mode which forces the counter to stop counting when a compare match event occurs. Motor Control Timer – MCTM ▆ One 16-bit up, down, up/down auto-reload counter ▆ 16-bit programmable prescaler allowing counter clock frequency divided 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 ▆ Complementary Outputs with programmable dead-time insertion ▆ Break input to force the timer’s output signals into a reset or fixed condition Rev. 1.00 10 of 59 January 17, 2020 Document Outline 1 General Description 2 Features Core On-chip Memory Flash Memory Controller – FMC Reset Control Unit – RSTCU Clock Control Unit – CKCU Power Management Control Unit – PWRCU Real Time Clock – RTC External Interrupt / Event Controller – EXTI Hardware Divider – DIV 12-Bit Analog to Digital Converter – ADC 24-Bit Delta Sigma Analog to Digital Converter – ΔΣ ADC I/O Ports – GPIO Basic Function Timer – BFTM Motor Control Timer – MCTM PWM Generation and Capture Timer – GPTM Pulse Width Modulation – PWM Watchdog Timer – WDT Inter-integrated Circuit – I2C Serial Peripheral Interface – SPI Universal Synchronous Asynchronous Receiver Transmitter – USART Universal Asynchronous Receiver Transmitter – UART Cyclic Redundancy Check – CRC Debug Support Package and Operation Temperature 3 Overview Device Information Block Diagram Memory Map Clock Structure 4 24-Bit Delta Sigma A/D Converter – ΔΣ ADC 24-Bit A/D Converter Internal Registers Internal Power Supply Reference Voltages Power and Reference Control Oscillator Input Signal Gain Control Amplifier – PGA 24-Bit Analog to Digital Converter Operation External Interface Communication 5 Pin Assignment 6 Electrical Characteristics Absolute Maximum Ratings Recommended DC Operating Conditions On-Chip LDO Voltage Regulator Characteristics Power Consumption Reset and Supply Monitor Characteristics External Clock Characteristics Internal Clock Characteristics Memory Characteristics I/O Port Characteristics 12-Bit ADC Characteristics 24-Bit ADC Characteristics Effective Number of Bits (ENOB) MCTM/GPTM/PWM Characteristics I2C Characteristics SPI Characteristics 7 Package Information 48-pin LQFP (7mm × 7mm) Outline Dimensions