LimeSDR XTRX Host Register Reference
This page is generated from CSV sources.
FPGACFG Registers (0x0000 - 0x001F)
Address |
Default |
Name |
Description |
|---|---|---|---|
|
|
Board ID |
|
|
Major revision |
||
|
Compile revision |
||
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
|
Channel enable |
|
|
|
Sample width and interface mode control. |
|
|
|
TX packet-loss flag clear and timestamp reset control. |
|
|
|
RF switch, TDD, pattern generation, and unified RX/TX enable control. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
|
RX packet size in samples. |
|
|
- |
Reserved. |
|
|
|
Number of samples to delay turning on the internal TDD signal. |
|
|
|
Number of samples to delay turning off the internal TDD signal. |
|
|
- |
Reserved. |
|
|
|
LMS7002 digital-interface and hard-enable control. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
|
LMS power, clock-source, and reset control. |
|
|
|
RX packet size in bytes. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
PLLCFG Registers (0x0020 - 0x003F)
Address |
Default |
Name |
Description |
|---|---|---|---|
|
|
Phase value for PLL output clock 1. |
|
|
|
PLL and phase-configuration status. |
|
|
|
PLL error and TX/RX PLL lock status. |
|
|
|
PLL reconfiguration control. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
|
PLL multiplier/divider bypass. |
|
|
|
PLL output-divider bypass. |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
|
PLL divider value. |
|
|
|
PLL multiplier value. |
|
|
|
PLL multiplier fractional value, LSB. |
|
|
|
PLL multiplier fractional value, MSB. |
|
|
|
PLL output 0 divider value. |
|
|
|
PLL output 1 divider value. |
|
|
|
Number of samples used during auto phase configuration. |
|
|
- |
Reserved. |
TSTCFG Registers (0x0060 - 0x007F)
Address |
Default |
Name |
Description |
|---|---|---|---|
|
- |
Reserved. |
|
|
|
Test start bits for sys_clk, LMS_TX_CLK, and GNSS. |
|
|
- |
Reserved. |
|
|
|
Test-complete bits for sys_clk, LMS_TX_CLK, and GNSS. |
|
|
- |
Reserved. |
|
|
|
Test result bits |
|
|
- |
Reserved. |
|
|
|
Count of sys_clk cycles |
|
|
- |
Reserved. |
|
|
- |
Reserved. |
|
|
|
Low 16 bits of LMS TX clock test counter. |
|
|
|
Bits 23:16 of LMS TX clock test counter. |
|
|
- |
Reserved. |
|
|
|
TX test value for I channel. |
|
|
|
TX test value for Q channel. |
|
|
- |
Reserved. |
PERIPHCFG Registers (0x00C0 - 0x00D3)
Address |
Default |
Name |
Description |
|---|---|---|---|
|
|
GPIO override control. 0 = dedicated function, 1 = user override. |
|
|
- |
Reserved. |
|
|
|
Onboard GPIO direction. 0 = input, 1 = output. |
|
|
- |
Reserved. |
|
|
|
GPIO output value. 0 = low, 1 = high. |
|
|
- |
Reserved. |
|
|
|
PPS input source select. 0 = GNSS_1PPS, 1 = 1PPSI_GPIO1. |
|
|
- |
Reserved. |
|
|
|
Peripheral enables: clock-out routing, GNSS reset, GNSS standby. |
|
|
- |
Reserved. |
MEMCFG Registers (0xFFE0 - 0xFFFF)
Address |
Default |
Name |
Description |
|---|---|---|---|
|
- |
All MEMCFG addresses in this documented range are reserved. |
Register Bitfield Reference
Bit fields below are shown from MSB to LSB where applicable.
0x0000 - board_id
Address: 0x0000 | Default: 0x001B | Access: R
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
Board ID, read only. |
0x0001 - major_rev
Address: 0x0001 | Default: not specified | Access: R
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
Major revision, read only. |
0x0002 - compile_rev
Address: 0x0002 | Default: not specified | Access: R
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
Compile revision, read only. |
0x0003 - reserved
Address: 0x0003 | Default: not specified | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0004 - reserved
Address: 0x0004 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0005 - reserved
Address: 0x0005 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0006 - reserved
Address: 0x0006 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0007 - ch_en
Address: 0x0007 | Default: 0x0003 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
01 = A, 10 = B, 11 = A+B |
Channel selection. |
0x0008 - stream_ctrl
Address: 0x0008 | Default: 0x0102 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0 = enabled, 1 = disabled |
Packet synchronization using timestamps. |
|
|
0 = disabled, 1 = enabled |
MIMO mode. |
|
|
0 = off, 1 = on |
TRXIQ pulse mode. |
|
|
0 = SDR, 1 = DDR |
DIQ interface mode. |
|
|
10 = 12-bit, 00 = 16-bit |
Sample width selection. |
0x0009 - txpct_ctrl
Address: 0x0009 | Default: 0x0003 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0 - Normal operation (Default) 1 - Rising edge clears flag |
TX packets dropping flag clear |
|
|
0 - Normal operation (Default) 1 - Timestamp is cleared |
Reset_timestamp |
0x000A - rf_tdd_ctrl
Address: 0x000A | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0/1 |
Control RF switches by internal TDD signal. |
|
|
0/1 |
Counter test pattern on TX. |
|
|
0/1 |
Test pattern on TX. |
|
|
0/1 |
Test pattern on RX. |
|
|
0/1 |
Invert external TDD signal. |
|
|
0/1 |
Control external TDD signal by internal TDD signal. |
|
|
0/1 |
Manual value of external TDD signal. |
|
|
0 = TX2, 1 = TX1 |
TX RF switch select. |
|
|
00 = RX_W, 01 = RX_L, 10 = RX_H, 11 = NC |
RX RF switch select. |
|
|
0/1 |
Unified RX/TX enable. |
0x000B - reserved
Address: 0x000B | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x000C - reserved
Address: 0x000C | Default: 0x0003 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x000D - reserved
Address: 0x000D | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x000E - rx_packet_samples
Address: 0x000E | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
RX packet size in samples. |
0x000F - reserved
Address: 0x000F | Default: 0x03FC | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0010 - txant_pre
Address: 0x0010 | Default: 0x0001 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
Number of samples to delay turning on the internal TDD signal. |
0x0011 - txant_post
Address: 0x0011 | Default: 0x0001 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
Number of samples to delay turning off the internal TDD signal. |
0x0012 - reserved
Address: 0x0012 | Default: 0xFFFF | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0013 - lms_misc_ctrl
Address: 0x0013 | Default: 0x6F6B | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
LMS TX/RX hard-enable source mux selection. |
|
|
|
0=Disabled,1=Enabled |
LMS1 RX hard enable. |
|
|
0=Disabled,1=Enabled |
LMS1 TX hard enable. |
|
|
0=TXIQ,1=RXIQ |
LMS1 port 2 mode selection. |
|
|
0=TXIQ,1=RXIQ |
LMS1 port 1 mode selection. |
|
|
0=Disabled,1=Enabled |
LMS1 internal LDO enable. |
|
|
0=Reset active,1=Inactive |
LMS1 hardware reset. |
0x0014 - reserved
Address: 0x0014 | Default: 0x0003 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0015 - reserved
Address: 0x0015 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0016 - reserved
Address: 0x0016 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0017 - reserved
Address: 0x0017 | Default: 0x2340 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0018 - lms_clk_ctrl
Address: 0x0018 | Default: 0x0003 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0/1 |
LMS internal LDO control. |
|
|
0 = onboard, 1 = external |
Clock source selection. |
|
|
0/1 |
Onboard clock enable. |
|
|
0 = reset active, 1 = reset inactive |
LMS hardware reset. |
0x0019 - rx_packet_size
Address: 0x0019 | Default: 0x1000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
RX packet size in bytes. |
0x001A - reserved
Address: 0x001A | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x001B - reserved
Address: 0x001B | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x001C - reserved
Address: 0x001C | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x001D - reserved
Address: 0x001D | Default: 0x00FF | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x001E - reserved
Address: 0x001E | Default: 0x0003 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x001F - reserved
Address: 0x001F | Default: 0xD090 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0020 - c1 phase
Address: 0x0020 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
Phase value for PLL output clock 1. |
0x0021 - pll_status
Address: 0x0021 | Default: 0x0001 | Access: R
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
status |
Phase configuration error, documented as unused. |
|
|
status |
Phase configuration done, read only. |
|
|
status |
PLL configuration busy, read only. |
|
|
status |
PLL configuration done, read only. |
0x0022 - pll_lock_status
Address: 0x0022 | Default: 0x0000 | Access: R
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0=No lock,1=Locked |
RX PLL lock status. |
|
|
0=No lock,1=Locked |
TX PLL lock status. |
0x0023 - pll_ctrl
Address: 0x0023 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0 = manual, 1 = auto |
Phase configuration mode. |
|
|
0000 = TX PLL, 0001 = RX PLL |
PLL index. |
|
|
0->1 edge |
Start phase configuration on transition. |
0x0024 - reserved
Address: 0x0024 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0025 - reserved
Address: 0x0025 | Default: 0x01F0 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0026 - mn_bypass_ctrl
Address: 0x0026 | Default: 0x000A | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0=normal,1=bypass |
M counter bypass control. |
|
|
0=normal,1=bypass |
N counter bypass control. |
0x0027 - c01_bypass_ctrl
Address: 0x0027 | Default: 0x0AAA | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0=normal,1=bypass |
C1 output-divider bypass control. |
|
|
0=normal,1=bypass |
C0 output-divider bypass control. |
0x0028 - reserved
Address: 0x0028 | Default: 0xAAAA | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0029 - reserved
Address: 0x0029 | Default: 0xAAAA | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x002A - n_cnt
Address: 0x002A | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
PLL divider value. |
0x002B - m_cnt
Address: 0x002B | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
PLL multiplier value. |
0x002C - m_frac(lsb)
Address: 0x002C | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
PLL multiplier fractional value, LSB. |
0x002D - m_frac(msb)
Address: 0x002D | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
PLL multiplier fractional value, MSB. |
0x002E - c0_cnt
Address: 0x002E | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
PLL output 0 divider value. |
0x002F - c1_cnt
Address: 0x002F | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
PLL output 1 divider value. |
0x0030 - auto_phcfg_smpls
Address: 0x0030 | Default: 0xEFFF | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
Number of samples used during auto phase configuration. |
0x0060 - reserved
Address: 0x0060 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0061 - test_en
Address: 0x0061 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0/1 |
GNSS test start. |
|
|
0/1 |
LMS TX clock test start. |
|
|
0/1 |
System clock test start. |
0x0065 - test_cmplt
Address: 0x0065 | Default: 0x0000 | Access: R
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
status |
GNSS test complete. |
|
|
status |
LMS TX clock test complete. |
|
|
status |
System clock test complete. |
0x0066 - reserved
Address: 0x0066 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0067 - test_rez
Address: 0x0067 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
GNSS test result. |
|
|
|
LMS TX clock test result. |
|
|
|
System clock test result. |
0x0068 - reserved
Address: 0x0068 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x0069 - sys_clk_cnt
Address: 0x0069 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
Count of sys_clk cycles |
0x0072 - lms_tx_clk_cnt
Address: 0x0072 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
Low 16 bits of LMS TX clock test counter. |
0x0073 - lms_tx_clk_cnt
Address: 0x0073 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
||
|
|
Bits 23:16 of LMS TX clock test counter. |
0x007D - tx_tst_i
Address: 0x007D | Default: 0xAAAA | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
TX test value for I channel. |
0x007E - tx_tst_q
Address: 0x007E | Default: 0x5555 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
TX test value for Q channel. |
0x007F - reserved
Address: 0x007F | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x00C0 - board_gpio_ovrd
Address: 0x00C0 | Default: 0x0002 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0 = dedicated function, 1 = user override |
GPIO override control. Separate bits controls corresponding GPIO |
0x00C4 - board_gpio_dir
Address: 0x00C4 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0 = input, 1 = output. |
Onboard GPIO direction. |
0x00C5 - reserved
Address: 0x00C5 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |
0x00C6 - board_gpio_val
Address: 0x00C6 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0 = low, 1 = high. |
GPIO output value. |
0x00CA - periph_input_sel
Address: 0x00CA | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0 = GNSS_1PPS, 1 = 1PPSI_GPIO1. |
PPS input source select. |
0x00D2 - periph_en
Address: 0x00D2 | Default: 0x0003 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
|
0 – CLK OUT → NC (Default) 1 – CLK OUT → mPCIe SMB_CLK (pin 30) |
EN_GPIO (mPCIe) |
|
|
0 – Reset 1 – Normal operation (Default) |
GNSS_HW_R |
|
|
0 – Standby mode 1 – Normal mode (Default) |
GNSS_HW_S |
0x00D3 - reserved
Address: 0x00D3 | Default: 0x0000 | Access: R/W
Bit(s) |
Field |
Values |
Description |
|---|---|---|---|
|
- |
Reserved. |