5. Software Utilities
42
SPI-8150-LVA, SPI-8151-LVA
5.4. Watch-Dog-Timer (WDT) Setting
WDT is widely used for industry application to monitoring the activity of CPU.
Application software depends on its requirement to trigger WDT with adequate timer setting.
Before WDT time out, the functional normal system will reload the WDT. The WDT never
time out for a normal system. The WDT will not be reload by an abnormal system, then
WDT will time out and reset the system automatically to avoid abnormal operation.
SPI-8150-LLVA supports 15 levels watchdog timer by software programming I/O
ports. Write any value to I/O address 0441H will disable Watch-Dog-Timer. Write setting
code (please reference to WDT Setting Table) to I/O 0443h will re-load WDT.
Below is an assembly program example for disable and load of WDT.
MOV DX,0441H REM Write any value to 0441H, disable WDT
OUT DX,AX;
MOV AX,0001H REM set WDT timer = 28 Sec
MOV DX,0443H
OUT DX,AX REM trigger WDT with timer setting
VALUE
TIMER
VALUE
TIMER
VALUE
TIMER
VALUE
TIMER
0
30 Sec.
4
22 Sec.
8
14 Sec.
C
6 Sec.
1
28 Sec.
5
20 Sec.
9
12 Sec.
D
4 Sec.
2
26 Sec.
6
18 Sec.
A
10 Sec.
E
2 Sec.
3
24 Sec.
7
16 Sec.
B
8 Sec.
F
Don’t set
Note:
The timer’s intervals have a tolerance of ±5%.
Содержание SPI-8150-LLVA
Страница 7: ...vi SPI 8150 LVA SPI 8151 LVA...
Страница 33: ...2 Hardware Installations 26 SPI 8150 LVA SPI 8151 LVA...
Страница 45: ...4 CPU Card Resources 38 SPI 8150 LVA SPI 8151 LVA...