beautypg.com

B: gpi/o p, Ppendix, Rogramming – NEXCOM NDiS 163 User Manual

Page 58: Uide

background image

Copyright © 2009 NEXCOM International Co., Ltd. All Rights Reserved.

45

Appendix B: GPI/O Programming Guide

NDiS 163 User Manual

a

PPendix

B: gPi/o P

rogramming

g

uide

This appendix provides definitions for the GPI/O pins in NDiS 163. GPI/O
(General Purpose Input/Output) pins are provided for custom system
design. The pin programmed as input mode (GPI) or output mode (GPO)
depends on the configuration.

Command Format Define

Command

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

GPIO mapping GP

I 3

GP

I 2

GP

I 1

GP

I 0

GPO 3 GPO 2 GPO 1 GPO 0

Connector Pin Define

1

2

3

4

5

6

7

8

9

10

GPO 0 GPO 1 GPO 2 GPO 3 GP

I 0

GP

I 1

GP

I 2

GP

I 3

5V

GND

O 0

O 1

O 2

O 3

I 0

I 1

I 2

I 3

OUTPUT

INPUT

Test Method

The steps below will guide you in verifying the GPIO port.
Step 1
Short pins 3-7, 4-8, 5-9 and 6-10 of the CN2 connector.
Step 2
Boot the system in DOS operating environment.
Run the debug utility in C:\ then enter
-o 801 F3
-i 801
-33