
HT16H25 Treadmill Display Application Guideline
AN0505E V1.00
19 / 22
January 8, 2019
The diagram shows the HT16H25 LCD display circuit. Three HT16H25 pins, CSB,
SCL/CLK and SDA/DIO are the communication pins for the master MCU. The IFS pin
is connected to either V
SS
or V
DD
to select the communication interface to be either
SPI or I
2
C. Select the integrated Charge Pump boost circuit output to drive a 10V LCD
screen, the Vmax Pin is connected to V0 and the V0~V4 pins are the 5 LCD bias pins.
The LCD display is controlled via the 16 COM and 58 SEG output drive pins.
GPO0~GPO3 can be selected to be either logic or PWM outputs to control the LCD
RGB backlight.
Software Description
In accordance with the above application the HT16H25 LCD Demo main program flow will
now be described.
Main Program Flowchart
START
CLR_RAM();
SYS_Initial();
HT16H25_Initial();
dis_mode0=0?
Initialise LCD screen
dis_mode0=1?
Treadmill option select
dis_mode0=2?
Simulate Treadmill
Display Mode
dis_mode0=3?
Calculate Activity
Score Mode
Update Timer and
Display RAM
Y
Y
Y
Y
N
N
N
N
The program clears the RAM after power-on, initialises the program parameters,
initialises the TM2 parameters, sets up an interrupt of 10ms and then initialises the
HT16H25 using the I
2
C serial communication.