Holtek HT16H25 Скачать руководство пользователя страница 4

         HT16H25 Treadmill Display Application Guideline 

 

AN0505E  V1.00 

4 / 22 

January 8, 2019 

Read Operations 

For a device read operation, after the host sends a START signal the slave address 
"0111100" + R/W bit (= "0") will be sent, after which a command byte will be sent, then an 
address byte and a STOP signal. This now denotes the completion of the start address 
configuration. The host then resends a START signal, and then sends the slave address 
"0111100" + R/W bit(="1"), after which the host can read back a byte of data. The host 
sends an ACK signal to the slave after reading each byte of data, after which it can read 
back the data from the next address thus implementing continuous read operations. 
When the memory address has been increased to its maximum address, it will return to 
00h, and then send a NACK  STOP signal after the operation is completed. The 
timing of the read operation is as follows: 

ACK

Write

ACK

P

Slave

 

 Address

S

0

1

1

1

1

0

0

0

Data byte

NACK

D7

D6

D5

D4

D3

D2

D1

D0

1st data

Data byte

ACK

P

D7

D6

D5

D4

D3

D2

D1

D0

Nth data

Data byte

D7

D6

D5

D4

D3

D2

D1

D0

2nd data

ACK

ACK

ACK

Slave Address

Read

S

0

1

1

1

1

0

0

1

ACK

Address byte

Command byte

A0

A1

A2

A3

A4

A5

A6

A7

BIT0

BIT1

BIT2

BIT3

BIT4

BIT5

BIT6

BIT7

 

HT16H25 Related Instruction Description 

LCD Function Command 

 

Software Reset Command 

Command  R/W 

Bit7 

Bit6 

Bit5 

Bit4 

Bit3 

Bit2 

Bit1 

Bit0 

Def. 

Software 

Reset 

AAh 

Note:  After a software reset the register condition is the same as for a Power-on 
Reset. 

 

Driver Mode Setting Commands 

Command  R/W 

Bit7 

Bit6 

Bit5 

Bit4 

Bit3 

Bit2 

Bit1 

Bit0 

Def. 

Drive Mode   

Setting 

82h 

DT3 

DT2 

DT1 

DT0 

BS2 

BS1 

BS0 

F7h 

Note: LCD Duty and Bias are setup as follows: 

DT3  DT2  DT1  DT0  Duty Setting 

 

  DT3  DT2  DT1  DT0  Duty Setting 

Static 

 

1/9 

1/2 

 

1/10 

1/3 

 

1/11 

1/4 

 

1/12 

1/5 

 

1/13 

1/6 

 

1/14 

1/7 

 

1/15 

1/8 

 

1  1/16 (default) 

 

Содержание HT16H25

Страница 1: ...divider to drive LCD screens with an operating voltage range of 2 5V to 12V The device supports 4 of GPO output ports and can set the GPO output to a 64 level PWM output mode to drive the LED backligh...

Страница 2: ...ART RATE Heart rate display FITNESS SCORE Fitness score display TODAY S AWARDS Present day s award AVG SPEED Average Speed display TIME Display time for example 0 02 59 DISTANCE Distance Display AVG C...

Страница 3: ...nt continuous register data can be sent after which it is ended with a STOP signal The timing for writing a compound command is as follows Slave Address ACK Write Register byte ACK S 0 1 1 1 1 0 0 0 A...

Страница 4: ...ollows ACK Write ACK P Slave Address S 0 1 1 1 1 0 0 0 Data byte NACK D7 D6 D5 D4 D3 D2 D1 D0 1st data Data byte ACK P D7 D6 D5 D4 D3 D2 D1 D0 Nth data Data byte D7 D6 D5 D4 D3 D2 D1 D0 2nd data ACK A...

Страница 5: ...HT16H25 Treadmill Display Application Guideline AN0505E V1 00 5 22 January 8 2019...

Страница 6: ...tus of each register is as follows Both internal clock and LCD display are off All Commons and Segments are set to VSS GPO functions are disabled PWM function and outputs are disabled Set RE 0 and CE...

Страница 7: ...48 373 320 280 249 224 407 373 345 320 299 280 1 1 1 1 300 300 267 300 480 400 343 300 267 240 436 400 369 343 320 300 Blinking Frequency Setting Command Command R W Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1...

Страница 8: ...5 A4 A3 A2 A1 A0 00h W D7 D6 D5 D4 D3 D2 D1 D0 Note A 7 0 Memory address If the setup LCD RAM address is not within the address range the entered data is invalid D 7 0 display data Read Display Data f...

Страница 9: ...LCD display data comes from RAM page 1 GPO PWM Function Command The GPO output function can output control signals to control external circuits The outputs can be set to be logical outputs or PWM outp...

Страница 10: ...it1 Bit0 Def Write PWM data to GPO0 W 1 0 1 1 0 0 0 0 B2h W X X D5 D4 D3 D2 D1 D0 00h Write PWM data to GPO1 W 1 0 1 1 0 0 0 0 B4h W X X D5 D4 D3 D2 D1 D0 00h Write PWM data to GPO2 W 1 0 1 1 0 0 0 0...

Страница 11: ...Regulator 2 7 2 7 5 4 8 1 10 8 13 5 1 1 1 1 2 2 3 3 4 4 5 5 2 8 2 8 5 6 8 4 11 2 14 0 1 2 1 2 2 4 3 6 4 8 6 0 2 9 2 9 5 8 8 7 11 6 14 5 1 3 1 3 2 6 3 9 5 2 6 5 3 0 3 0 6 0 9 0 12 0 15 0 1 4 1 4 2 8 4...

Страница 12: ...8 0 0 0 1 1 1 3 1 0 0 1 1 2 9 0 0 1 0 0 1 4 1 0 1 0 0 3 0 0 0 1 0 1 1 5 1 0 1 0 1 3 1 0 0 1 1 0 1 6 1 0 1 1 0 3 2 0 0 1 1 1 1 7 1 0 1 1 1 3 3 0 1 0 0 0 1 8 1 1 0 0 0 3 4 0 1 0 0 1 1 9 1 1 0 0 1 3 5 0...

Страница 13: ...CD Bias chooses the resistor divider there are 3 resistor values to choose 4K 8K or 16K For this option VLCD can only be provided by an external power supply LCD Bias Circuit Select Command Command R...

Страница 14: ...perating Flow Initialisation The device initialisation process is shown in the figure below After the system is powered on first reset the device software then set the Charge Pump circuit according to...

Страница 15: ...this corresponding address after which enable the LCD display should be enabled This is shown in the following flowchart Next Processing Start Address Setting Display Data RAM Write Display on Operati...

Страница 16: ...U power is a DC 5V voltage The main control MCU uses an HT66F50 to communicate with the HT16H25 using the I 2 C interface to drive the LCD display FB1 1 2 3 4 5 P1 MicroUSB 22uF 1206 C2 0 1uF 0805 C1...

Страница 17: ...G4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG3...

Страница 18: ...HT16H25_100LQFP IO_CSB IO_CLK IO_DIO C1 1uF 0805 C2 0 1uF 0805 C3 0 1uF 0805 C4 0 1uF 0805 C5 C6 0 1uF 0805 C7 0 1uF 0805 C8 0 1uF 0805 C9 0 1uF 0805 C10 0R 0805 R1 0R 0805 R2 0R 0805 R3 0R 0805 R4 0R...

Страница 19: ...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 HT16...

Страница 20: ...de Select Select the treadmill internal program P1 P7 The LCD displays a corresponding example and the speed changes accordingly The speed shows the initial running speed The PWM duty is adjusted acco...

Страница 21: ...ented every 100ms until 93 During this process illuminate The heart rate is updated every 300ms and decreases to 84 Shows the average speed for this activity Maintains the screen for 3s adjusts the PW...

Страница 22: ...ising in using or in connection with the use of this website by any party There may be links in this area which allow you to visit the websites of other companies These websites are not controlled by...

Отзывы: