Connect Tech - Xtreme/Multi-I/O - Users Guide
Document: CTIM-00116
Revision: 0.02
0.02
Page 20 of 50
Connect Tech Inc. Proprietary Information
Date: Apr. 14, 2015
Misc Configuration
Command Operation
Notes
TRD?
Query the board temperature.
Value return is degrees Kelvin
CFG?
Query all configuration settings.
VER?
Query the PIC32 and FPGA firmware version.
PIC32 firmware version appears as “Vx.y”
FPGA version appears as a letter “A”, “B”, “C”, etc.
IOD?
Query the IO Address decoding range (or width).
SnR?
Query the reset state of the Module Sockets
IOD=v
Set the IO Address decoding width.
v = 10, 11 or 12
=10 performs “10-bit” IO decoding.
=11 performs “11-bit” IO decoding.
=12 performs “12-bit” IO decoding.
SnR=v
Set the reset state of the Module Sockets
v = ‘Y’ to Assert the reset
‘N’ to De-assert reset
n = 1 = Apply to Socket #1
2 = Apply to Socket #2
UPD
Write configuration changes to Non-Volatile storage
IO Address Ranges set with IOD command
The IO Address range depends on the IO Address decoding width.
IO
Decode
Width
Base IO Address Range
Uart Ports
CAN Ports
J1708 Port
Board
10
0x000 to
0x3F8
0x000 to 0x3E0 (Basic mode)
0x000 to 0x380 (Pelican mode)
0x000 to
0x3E0
0x000 to
0x3FE
11
0x000 to
0x7F8
0x000 to 0x7E0 (Basic mode)
0x000 to 0x780 (Pelican mode)
0x000 to
0x7E0
0x000 to
0x7FE
12
0x000 to
0xFF8
0x000 to 0xFE0 (Basic mode)
0x000 to 0xF80 (Pelican mode)
0x000 to
0xFE0
0x000 to
0xFFE
Address
Boundaries
0x08
0x20 (Basic mode)
0x80 (Pelican mode)
0x20
0x02
Testing / Debugging
A couple of commands are available that directly write or read the FPGA registers that are accessed via an SPI
port between the PIC32 and the FPGA.
Command
Operation
Notes
SPIR reg
Perform an SPI read operation from the indicated register. reg is a decimal number 0 to N
SPIW reg value Perform an SPI write operation to the indicated register.
reg is a decimal number 0 to N
value is a 16 bit HEX number as appropriate
for the register.