User`s manual
RTD Embedded Technologies, Inc. | www.rtd.com 24 COM16155ER/COM16155RER User’s Manual
6 Register Address Space
This chapter shows you how to program and use your COM16155. It provides a general description of the I/O map.
6.1 General Board Control
The memory map of the COM16155 occupies two groups of eight bytes of host PC I/O space. This window is freely selectable by the user by
jumpers JP6 for GPS BASE and JP7 for the GSM BASE. After setting the base address you have access to the internal resources of the
COM16155 control logic. The board also has 16 digital I/O lines that can be accessed several ways.
Table 11: Register Map
ADDRESS (hex)
REGISTER
DIRECTION
COMMENTS
GSM BASE + 0
TXD
Read
Standard
16C550 UART
Registers
RXD
Write
BAUD div. Low
Read/Write
GSM BASE + 1
BAUD div. Low
Read/Write
IRQ enable
Read/Write
GSM BASE + 2
IRQ ID
Read/Write
GSM BASE + 3
Line control
Read/Write
GSM BASE + 4
Modem control
Read/Write
GSM BASE + 5
Line status
Read
GSM BASE + 6
Modem status
Read
GSM BASE + 400h
Digital I/O
Read/Write
COM17045 compatibility DIO
GSM BASE + 401h
Reserved
GSM BASE + 402h
GSM Status
Read/Write
Configuration Registers
GSM BASE + 403h
GSM Control
Read/Write
Power Control
GSM BASE + 404h
Digital I/O
Read/Write
Digital I/O bits 0-7
GSM BASE + 405h
Digital I/O
Read/Write
Digital I/O bits 8-15
GSM BASE + 406h
Digital I/O Direction
Read/Write
Digital I/O direction bits 0-7
GSM BASE + 407h
Digital I/O Direction
Read/Write
Digital I/O direction bits 8-15
GSM BASE + 800h
RTD ID Data
Read
Read next RTD ID Character
GSM BASE + 801h
RTD ID Data
Read
Read next RTD ID Character
GSM BASE + 802h
Reset RTD ID
Read
Reset RTD ID counter
Table 12: Register Map
ADDRESS (hex)
REGISTER
DIRECTION
COMMENTS
GPS BASE + 0
TXD
Read
Standard
16C550 UART
Registers
RXD
Write
BAUD div. Low
Read/Write
GPS BASE + 1
BAUD div. Low
Read/Write
IRQ enable
Read/Write
GPS BASE + 2
IRQ ID
Read/Write
GPS BASE + 3
Line control
Read/Write
GPS BASE + 4
Modem control
Read/Write
GPS BASE + 5
Line status
Read
GPS BASE + 6
Modem status
Read
GPS BASE + 400h
Digital I/O
Read/Write
COM17045 compatibility DIO
GPS BASE + 401h
GPS Status
Read/Write
Configuration registers
GPS BASE + 402h
Reserved
GPS BASE + 403h
Reserved
GPS BASE + 404h
Digital I/O
Read/Write
Digital I/O bits 0-7
GPS BASE + 405h
Digital I/O
Read/Write
Digital I/O bits 8-15
GPS BASE + 406h
Digital I/O Direction
Read/Write
Digital I/O direction bits 0-7
GPS BASE + 407h
Digital I/O Direction
Read/Write
Digital I/O direction bits 8-15
GPS BASE + 800h
RTD ID Data
Read
Read next RTD ID Character
GPS BASE + 801h
RTD ID Data
Read
Read next RTD ID Character
GPS BASE + 802h
Reset RTD ID
Read
Reset RTD ID counter