Appendix B: Watchdog
Complete command set sequence:
Further Description Command
Set watchdog
>o 0x66 0x89 >o 0x62 0x50 >o 0x00
interval, write to
>o 0x66 0x89 >o 0x62 0x51 >o 0x00
address 0x50~0x53
>o 0x66 0x89 >o 0x62 0x52 >o 0x01
and Data
>o 0x66 0x89
"00000190"
1.3 Read Watchdog Time Interval Description:
Step
Action
Description
0
Wait IBF clear
Write 0x88 to
1
Send read command
0x66
2
Wait IBF clear
Write RAM
Send watchdog
3
address to 0x62
address 0x50~0x53
port
4
Wait OBF set
Get Light sensor
5
Read 0x62 port
data in current
address
Please note different address cannot read continuously, you should run read
command steps all over again till the last address location.
Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved.
Address
Data
>o 0x62 0x53
>o 0x90
RW Sample Code
Command
x
>o 0x66 0x88
x
>o 0x62 0x50
x
>i 0x62
Further Description Command
Send cmd to read
>o 0x66 0x88 >o 0x62 0x50 >i 0x62
address 0x50
Send cmd to read
>o 0x66 0x88 >o 0x62 0x51 >i 0x62
address 0x51
Send cmd to read
>o 0x66 0x88 >o 0x62 0x52 >i 0x62
address 0x52
Send cmd to read
>o 0x66 0x88
address 0x53
To complete read 0x50 ~ 0x53 address, you have to complete the commands
from 1~12.
1.4 Reset Watchdog Time Interval Description:
This command is used to reset watchdog time.
Step
Action
0
Wait IBF clear
Write 0x2A to
1
0x66
2
Wait OBF set
3
Read 0x62 port
60
Address
Read
>o 0x62 0x53
>i 0x62
RW Sample Code
Description
Command
x
Send reset watchdog
>o 0x66 0x2A
command
x
x
If setup successfully,
(check 0x03 output
EC will return 0x03.
on display)
CE-HW-01/02 User Manual
Need help?
Do you have a question about the CE-HW-01 and is the answer not in the manual?
Questions and answers