Nexcom NISE 50C-H User Manual page 72

Iot automation solutions business group; fan-less computer
Table of Contents

Advertisement

Appendix B: Watchdog
Sample explanation:
To set up watchdog time interval to 4 sec, here is the vale should fill in in
each address.
4sec = 400 ms (decimal) = 190 (hexadecimal)
Address
0x50
0x51
Data
0x00
0x00
Complete command set sequence:
Further description
Command
>o 0x66 0x89
Set watch dog
>o 0x66 0x89
interval, write to
address 0x50~0x53
>o 0x66 0x89
and Data"00000190"
>o 0x66 0x89
Reset Watchdog time interval description:
This command is used to reset watchdog time.
Sequence to read light sensor:
Step Action
Description
0
Wait IBF clear
Send reset watchdog
1
Write 0x2A to 0x66
command
2
Wait OBF set
If setup successfully,
3
Read 0x62 port
EC will return 0x03.
Copyright © 2015 NEXCOM International Co., Ltd. All Rights Reserved.
0x52
0x53
0x01
0x90
Address
Data
>o 0x62 0x50
>o 0x00
>o 0x62 0x51
>o 0x00
>o 0x62 0x52
>o 0x01
>o 0x62 0x53
>o 0x90
11
12
RW sample code
command
x
>o 0x66 0x2A
x
x (check 0x03
output on display)
Start Watchdog description:
Step Action
0
Wait IBF clear
1
Write 0x28 to 0x66
2
Wait IBF clear
3
Write 0x01 to 0x62
4
Wait OBF set
5
Read 0x62 port
Stop Watchdog description:
Step Action
0
Wait IBF clear
1
Write 0x29 to 0x66
2
Wait OBF set
3
Read 0x62 port
58
RW sample code
Description
command
x
Send start watchdog
>o 0x66 0x28
command
x
>o 0x62 0x01
(check 0x03 output
on display)
x
x
If setup successfully,
(check 0x01 output
EC will return 0x01.
on display)
RW sample code
Description
command
x
Send stop watchdog
>o 0x66 0x29
command
x
x
If setup successfully,
(check 0x02 output
EC will return 0x02.
on display)
NISE 50C/50C-H User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NISE 50C-H and is the answer not in the manual?

This manual is also suitable for:

Nise 50c

Table of Contents