Appendix B: Watchdog
a
B: w
PPendIx
Command register and address description:
Command for light sensor:
Command
Description
0x89
Reset watch dog time interval
0x28
Start watchdog
0x29
Stop watchdog
0x2A
Reset watchdog
Address for watchdog:
Watchdog is used to setup time interval and also keep event status. Unit
time interval is 1ms. Time setting requires a word (8 bit) long length. You
can setup watch dog event time from 0 to 0xFFFFFFFE. Write 0xFFFFFFFF to
time interval setting means disable watchdog event. So the interval time
range is from 0ms to 497 day (0~0x0xFFFFFFFE)
Address
Description
0x50-0x53
0~0xFFFFFFFE,
Copyright © 2015 NEXCOM International Co., Ltd. All Rights Reserved.
atChdog
Setup Watchdog time interval description:
Sequence to read light sensor::
Step Action
0
Wait IBF clear
1
Write 0x89 to 0x66
2
Wait IBF clear
Write RAM address
3
to 0x62 port
4
Wait OBF set
Write watchdog
5
time interval value
to 0x62
57
RW sample
Description
code command
x
Send read command
>o 0x66 0x89
x
Send Watchdog
>o 0x62 0x50
address 0x50~0x53.
x
Values from
0~0x0xFFFFFFFE, but
two bit in each address,
>o 0x62 0x90
please refer to sample
code explanation
NISE 50C/50C-H User Manual
Need help?
Do you have a question about the NISE 50C-H and is the answer not in the manual?