xwr.capture.defines
¶
DCA1000EVM capture card constants, enums, and other definitions.
xwr.capture.defines.Command
¶
Bases: Enum
Command request codes; see rf_api.h:CMD_CODE_*
.
Source code in src/xwr/capture/defines.py
xwr.capture.defines.DCAConstants
¶
DCA1000EVM capture card API constants.
Collected from the DCA1000EVM User's Guide and the
reference API at ReferenceCode/DCA1000/SourceCode
in a mmWave Studio
install.
Source code in src/xwr/capture/defines.py
DCA_BITRATE
class-attribute
instance-attribute
¶
DCA1000EVM interface speed, in bits per seconds (Gigabit Ethernet).
DCA_PACKET_SIZE
class-attribute
instance-attribute
¶
Radar packet size; hard-coded in the FPGA.
FPGA_CLK_CONVERSION_FACTOR
class-attribute
instance-attribute
¶
Record packet delay clock conversion factor.
FPGA_CLK_PERIOD_IN_NANO_SEC
class-attribute
instance-attribute
¶
Record packet delay clock period in ns.
FPGA_CONFIG_DEFAULT_TIMER
class-attribute
instance-attribute
¶
LVDS timeout is always 30 (units not documented / unknown).
MAX_BYTES_PER_PACKET
class-attribute
instance-attribute
¶
Maximum number of bytes in a single FPGA data packet.
xwr.capture.defines.DataCapture
¶
Bases: Enum
Data capture mode; see rf_api.h:enum CONFIG_CAPTURE_MODE
.
Attributes:
Name | Type | Description |
---|---|---|
SD_STORAGE |
store to SD card. |
|
ETH_STREAM |
stream to ethernet interface (use this normally). |
Source code in src/xwr/capture/defines.py
xwr.capture.defines.DataFormat
¶
Bases: Enum
Data format (bit depth); see rf_api.h:enum CONFIG_FORMAT_MODE
.
Attributes:
Name | Type | Description |
---|---|---|
BIT12 |
12-bit mode. |
|
BIT14 |
14-bit mode. |
|
BIT16 |
16-bit mode (used by default). |
Source code in src/xwr/capture/defines.py
xwr.capture.defines.DataTransfer
¶
Bases: Enum
Data transfer mode; see rf_api.h:enum CONFIG_TRANSFER_MODE
.
Attributes:
Name | Type | Description |
---|---|---|
CAPTURE |
capture mode (the normal mode used). |
|
PLAYBACK |
play back data from an onboard SD card/SSD. |
Source code in src/xwr/capture/defines.py
xwr.capture.defines.LVDS
¶
Bases: Enum
LVDS mode (number of lanes); see rf_api.h:enum CONFIG_LVDS_MODE
.
Attributes:
Name | Type | Description |
---|---|---|
FOUR_LANE |
4-lane mode, e.g., AR1243. |
|
TWO_LANE |
2-lane mode; much more common, e.g. AR1642, AWR1843, AWR2544. |