Appendix B : Wdt Functions - Vecow EMBC-1000 User Manual

3.5” embedded single board computer w/ intel core i7/i5/i3 soc (skylake-u), 2 gbe lan, 4 usb 3.0, 5 com, sumit, extended temp
Table of Contents

Advertisement

B

APPENDIX B : WDT Functions

B.1 Function Description
The WDT are using internal Super I/O function. However, you must entry super
I/O configuration mode to set it.
Super I/O special address port = 0x2E
Super I/O special data port = 0x2F
GPIO Logical device is 0x07
B.2 Entry Functions
1. Entry MB PnP Mode.
//write twice 0x87 value.
outportb(Super I/O special address port, 0x87);
outportb(Super I/O special address port, 0x01);
outportb(Super I/O special address port, 0x55);
outportb(Super I/O special address port, 0x55);
2. Located on Logical Device 7(LOGIC_DEVICE_WDT)
//write 0x07 on Reg [0x07] , this setup must follow Step A. that can be workable.
outportb(Super I/O special address port, 0x07);
outportb(Super I/O special data port, 0x07);
3. Config the WDT Register
outb(WDT_Config,SPECIAL_ADDRESS_PORT);
outb(WDT_As_Second|WDT_Pin_PWRGD,SPECIAL_DATA_PORT);
4. Start WDT TimeOut Value
Here have 2 Byte for WDT timing count, MSB and LSB should be write the
value separate.
WDT_TimeOut_MSB,SPECIAL WDT_TimeOut_LSB,SPECIAL
outb(WDT_TimeOut_LSB,SPECIAL_ADDRESS_PORT);
outb(WDT_TimeOutValue,SPECIAL_DATA_PORT);
Appendix B
69

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents