32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
1/N frame = 64 clocks
(DTYNUM = 3), N = 4
CK_LED
Scanning
Frequency
SEGx
SEGxPOL = 0
C0Sx
(x = 0, 1, ..., 7)
COM Duty = 59 clocks
Deadtime Duty
= 5 clocks
(DEADNUM = 5)
COM0
COM5
COM7
COMyPOL = 1
(y = 0, 5 ~ 7)
Figure 195. Common Cathode 8-segment Digital Display + NPN Transistor Timing
Common Anode 8-segment Digital Display + PNP BJT Connection
SEG output low and COM output low → LED on
▆
COM output high → LED off
▆
The register configurations are as follows:
Set SEGxPOL = 1, the output is inverted. Set COMyPOL = 0, the output is non-inverted.
▆
Set DTYNUM[1:0] = b11, the period of each digital display scan is 64 CK_LED clocks.
▆
The selected COMs are enabled.
▆
Figure 196. Common Anode 8-segment Digital Display + PNP BJT Connection
Rev. 1.00
1 Frame
.
.
.
C5Sx
V
DD
SEG0
SEG1
SEG2
SEG3
536 of 576
.
.
.
R
COMy
(y = 0, 5 ~ 7)
SEG4
SEG5
SEG6
SEG7
.
.
.
C7Sx
January 28, 2022
Need help?
Do you have a question about the HT32F54231 and is the answer not in the manual?