
Rev. 1.00
2 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
Table of Contents
Table of Contents
Overview .............................................................................................................................. 21
Features ............................................................................................................................... 22
Device Information ............................................................................................................... 25
Block Diagram ..................................................................................................................... 26
2 Document Conventions ....................................................................................... 27
3 System Architecture ............................................................................................. 28
Bus Architecture ................................................................................................................... 29
Memory Organization .......................................................................................................... 30
Memory Map ................................................................................................................................... 31
Embedded Flash Memory ............................................................................................................... 33
Embedded SRAM Memory ............................................................................................................. 33
AHB Peripherals ............................................................................................................................. 33
APB Peripherals ............................................................................................................................. 33
Introduction .......................................................................................................................... 34
Features ............................................................................................................................... 34
Functional Descriptions ....................................................................................................... 35
Flash Memory Map ......................................................................................................................... 35
Flash Memory Architecture ............................................................................................................. 36
Page Erase ..................................................................................................................................... 38
Mass Erase ..................................................................................................................................... 39
Word Programming ......................................................................................................................... 40
Option Byte Description .................................................................................................................. 41
Page Erase / Program Protection ................................................................................................... 42
Security Protection .......................................................................................................................... 43
Register Map ....................................................................................................................... 44
Register Descriptions ........................................................................................................... 45
Flash Target Address Register – TADR .......................................................................................... 45
Flash Write Data Register – WRDR ............................................................................................... 46
Flash Operation Command Register – OCMR ............................................................................... 47
Flash Operation Control Register – OPCR ..................................................................................... 48
Flash Operation Interrupt Enable Register – OIER ........................................................................ 49
Flash Operation Interrupt and Status Register – OISR .................................................................. 50
Flash Page Erase / Program Protection Status Register – PPSR .................................................. 52
Flash Security Protection Status Register – CPSR ........................................................................ 53
Flash Vector Mapping Control Register – VMCR ........................................................................... 54