Connect Tech - Xtreme/Multi-I/O - Users Guide
Document: CTIM-00116
Revision: 0.02
0.02
Page 28 of 50
Connect Tech Inc. Proprietary Information
Date: Apr. 14, 2015
Board Control/Status Registers
Implemented in the FPGA is 2 registers which assist with the operation of the board. The Base PC/104
IO-Address for these registers is defined by the
BP=
command.
Register
Function
IO Offset
INTR_STAT
Interrupt Status
0x00 (read-only)
RESET_CONT Reset Control
0x00 (write-only)
LED_CONT
LED Control
0x01 (write-read)
INTR_STAT Register (Offset 0x00, read-only)
Software can use the
Interrupt Status
register to determine which interrupts are active. All bits are
“active-high”.
Control Item
Bit
Offset
Bit
Value
Comment(s)
Uart Group-1
0
0x1 Uart Ports 1 through 4 interrupt is active
Uart Group-2
1
0x2 Uart Ports 5 through 8 interrupt is active
CAN Port-1
2
0x4 CAN Port 1 interrupt is active
CAN Port-2
3
0x8 CAN Port 2 interrupt is active
J1708 Port
4
0x10 J1708 Port interrupt is active
Unused
5
7
Reserved for future use
RESET_CONT Register (Offset 0x00, write-only)
Software can use the
Miscellaneous Control
register to reset various circuits on the board. Writing a “1” to the
respective bit, will
hold
the reset on the respective circuit.
Control Item
Bit
Offset
Bit
Value
Comment(s)
PIC32_RST
0
0x1 PIC32 Microcontroller Reset
Uart Group-1_RST
1
0x2 Uart Ports 1 through 4 reset
Uart Group-2_RST
2
0x4 Uart Ports 5 through 8 reset
CAN Port-1_RST
3
0x8 CAN Port 1 reset
CAN Port-1_RST
4
0x10 CAN Port 2 reset
Module-1_RST
5
0x20 MultiTech Module-1 reset
Module-2_RST
6
0x40 MultiTech Module-2 reset
BUS_TEST
7
0x80 PC104 Address Bus test mode enable
PC104 Bus Test
This bit enables a mode where the PC104 Address Bus signals can be confirmed as functioning. This bit
should be set to zero for normal operation of the board.