Holtek HT32 MCU User manual

HT32 MCU
Starter Kit User Manual
Revision: V1.10 Date: August 12, 2020

Rev. 1.10 2 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
Table of Contents
Table of Contents
1 Introduction............................................................................................................. 5
Features................................................................................................................................. 5
2 Hardware Layout..................................................................................................... 6
Separating the e-Link32 Lite ............................................................................................................ 7
Serial Wire Debug Interface Switch – S1 ......................................................................................... 8
SWD-10P Connector – CN2, CN6.................................................................................................... 8
e-Link32 Lite Power Option – R8...................................................................................................... 9
e-Link32 Lite Power Option – J8....................................................................................................... 9
Boot Option – Located on the Board Reverse Side.......................................................................... 9
High Speed External Crystal Oscillator (HSE) Option ..................................................................... 9
Low Speed External Crystal Oscillator (LSE) Option ..................................................................... 10
USB D+/D- Option .......................................................................................................................... 10
MCU Power Jumper – J1................................................................................................................ 10
UART Option Jumper – J2.............................................................................................................. 10
e-Link32 UART Connector – CN8....................................................................................................11
Extension Connector CN4-1 ............................................................................................................11
Extension connector CN4-2............................................................................................................ 12
Micro USB Type B Connector – CN5.............................................................................................. 13
3 Connection between the e-Link32 Lite and the Target Board .......................... 14
4 Schematics............................................................................................................ 15

Rev. 1.10 3 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
Table of Contents
List of Tables
List of Tables
Table 1. SWD-10P Connector................................................................................................................... 8
Table 2. Extension Connector 1...............................................................................................................11
Table 3. Extension Connector 2.............................................................................................................. 12
Table 4. Micro USB Type B Connector ................................................................................................... 13

Rev. 1.10 4 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
List of Figures
List of Figures
Figure 1. HT32 Starter Kit......................................................................................................................... 5
Figure 2. HT32 Starter Kit Block Diagram ................................................................................................ 6
Figure 3. HT32 Starter Kit Layout – using the ESK32-30501 V2.0 as an example .................................. 7
Figure 4. SWD-10P Connector ................................................................................................................. 8
Figure 5. Extension Connector 1 .............................................................................................................11
Figure 6. Extension Connector 2 ............................................................................................................ 12
Figure 7. Micro USB Type B Connector.................................................................................................. 13
Figure 8. Connection between the e-Link32 Lite V2.0 and the Target Board ......................................... 14
Figure 9. Connection between e-Link32 Lite V2.3 and Target Board ..................................................... 14
Figure 10. e-Link32 Lite V2.0.................................................................................................................. 16
Figure 11. e-Link32 Lite V2.2 .................................................................................................................. 17
Figure 12. e-Link32 Lite V2.3.................................................................................................................. 18
Figure 13. HT32F52352 Target Board – ESK32-30501.......................................................................... 19

Rev. 1.10 5 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
1 Introduction
List of Figures
11 Introduction
The HT32 Starter Kit is based around the 32-bit Arm®Cortex®-M0+/M3 high performance
microcontroller and is designed to assist users to get up and running with the Holtek 32-bit device
range as quickly as possible.
Standard C language programs can be developed using the integrated development environment
from Keil μVision and IAR EWARM. Using this foundation, Holtek also provides a comprehensive
function library to avoid complicated lower level function development in order to allow designers
to focus their time on their specic application development. Using a simple USB cable connection,
users only have to connect their PC to the integrated hardware debug interface (e-Link32 Lite
Serial-Wire Debugger) to automatically download the programs and immediately commence debug
operations.
e-Link32 Lite
CMSIS-DAP
Debug Adapter
Target MCU
Tool Part No.
Figure 1. HT32 Starter Kit
Features
▆Uses the HT32 high performance microcontrollers
Integrated Timer, I2C, SPI, USART, UART, 12-bit A/D converter, USB and I2S etc. Refer to the
datasheet of the corresponding MCU for details.
▆Comprises Target Board and e-Link32 Lite Serial-Wire Debugger
▆Can be used for the testing and development of many external devices
▆Can use either the Target Board USB connector or the e-Link32 Lite USB connector to supply power

Rev. 1.10 6 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
2 Hardware Layout
22 Hardware Layout
I/O Extension-62P
I/O Extension-60P
USB LED
State LED
SWD
switch
SWD-10P
8 MHz
32.768 kHz
HT32 MCU
ARM Cortex-
M0+/M3
Microcontroller
LED1 LED2 Power
5V-to-3.3V
Regulator
Power
Jumper
reset
Micro
USB
UART
Jumper
Micro
USB
e-Link32
MCU
3.3V
LDO
Adjustment
SWD-10P
Voltage
translation
UART
e-Link32 Lite
CMSIS-DAP
Target Board
Figure 2. HT32 Starter Kit Block Diagram

Rev. 1.10 7 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
2 Hardware Layout
2 Hardware Layout
Figure 3. HT32 Starter Kit Layout – using the ESK32-30501 V2.0 as an example
Separating the e-Link32 Lite
Not Separated (Default) Separated

Rev. 1.10 8 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
2 Hardware Layout
Serial Wire Debug Interface Switch – S1
S1 Description
Connect the SWD interface between the e-Link32 Lite and the Target MCU
– default setting
Disconnect the SWD interface between the e-Link32 Lite and the Target MCU
SWD-10P Connector – CN2, CN6
CN2 is the Serial Wire Debug interface connector on the e-Link32 Lite side, while CN6 is on the
Target Board side.
Figure 4. SWD-10P Connector
Table 1. SWD-10P Connector
Pin No. Description Pin No. Description
1 VDD 2 SWDIO
3 GND 4 SWCLK
5 GND 6 NC
7 NC 8 NC
9 GND 10 Reset

Rev. 1.10 9 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
2 Hardware Layout
2 Hardware Layout
e-Link32 Lite Power Option – R8
R8 Description
Pin 1 on the CN2 connector on the e-Link32 Lite side is used as the input. The
reference voltage is supplied through this pin to the voltage conversion chip – default
setting
Note that if the e-Link32 Lite has not been separated, the 3.3V on the Target Board
will have been connected to CN2-1 through the PCB wire connection
Pin 1 on the CN2 connector on the e-Link32 Lite side is used as the output. Here the
e-Link32 Lite voltage conversion chip is xed using 3.3V as the reference voltage.
Note that the 3.3V voltage on the Target Board has been connected to CN2-1
through the PCB wire connection, therefore this option is not allowed if the e-Link32
Lite has not been separated
Only the e-Link32 Lite V2.0 version has the R8 option.
e-Link32 Lite Power Option – J8
J8 Description
Pin 1 on the CN2 connector on the e-Link32 Lite side is used as the input. The
reference voltage is supplied through this pin to the voltage conversion chip – default
setting
Note that if the e-Link32 Lite has not been separated, the 3.3V on the Target Board
will be connected to CN2-1 through the S1 switch and the PCB wire connection
Pin 1 of the CN2 connector on the e-Link32 Lite side is used as the output. Here the
e-Link32 Lite voltage conversion chip is xed using the 3.3V as the reference voltage
Note that the 3.3V on the Target Board will be connected to CN2-1 through the S1
switch and the PCB wire connection. If the e-Link32 Lite has not been separated,
users should switch the S1 to the OFF position to use this option
Only the e-Link32 Lite V2.2 or V2.3 version has the J8 option.
Boot Option – Located on the Board Reverse Side
R18 Description
1 or NC – MCU boots from main ash – default setting
0 – MCU boots from bootloader – ISP
High Speed External Crystal Oscillator (HSE) Option
R23 & R24 Description
Open, HSE I/O pins disconnected from CN4 – default setting
Short, HSE I/O pins connected to CN4 pins 9 and 10. Y2 must be removed.
The designators on the ESK32-30105 (HT32F12366 SK) are R21 and R22.

Rev. 1.10 10 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
2 Hardware Layout
Low Speed External Crystal Oscillator (LSE) Option
R21 & R22 Description
Open, LSE I/O pins disconnected from CN4 – default setting
Short, LSE I/O pins connected to CN4 pins 31 and 32. X1 must be removed.
The designators on the ESK32-30105 (HT32F12366 SK) are R23 and R24.
USB D+/D- Option
R26 & R27 Description
Open, USB D+/D- pins disconnected from the CN4 – default setting
Short, USB D+/D- pins connected to the CN4 pins 55 and 56.
The early Starter Kit board or its Target MCU does not have an integrated USB or its USB D+/D-
are not bonded with the GPIO, therefore this option is not available.
MCU Power Jumper – J1
J1 Description
The MCU VDD pin is connected to the 3.3V power – default setting
The MCU VDD pin is disconnected from the 3.3V power
The jumper is useful when it is required to measure the MCU power consumption.
UART Option Jumper – J2
The Starter Kit arranges a group of the Target MCU UART to be used as external communication
interfaces, which can connect to the host computer or other devices. The Target MCU RX pin has
the option of connecting to the e-Link32 UART TX pin or to the extension connector, CN4_6:
RS232_TX.
J2 Description
The MCU UART RX is connected to the extension connector, CN4_6: RS232_TX
– default setting
The MCU UART RX is connected to the e-Link32 UART TX

Rev. 1.10 11 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
2 Hardware Layout
2 Hardware Layout
e-Link32 UART Connector – CN8
This is the e-Link32 integrated USB to UART function, which is called the “Virtual COM port”,
CN8 is the UART side connector.
CN8 Description
Three UART connector pins: Txd, GND and Rxd
The e-Link32 will send data on the Txd pin while data will be received on the Rxd pin
Extension Connector CN4-1
Figure 5. Extension Connector 1
Table 2. Extension Connector 1
Pin No. Description Pin No. Description
1 GND 2 GND
3 I2S_BCLK 4 I2S_WS
5 RS232_RX – connect to MCU TX 6 RS232_TX – connect to MCU RX
7 M_IO4 8 BUZZER
9 M_IO2 10 M_IO3
11 M_IO0 12 M_IO1
13 M_TX 14 M_RX
15 M_RTS 16 M_CTS
17 M_MISO 18 M_CS
19 M_SCK 20 M_MOSI
21 M_SDA 22 M_SCL
23 Touch_SDA 24 Touch_SCL
25 EE_SDA 26 EE_SCL
27 B0_WAKEUP 28 V_BAT
29 VR 30 GND
31 LSE_In 32 LSE_Out
33 SD_D0/MISO 34 SD_D1
35 SD_D2 36 SD_D3/CS
37 SD_CLK 38 SD_CMD/MOSI
39 CSIF_LED 40 SD_CD
41 CSIF_SDA 42 CSIF_SCL
43 CSIF_RESB 44 CSIF_PWDN
45 CSIF_PCLK 46 CSIF_MCLK
47 CSIF_HSYNC 48 CSIF_VSYNC

Rev. 1.10 12 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
2 Hardware Layout
Pin No. Description Pin No. Description
49 CSIF_D6 50 CSIF_D7
51 CSIF_D4 52 CSIF_D5
53 CSIF_D2 54 CSIF_D3
55 CSIF_D0/USB D- 56 CSIF_D1/USB D+
57 GND 58 GND
59 3.3V 60 3.3V
Extension connector CN4-2
Figure 6. Extension Connector 2
Table 3. Extension Connector 2
Pin No. Description Pin No. Description
61 3.3V 62 3.3V
63 GND 64 GND
65 I2S_SDA 66 I2S_SCL
67 I2S_SDO 68 I2S_SDI
69 BOOT1 70 I2S_MCLK
71 SWO 72 nRST
73 SWCLK 74 SWDIO
75 LCD_BL 76 LCD_WE
77 LCD_SDA 78 LCD_SCL
79 LCD_CS 80 LCD_MISO
81 LCD_SCK 82 LCD_MOSI
83 LCD_INT 84 LCD_RST
85 LCD_AD0 86 LCD_AD1
87 LCD_AD2 88 LCD_AD3
89 LCD_AD4 90 LCD_AD5
91 LCD_AD6 92 LCD_AD7
93 LCD_AD8 94 LCD_AD9
95 LCD_AD10 96 LCD_AD11
97 LCD_AD12 98 LCD_AD13
99 LCD_AD14 100 LCD_AD15
101 LCD_OE 102 LCD_A0
103 LCD_TS 104 GND
105 Flash_SCK 106 Flash_MOSI
107 Flash_MISO 108 Flash_CS

Rev. 1.10 13 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
2 Hardware Layout
2 Hardware Layout
Pin No. Description Pin No. Description
109 Button1 110 Button2
111 LED0 112 LED1
113 LED2 114 SCI_CMD
115 SCI_RST 116 SCI_CLK
117 SCI_DET 118 SCI_DIO
119 GND 120 GND
121 5V 122 5V
Micro USB Type B Connector – CN5
Figure 7. Micro USB Type B Connector
Table 4. Micro USB Type B Connector
Pin No. Description Pin No. Description
1 USB_5V 2 D-
3 D+ 4 NC
5 GND

Rev. 1.10 14 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
3 Connection between the e-Link32 Lite and the Target Board
33 Connection between the e-Link32 Lite
and the Target Board
e‐Link32Litev2.0 TargetBoard
Figure 8. Connection between the e-Link32 Lite V2.0 and the Target Board
e‐Link32Litev2.3 TargetBoard
Figure 9. Connection between e-Link32 Lite V2.3 and Target Board

Rev. 1.10 15 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
3 Connection between the e-Link32 Lite and the Target Board
4 Schematics
The diagrams above are the schematic diagram of the connection between the e-Link32 Lite and
the Target Board:
▆The e-Link32 Lite currently uses three hardware versions which are V2.0, V2.2 and V2.3.
Because V2.2 and V2.3 are roughly the same, only V2.3 is listed here. The detailed schematic
diagram will be attached to the schematic section for reference.
▆The U4, U5 and U6 level shifter ICs are responsible for converting the SWDIO and SWCLK pin
voltage levels to the Target MCU voltage level.
When J8 or R8 is selected to be open circuit, CN2-1 is used as an input and the e-Link32 Lite is
separated, the reference voltage must be supplied on CN2-1.
▆J8 or R8 can determine whether VDD_elink32 and CN2-1 are connected together. If they are
connected together, the SWDIO and SWCLK pin higher levels are xed at 3.3V. At the same
time CN2-1 has the ability to output 3.3V, which can be supplied to the user’s own board.
Here it should be noted that if the user’s own board contains a power supply, then CN2-1 cannot
be connected to the user’s own board, otherwise it may cause a power conict.
▆CN2 and CN6 are the SWD connectors of the e-Link32 Lite and the Target Board respectively.
●If the e-Link32 Lite is not separated, there is already a PCB line connection on the board, so
switching S1 to the ON position can connect the Target Board without an additional ying
line connection.
●If the e-Link32 Lite is not separated and S1 is switched to the OFF position, CN2 can be
connected to the user’s own board through a ying line.
●When the e-Link32 Lite is separated, CN2 can be connected to the Target Board CN6 or the
user’s own board through a ying line.
▆The e-Link32 Lite has an integrated USB to UART function which is called the “Virtual COM
Port”, CN8 is its UART side connector.
●If the e-Link32 Lite is not separated, users can use the e-Link32 “Virtual COM Port” functions
by connecting J2 to DAP_TX.
●If the e-Link32 Lite is not separated, and users wish to connect the e-Link32 RX to their
board, they need to erase the Target MCU of the Starter Kit to avoid conict.
●When the e-Link32 Lite is separated, CN8 can be connected to the Target Board or the user’s
own board through a ying line.
44 Schematics
This section shows the HT32 MCU Starter Kit circuit diagrams:
▆e-Link32 Lite V2.0
▆e-Link32 Lite V2.2
▆e-Link32 Lite V2.3
▆HT32F52352 Target Board – ESK32-30501
Other Starter Kit target board circuit diagrams can be downloaded on Holtek ocial website.

PA0
1
PA1
2
PA2
3
PA3
4
PA4
5
PA5
6
PA6
7
PA7
8
VDD33_1
9
VSS33_1
10
LDOOUT
13
LDOIN
14
VSSLDO
15
nRST
16
VBAT
17
PC13_XTAL32KIN
18
PC14_XTAL32KOUT
19
PC15_RTCOUT
20
PB14_XTALIN
21
PB15_XTALOUT
22
PD1/VDD33_2
23
PD2VSS33_2
24
PB12/USBDM
11
PB13/USBDP
12 PA8_BOOT0 25
PA9_BOOT1 26
PA10 27
TRACESWO_PA11 28
SWCLK_PA12 29
SWDIO_PA13 30
PA14 31
PA15 32
VDD33_3 35
VSS33_3 36
PB0 33
PB1 34
PB2 37
PB3 38
PB4 39
PB5 40
PB6 41
PB7 42
PB8 43
PB9 44
PB10 45
PB11 46
VDDA 47
VSSA 48
HT32F165x
U2
HT32F165x_LQFP48
1
2
3
4
5
6
7
8
9
10
CN2
SWD-10P
VDD_elink32
VSS
W_RST
W_SWDIO
W_SWCLK
1
2
3
4
5
CN3
SW
SWCLK
SWDIO
nRST
R9
470
VSS
VSS
VCCB 6
VCCA 7
A1
8
A2
9
DIR1
10
DIR2
1
GND 3
B1 5
OE
2
B2 4
U4
SN74AVC2T245
SWDIO
SWCLK
C13
0.1uF
DC5V
R1 1M
VSS
5V D- D+ ID G
1
2
3
4
5
6
78
9
CN1
USB-Micro
Earth_2 Earth_2
VSS
VSS
R6
27
C1
0.1uF
C2
47pF
C3
47pF
R5
27
VSS
USBDM_elink
USBDP_elink
D3
SS-12W,SS-13W,SS-14W
C12
2.2uF
C9
0.1uF
XTALIN
XTALOUT
C10
0.1uF
C11
0.1uF
C7
0.1uF
VSS
VSS
LED1
LED2
LED3
VDD_elink32
W_RST
W_SWDIO
W_SWCLK
SWDIO
SWCLK
USBDM_elink
USBDP_elink
DIR1
DIR2
MOSI
MISO
SCK
DIR1
DIR2
MOSI
MISO
SCK
nRST
C54
0.01uF
R10
100k
W_RST
Flash_CS
Flash_MISO
Flash_MOSI
Flash_SCK
nRST
VDD_elink32
VDD_elink32
VDD_elink32
VDD_elink32
VDD_TargetBoard
VDD_elink32
VDD_elink32
VDD_elink32
C5
10UF
C6
10UF
PA9_BOOT1
VDD_elink32
XTALIN
XTALOUT
R3
10k VDD_elink32
DAP_TX
DAP_RX
DAP_TX
DAP_RX
C8
0.1uF
1
2
3
4
U1
HT7833
VSS
VSS
R51 1M (NC)
Y1 8M (NC)
C52
10pF (NC)
C53
10pF (NC)
CS
1
SO
2
WP
3
GND
4SI 5
SCLK 6
HOLD 7
VCC 8
U3
MX25L8006E (NC)
FLASH
C4
0.1uF (NC)
R7
10k (NC)
Flash_CS
Flash_MISO
Flash_MOSI
Flash_SCK
B8
IAP (NC)
PA10_IAP
VDD_elink32
VDD_elink32
VDD_elink32
SWO
SWO SWO
R8 0 (NC)
i
BOOT1_TestPoint
Short BOOT1 to GND and
Reset MCU, can boot to
Bootloader
VSS
C51
0.1uF
VDD_TargetBoard
0
VCCB
R9:The Level Shift VCCB
Power Selection
Default Use TargetBoard
Power
Don't configure PD1/PD2 as
Output or Enable Internal Pull
Resistor
1
2
3
CN8
Virtual COM Port
Designator Reserved
For Tar get Board as
below, Do NOT Use
B1 to B7
C14 to C50
CN4 to CN7
D5 to D50
J1 to J7
R11 to R50
S1 to S7
U7 to U20
X1
Y2
Green
D1 USB
Red
D2 Err VDD_elink32
LED1
LED2
R2 330
R4 330
DAP_TX
DAP_RX
GND VSS
VDD_TargetBoard VDD33
Figure 10. e-Link32 Lite V2.0

PA0
1
PA1
2
PA2
3
PA3
4
PA4
5
PA5
6
PA6
7
PA7
8
VDD33_1
9
VSS33_1
10
LDOOUT
13
LDOIN
14
VSSLDO
15
nRST
16
VBAT
17
PC13_XTAL32KIN
18
PC14_XTAL32KOUT
19
PC15_RTCOUT
20
PB14_XTALIN
21
PB15_XTALOUT
22
PD1/VDD33_2
23
PD2VSS33_2
24
PB12/USBDM
11
PB13/USBDP
12 PA8_BOOT0 25
PA9_BOOT1 26
PA10 27
TRACESWO_PA11 28
SWCLK_PA12 29
SWDIO_PA13 30
PA14 31
PA15 32
VDD33_3 35
VSS33_3 36
PB0 33
PB1 34
PB2 37
PB3 38
PB4 39
PB5 40
PB6 41
PB7 42
PB8 43
PB9 44
PB10 45
PB11 46
VDDA 47
VSSA 48
HT32F165x
U2
HT32F165x_LQFP48
VDD_elink32
VSS
W_RST
W_SWDIO
W_SWCLK
1
2
3
4
5
CN3
SW(NC)
DC5V
R1 1M
VSS
5V D- D+ ID G
1
2
3
4
5
6
78
9
CN1
USB-Micro
Earth_2 Earth_2
VSS
VSS
R6
27
C1
0.1uF
C2
47pF
C3
47pF
R5
27
VSS
USBDM_elink
USBDP_elink
D3
SS-12W,SS-13W,SS-14W
C12
2.2uF
C9
0.1uF
XTALIN
XTALOUT
C10
0.1uF
C11
0.1uF
C7
0.1uF
VSS
VSS
LED1
LED2
LED3
VDD_elink32
W_RST
W_SWDIO
W_SWCLK
USBDM_elink
USBDP_elink
MOSI
DIR1
DIR2
MOSI
MISO
SCK
nRST
C54
0.01uF
R10
100k
W_RST
Flash_CS
Flash_MISO
Flash_MOSI
Flash_SCK
VDD_elink32
VDD_elink32
VDD_elink32
VDD_elink32
VDD_elink32
VDD_elink32
VDD_elink32
C5
10UF
C6
10UF
PA9_BOOT1
R3
10k VDD_elink32
DAP_TX
DAP_RX
C8
0.1uF
1
2
3
4
U1
HT7833
VSS
CS
1
SO
2
WP
3
GND
4SI 5
SCLK 6
HOLD 7
VCC 8
U3
MX25L8006E (NC)
FLASH
C4
0.1uF (NC)
R7
10k (NC)
Flash_CS
Flash_MISO
Flash_MOSI
Flash_SCK
B8
IAP (NC)
PA10_IAP
VDD_elink32
VDD_elink32
VDD_elink32
SWO
i
BOOT1_TestPoint
Short BOOT1 to GND and
Reset MCU, can boot to
Bootloader
VSS
Don't configure PD1/PD2 as
Output or Enable Internal Pull
Resistor
Designator Reserved
For Target Board as
below, Do NOT Use
B8
C4 C52 C53
CN2 CN3
R7 R51
U3
Y1
Green
D1 USB
Red
D2 Err VDD_elink32
LED1
LED2
R2 330
R4 330
GND VSS
C13 0.1uF
VDD_elink32
C51
0.1uF
VDD_TargetBoard
VCCA
1
GND
2
A
3B4
DIR 5
VCCB 6
U5
SN74LVC1T45
VCCA
1
GND
2
A
3B4
DIR 5
VCCB 6
U6
SN74LVC1T45
DIR2
DIR1
R9 470
MOSI MISO
VSS
VSS
VDD_elink32
VCCB
SCK SWCLK
SWDIO
VCCB
1
2
3
4
5
6
7
8
9
10
CN2 SWD-10P(NC)
SWCLK
SWDIO
nRST
SWDIO
SWCLK
nRST
VDD_TargetBoard
DAP_TX
DAP_RX
SWO
VDD_TargetBoard
1
2
3
CN8
Virtual COM Port
DAP_TX
DAP_RX
1R15 100
1R16 100
1R17 100
J8: VDD Option
Short : Output
Open: Input
VDD_TargetBoardVDD_elink32
J8
VDD_TargetBoard
Figure 11. e-Link32 Lite V2.2

USBDM_elink
USBDP_elink
0805-C
C5
10uF
HT_SOT-89
VIN
2
GND
1
VOUT 3
4
U1
HT7833
GND
0805-C
C6
10uF
VDD_elink32DC5V
SMA
D3
SS-14
0603-R
R6
27
0603-R
R5
27 0603-C
C2
47pF
0603-C
C3
47pF
5V D- D+ ID G
1
2
3
4
5
6
79
8
USB-Micro
CN1
USB-Micro
Earth_2
Earth_2
0603-RR1 1M
0603-C
C1
0.1uF GND
GND
USB Port
Power
FLASH
CS
1
SO
2
WP
3
GND
4SI 5
SCLK 6
HOLD 7
VCC 8
USON_4x4
U3
MX25L8006E (NC)
0603-R
R7
10K(NC)
Flash_CS
Flash_MISO
VDD_elink32
GND
0603-C
C4 0.1uF(NC)
VDD_elink32
VDD_elink32
GND
Flash_MOSI
Flash_SCK
GND
KEY2-SMT
B8
IAP(NC)
PA10_IAP
Reserved don't fit the component
DAP_TX
DAP_RX
DAP_TX
DAP_RX
1
2
3
HDR1X3
CN8
Virtual COM Port
0603-RR51 100
GND
LED1
LED2
Green
LED_0603
D1 USB
Red
LED_0603
D2 Err
VDD_elink32
0603-R
R2
330
0603-R
R4
330
LEDs
VCCA
1
GND
2
A
3B4
DIR 5
VCCB 6
SOT23-6
U6
SN74LVC1T45
VDD_elink32
SCK SWCLK
DIR2
VDD_TargetBoard
GND
GND
VCCA
1
GND
2
A
3B4
DIR 5
VCCB 6
SOT23-6
U5
SN74LVC1T45
MISO
0603-R
R9
470
MOSI
VDD_elink32
0603-C
C13
0.1uF
0603-C
C51
0.1uF GND
VDD_TargetBoard
DIR1
SWDIO
HDR1X2
J8
VDD_elink32 VDD_TargetBoard
J8: VDD Option
Short : Output
Open: Input
Level Shift
UART Interface
Designator Reserved For Target Board as below,
Do NOT Use in this sheet:
B1 to B7
C14 to C50
CN4 to CN7
D5 to D50
J1 to J7
R11 to R50
S1 to S7
U7 to U20
X1 , Y2
Note
W_RST
W_SWDIO
W_SWCLK
GND
LED1
LED2
LED3
W_RST
W_SWDIO
W_SWCLK
USBDM_elink
USBDP_elink
DIR1
DIR2
MOSI
MISO
SCK
nRST
Flash_CS
Flash_MISO
Flash_MOSI
Flash_SCK
VDD_elink32
VDD_elink32
PA9_BOOT
DAP_TX
DAP_RX
PA10_IAP
SWO
0603-C
C9
0.1uF
0603-C
C7
0.1uF
0603-C
C8
0.1uF
0603-R
R10
100K
0603-C
C54
0.01uF
GND
VDD_elink32
PA0
1
PA1
2
PA2
3
PA3
4
PA4
5
PA5
6
PA6
7
PA7
8
PC4
9
PC5
10
CLDO
13
VDD_1
14
VSS_1
15
nRST
16
PB9
17
X32KIN/PB10
18
X32KOUT/PB11
19
RTCOUT/PB12
20
XTALIN/PB13
21
XTALOUT/PB14
22
PB15
23
PC0
24
USBDM
11
USBDP
12 PA8 25
PA9_BOOT 26
PA10 27
PA11 28
PA12/SWCLK 29
PA13/SWDIO 30
PA14 31
PA15 32
VDD_2 35
VSS_2 36
PB0 33
PB1 34
PB2 37
PB3 38
PB4 39
PB5 40
PC1 41
PC2 42
PC3 43
PB6 44
PB7 45
PB8 46
VDDA 47
VSSA 48
HT32F52341
HT_LQFP48_7*7
U2
HT32F52341_LQFP48
VDD_elink32
0603-R
R3
10K VDD_elink32
0603-C
C12
2.2uF
TP_59
TP1
BOOT
GND
GND
1
2
3
4
5
HDR1X5
CN3
e-Link32 SWD (NC)
GND
VDD_elink32
MCU
SWCLK
SWDIO
nRST
SWDIO
SWCLK
nRST
VDD_TargetBoard
SWO
VDD
1
SWDIO
2
GND
3
SWCLK
4
GND
5
SWO
6
NC
7
NC
8
GND
9
nRST
10
DIP-SWD-10P-2
CN2
SWD-10P (NC)
0603-RR52 100
0603-RR53 100
GND
SWD Interface
0603-RR54 100
0603-RR55 100
0603-RR56 100
Figure 12. e-Link32 Lite V2.3

C28
0.01uF
F_NRST
R14
100K
GND
VDD33
VDD33
1 2
Y2
8MHz
C31
12pF
C32
12pF
C14
2.2uF
MVDD
MVDD
MVDD
GND
GND
C22
2.2uF
C21 2.2uF
C24 0.1uF(can be removed)
C23
0.1uF
GND
MVDD
V B AT
C19
0.1uF
C20
0.1uF
C18
0.1uF
MVDD
C29
20pF
C30
20pF
C15
0.1uF
PB10_LSEi
PB11_LSEo
F_NRST
USBDM_PC6
USBDP_PC7
MVDD
GND
PA0_RTS/I2C
PA1_CTS/I2C
PA2
PA3
PA4
PA5
PA6
PA7
PC9
PC10
PC11
PC12
PB15
WAK_PB12
PD0
PD1
PD2
PD3
PC1_LED/OE
PC2
PC3
PC13
PA8
PA9_BOOT1/M
PA10
PA11
PA12
PA13
PA14
PA15
PB0
PB1
PC4
PC5
PB2
PB3
PB4
PB5
PC8
PC14
PC15_LED/SCI
PB6_LCD/SCI
PB8
VSSVSS
DC5V DC5V
VSSVSS
VDD33
VDD33
VDD33VDD33 VSS
PB13/HSEi PB14/HSEo
PB13 PB14
PB13/HSEi
PB14/HSEo
R18
4.7k(NC)
PA9_BOOT1/MD8 LED2
D9 Power
D7 LED1
R4B 5
R1B 8
R2B 7
R1A
1
R3B 6
R3A
3R2A
2
R4A
4
R20
R8P4R_330
VDD33
DC5V
USB Port & Power
R11 1M
C35
10uF/CASEA
VSS
5V D- D+ ID G
1
2
3
4
5
6
78
9
CN5
USB-Micro
Earth_1 Earth_1
VSS
VSS
R13
27
C25
0.1uF
C26
47pF
C34
0.1uF
VDD33
J1 MVDD
C27
47pF
R12
27
C33
10uF/CASEA
VSS
D5
SS-12W,SS-13W,SS-14W
Boot pin
LSE/HSE/BAT Jumper
B1
Reset
X1
32768
PB10 PB11
1
2
3
4
5
6
7
8
9
10
CN6
SWD-10P
VDD33
PA12
PA13
F_NRST
PA12
PA13 SWDIO
SWCLK
F_NRST nRST
USBDP_PC7
PA0_RTS/I2CPA1_CTS/I2C
PA2 PA3
PA4
PA6
PA7
PC9
PC4
PC5 PC8
USBDM_PC6
PA0_RTS/I2C PA1_CTS/I2C
GND GND
PA0_RTS/I2CPA1_CTS/I2C
PA0_RTS/I2CPA1_CTS/I2C PC9
PC5 PC8
PC9
PC5 PC8
PC10PC11
PC12
WAK_PB12
PD0
PB13 PB14
PB10 PB11
V_BAT
GND
GND
PB15 PC0_LCD/M
PC0_LCD/M
GND
PD1 PD2
PC13
PA8
PA9_BOOT1/M PA10
PA11
PA12 PA13
PA14 PA15
PB0 PB1
F_NRST
PC1_LED/OE
PC2
PC3
PB2 PB3
PB4 PB5
PC14 PC15_LED/SCI
PB6_LCD/SCI
PB7_LCD/SCI PB8
PA9_BOOT1/M
4.7k(NC)
PB6_LCD/SCI
PD3
PC15_LED/SCI
PC1_LED/OE
PC10
PC11 PC12
PD1 PD2
PD3
PC14 PC15_LED/SCI
PB7_LCD/SCI
PB7_LCD/SCI
USBDP_PC7 USBDM_PC6
VSS
DC5V
PC14
PC15_LED/SCI
R21
0(NC)
R22
0(NC) R23
0(NC) R24
0(NC)
VBAT
V_BAT
R19
0
MVDD
NC
PB13/HSEi
PB14/HSEo
PB10_LSEi PB11_LSEo
PB10_LSEi
PB11_LSEo
PC9
PC5 PC8
PC0_LCD/M
GND
1GND 2
I2S_BCLK
3I2S_WS 4
RS232_RX
5RS232_TX 6
M_IO4
7
B0_WAKEUP
27
M_IO2
9M_IO3 10
M_IO0
11 M_IO1 12
M_TX
13 M_RX 14
M_RTS
15 M_CTS 16
M_MISO
17 M_CS 18
M_SCK
19 M_MOSI 20
M_SDA
21 M_SCL 22
Touch_SDA
23 Touch_SCL 24
EE_SDA
25 EE_SCL 26
BUZZER 8
V_BAT 28
VR
29 GND 30
SD_D0/MISO
33 SD_D1 34
SD_D2
35 SD_D3/CS 36
SD_CLK
37 SD_CMD/MOSI 38
CSIF_LED
39 SD_CD 40
CSIF_RESB
43 CSIF_PWDN 44
CSIF_MCLK 46
CSIF_PCLK
45
CSIF_VSYNC 48
CSIF_HSYNC
47
CSIF_D6
49 CSIF_D7 50
CSIF_D4
51 CSIF_D5 52
CSIF_D2
53 CSIF_D3 54
CSIF_D0
55 CSIF_D1 56
GND
57 GND 58
3.3V
59 3.3V 60
3.3V
61 3.3V 62
GND
63 GND 64
I2S_SDO
67 I2S_SDI 68
BOOT1
69 I2S_MCLK 70
SWDIO 74
SWCLK
73
LCD_BL
75 LCD_WE 76
LCD_SDA
77 LCD_SCL 78
LCD_CS
79 LCD_MISO 80
LCD_SCK
81 LCD_MOSI 82
LCD_INT
83 LCD_RST 84
LCD_AD0
85 LCD_AD1 86
LCD_AD2
87 LCD_AD3 88
LCD_AD4
89 LCD_AD5 90
LCD_AD6
91 LCD_AD7 92
LCD_AD8
93 LCD_AD9 94
LCD_AD10
95 LCD_AD11 96
LCD_AD12
97 LCD_AD13 98
LCD_AD14
99 LCD_AD15 100
LCD_OE
101 LCD_A0 102
LCD_TS
103 GND 104
Flash_SCK
105 Flash_MOSI 106
Flash_MISO
107 Flash_CS 108
Button1
109 Button2 110
LED0
111 LED1 112
LED2
113 SCI_CMD 114
SCI_RST
115 SCI_CLK 116
SCI_DET
117 SCI_DIO 118
GND
119 GND 120
5V
121 5V 122
CSIF_SDA
41 CSIF_SCL 42
nRST 72
SWO
71
LSE_In
31 LSE_Out 32
I2S_SDA
65 I2S_SCL 66
CN4
GPDVB_Connector_S
C16 10pF(NC)
C17 10p(NC)
R15 100
R16 100
R17 100
GND VSS
PA0
1
PA1
2
PA2
3
PA3
4
PA4
5
PA5
6
PA6
7
PA7
8
VDD33_1
9
VSS33_1
10
PC4
11
PC5
12
LDOOUT
17
LDOIN
18
VSSLDO
19
nRST
20
V B AT
21
PB10_XTAL32KIN
22
PB11_XTAL32KOUT
23
PB12_RTCOUT
24
PB13_XTALIN
26
PB14_XTALOUT
27
PB15
28
PC0
29
PC8
13
PC9
14
PC6/USBDM
15
PC7/USBDP
16
PD0
25
PC10
30
PC11
31
PC12
32
PC13 33
PA8 34
PA9_BOOT 35
PA10 36
PA11 37
SWCLK_PA12 38
SWDIO_PA13 39
PA14 40
PA15 41
VDD33_3 42
VSS33_3 43
PB0 44
PB1 45
PD1 46
PD2 47
PD3 48
PB2 49
PB3 50
PB4 51
PB5 52
PC14 53
PC15 54
VDD33_4 55
VSS33_4 56
PC1 57
PC2 58
PC3 59
PB6 60
PB7 61
PB8 62
VDDA 63
VSSA 64
HT32F52352
U7
HT32F52352_LQFP64
I/O1
1
GND
2
I/O2
3I/O3 4
VCC 5
I/O4 6
U8
TESDS5V0A
3
2
1
4
Vin Vout
GND
TAB
LM1117
U9
LM1117
1
2
3
4
8
7
6
5
S1
SW DIP-4
DAP_TX
DAP_RX
1
2
3
J2
JUMPER2
PA5
RS232_TX
RS232_TX
1uF (or 2.2uF) capacitor from
the LDOOUT/CLDO to the VSS is
required (close to MCU).
External pull up resistance of the nRST can
be changed to 10K for interference/noise
rejection. The capacitor from the nRST to
VSS can be NC if no button used.
The VBAT must connect to the VDD
when no extra battery is used in the
system (VBAT floating is not allowed). The BOOT pin must be maintained at high level when reset.
4.7K external pull up resistance may be required for the BOOT
pin (for interference/noise rejection and rising time during the
reset).
Figure 13. HT32F52352 Target Board – ESK32-30501

Rev. 1.10 20 of 20 August 12, 2020
HT32 MCU
Starter Kit User Manual
4 Schematics
Copyright©2020 by HOLTEK SEMICONDUCTOR INC.
The information appearing in this Data Sheet is believed to be accurate at the time
of publication. However, Holtek assumes no responsibility arising from the use of
the specifications described. The applications mentioned herein are used solely for
the purpose of illustration and Holtek makes no warranty or representation that such
applications will be suitable without further modification, nor recommends the use of
its products for application that may present a risk to human life due to malfunction or
otherwise. Holtek's products are not authorized for use as critical components in life
support devices or systems. Holtek reserves the right to alter its products without prior
notication. For the most up-to-date information, please visit our web site at http://www.
holtek.com.
Table of contents
Other Holtek Microcontroller manuals

Holtek
Holtek HT93214 Series User manual

Holtek
Holtek HT32F52352 Use and care manual

Holtek
Holtek HT46RU67 User manual

Holtek
Holtek HT66F60A User manual

Holtek
Holtek BS67F340 User manual

Holtek
Holtek HT48RU80 User manual

Holtek
Holtek HT32F52342 User manual

Holtek
Holtek HT46RU75D-1 User manual

Holtek
Holtek HT85F2270 User manual

Holtek
Holtek BS82B12A-3 User manual

Holtek
Holtek BC66F2332-1 User manual

Holtek
Holtek HT49R30A-1 User manual

Holtek
Holtek HT32 User manual

Holtek
Holtek HT66F488 User manual

Holtek
Holtek HT32 Instruction Manual

Holtek
Holtek HT32 User manual

Holtek
Holtek HT66F20 User manual

Holtek
Holtek BS83B24C User manual

Holtek
Holtek HT46RU66 User manual

Holtek
Holtek HT48R10A-1 User manual