Chapter 6: Omnii Expansion Ports and Connectors
Expansion Port Standard Interfaces
100
Psion Teklogix Omnii HDK User Manual
6.4.5
Expansion Port Standard Interfaces
6.4.5.1 Serial (UART) Interface
Serial expansion modules can be connected as standard UART devices through the following
signal pins on the expansion ports:
These pins can be configured for two different functions: GPIO (General Purpose Input/Output),
or serial communication. To configure these pins for serial communication, configure the
PinFunctions
registry entry for the expansion device accordingly (see Section 4.4.1: “Registry
Settings for Expansion Devices”).
To identify an expansion device as a serial device and load the UART driver, configure its
LoadFlags
registry entry to
0
(see Section 4.4.1: “Registry Settings for Expansion Devices”).
Additionally, the serial driver can be instructed to provide serial modem functions (RI, DCD, DSR
and DTR) on pins 4 through 7 of the GPIO interface.
To enable these signal pins, make sure that they are configured for GPIO operation (see
Section 6.4.5.3 on page 101), and set the following registry keys for the serial driver:
Serial communication is supported up to 115200 kbps.
Table 6.10 Expansion Port Serial Pins
Pin Name
(
n
=Expansion Port #)
Description
Expansion Port
1 & 2 Pin
Expansion Port 3
Pin
EXP
n
_TXD_GPIO0
Serial Transmit Data (output)
13
19
EXP
n
_RXD_GPIO1
Serial Receive Data (input)
12
17
EXP
n
_CTS_GPIO2
Serial Clear-to-Send (input)
11
15
EXP
n
_RTS_GPIO3
Serial Request-to-Send (output)
10
13
Note: All pin directions are given with reference to the Omnii connector. e.g., the TXD line is for
data transmitted from Omnii to the expansion device.
Table 6.11 Expansion Port Modem Pins (GPIO)
Pin Name
(
n
=Expansion Port #)
Description
Expansion Port
1 & 2 Pin
Expansion Port 3
Pin
EXP
n
_MOSI_GPIO4
GPIO pin 4 / Modem RI (input)
17
27
EXP
n
_MISO_GPIO5
GPIO pin 5 / Modem DCD (input)
16
25
EXP
n
_SCLK_GPIO6
GPIO pin 6 / Modem DSR (input)
15
23
EXP
n
_CS_N_GPIO7
GPIO pin 7 / Modem DTR (output)
14
21
[HKLM\Drivers\Expansion\iglooUart_Exp1]
“GpioPinRI”=dword:1 ; Enable/Disable GPIO RI (1=Enable)
“GpioPinDCD”=dword:1 ; Enable/Disable GPIO DCD
“GpioPinDSR”=dword:1 ; Enable/Disable GPIO DSR
“GpioPinDTR”=dword:1 ; Enable/Disable GPIO DTR
Содержание OMNii HDK XT10
Страница 4: ......
Страница 10: ......
Страница 12: ......
Страница 18: ......
Страница 20: ......
Страница 24: ......
Страница 26: ......
Страница 32: ......
Страница 72: ......
Страница 90: ......
Страница 92: ......
Страница 116: ......
Страница 124: ......
Страница 126: ......
Страница 130: ......
Страница 132: ......
Страница 154: ......
Страница 168: ......
Страница 170: ......
Страница 182: ......
Страница 184: ......
Страница 188: ......