![]() |
![]() |
Radar Device Management Module. More...
Functions | |
MMWL_EXPORT rlReturnVal_t | rlDevicePowerOn (rlUInt8_t deviceMap, rlClientCbs_t clientCb) |
Bring mmwave Device Out of Reset. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceAddDevices (rlUInt8_t deviceMap) |
Bring mmwave Device Out of Reset. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceRemoveDevices (rlUInt8_t deviceMap) |
Removes connected mmwave devices. More... | |
MMWL_EXPORT rlReturnVal_t | rlDevicePowerOff (void) |
Shutdown mmwave Device. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceRfStart (rlUInt8_t deviceMap) |
Enables mmwave RF/Analog Sub system. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceFileDownload (rlUInt8_t deviceMap, rlFileData_t *data, rlUInt16_t remChunks) |
Download mmwave Firmware/Patches over SPI. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceGetMssVersion (rlUInt8_t deviceMap, rlFwVersionParam_t *data) |
Get mmWave Master SS version. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceGetRfVersion (rlUInt8_t deviceMap, rlFwVersionParam_t *data) |
Get mmWave RF ROM and patch version. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceGetVersion (rlUInt8_t deviceMap, rlVersion_t *data) |
Get mmWave Hardware, Firmware/patch and mmWaveLink version. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceGetMmWaveLinkVersion (rlSwVersionParam_t *data) |
Get mmWaveLink Version. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceMcuClkConfig (rlUInt8_t deviceMap, rlMcuClkCfg_t *data) |
Sets the configurations to setup the desired frequency of the MCU Clock. More... | |
MMWL_EXPORT rlReturnVal_t | rlDevicePmicClkConfig (rlUInt8_t deviceMap, rlPmicClkCfg_t *data) |
Sets the configurations for PMIC clock. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceLatentFaultTests (rlUInt8_t deviceMap, rllatentFault_t *data) |
Sets the configurations for latent fault test. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceEnablePeriodicTests (rlUInt8_t deviceMap, rlperiodicTest_t *data) |
Sets the configurations for periodic test. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceSetTestPatternConfig (rlUInt8_t deviceMap, rltestPattern_t *data) |
Setup for test pattern to be generated. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceConfigureCrc (rlCrcType_t crcType) |
Configures the CRC Type in mmWaveLink Driver. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceConfigureAckTimeout (rlUInt32_t ackTimeout) |
Configures the Acknowledgement timeout in mmWaveLink Driver. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceSetRetryCount (rlUInt8_t retryCnt) |
: Set the command retry count More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceSetContStreamingModeConfig (rlUInt8_t deviceMap, rlDevContStreamingModeCfg_t *data) |
Sets Continous Streaming Mode Configuration. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceGetContStreamingModeConfig (rlUInt8_t deviceMap, rlDevContStreamingModeCfg_t *data) |
Gets continuous Streaming Mode Configuration. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceSetMiscConfig (rlUInt8_t deviceMap, rlDevMiscCfg_t *data) |
Setup misc. device configurations. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceSetDebugSigEnableConfig (rlUInt8_t deviceMap, rlDebugSigEnCfg_t *data) |
Information to enable the pin-mux to bring out debug signals for the chirp cycle. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceSetHsiDelayDummyConfig (rlUInt8_t deviceMap, rlHsiDelayDummyCfg_t *data) |
This API can be used to increase the time between the availability of chirp data and the transfer of chirp data over HSI (CSI2/LVDS) interface. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceGetCpuFault (rlUInt8_t deviceMap, rlCpuFault_t *data) |
Get MasterSS CPU fault status. More... | |
MMWL_EXPORT rlReturnVal_t | rlDeviceGetEsmFault (rlUInt8_t deviceMap, rlMssEsmFault_t *data) |
Get MasterSS ESM fault status. More... | |
Radar Device Management Module.
The Device module has interface for Enabling and controlling Radar device. Configures the callbacks(SPI, Interrupt, OS etc) for communication with device It also allows Firmware download over SPI.
Related Files
rlReturnVal_t rlDeviceAddDevices | ( | rlUInt8_t | deviceMap | ) |
Bring mmwave Device Out of Reset.
[in] | deviceMap | - bitmap of devices to be connected |
Bring mmwave Device Out of Reset. Application should wait for async event subBlock RL_DEV_AE_MSSPOWERUPDONE_SB before issuing any other APIs. This API is valid only for cascade mode of AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 175 of file rl_device.c.
rlReturnVal_t rlDeviceConfigureAckTimeout | ( | rlUInt32_t | ackTimeout | ) |
Configures the Acknowledgement timeout in mmWaveLink Driver.
[in] | ackTimeout | - ACK timeout, 0 - No ACK |
Configures the Acknowledgement timeout in mmWaveLink Driver, 0 - Disable ACK
Definition at line 1951 of file rl_device.c.
rlReturnVal_t rlDeviceConfigureCrc | ( | rlCrcType_t | crcType | ) |
Configures the CRC Type in mmWaveLink Driver.
[in] | crcType | - CRC Types |
Configures the CRC Type in mmWaveLink Driver
Definition at line 1934 of file rl_device.c.
rlReturnVal_t rlDeviceEnablePeriodicTests | ( | rlUInt8_t | deviceMap, |
rlperiodicTest_t * | data | ||
) |
Sets the configurations for periodic test.
[in] | deviceMap | - Bitmap of devices to send the message |
[in] | data | - Container for periodic test Configuration |
Sets the configurations for periodic test. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 1591 of file rl_device.c.
rlReturnVal_t rlDeviceFileDownload | ( | rlUInt8_t | deviceMap, |
rlFileData_t * | data, | ||
rlUInt16_t | remChunks | ||
) |
Download mmwave Firmware/Patches over SPI.
[in] | deviceMap | - Bitmap of devices to send the message |
[in] | data | - File Chunk |
[in] | remChunks | - Number of remaining Chunks |
Download mmwave Firmware/Patches over SPI. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 367 of file rl_device.c.
rlReturnVal_t rlDeviceGetContStreamingModeConfig | ( | rlUInt8_t | deviceMap, |
rlDevContStreamingModeCfg_t * | data | ||
) |
Gets continuous Streaming Mode Configuration.
[in] | deviceMap | - Bitmap of devices to send the message |
[out] | data | - Container for continuous Streaming Mode Configuration |
Gets continuous Streaming Mode Configuration. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor
Definition at line 1145 of file rl_device.c.
rlReturnVal_t rlDeviceGetCpuFault | ( | rlUInt8_t | deviceMap, |
rlCpuFault_t * | data | ||
) |
Get MasterSS CPU fault status.
[in] | deviceMap | - Bitmap of devices to send the message |
[in] | data | - Container for MasterSS CPU fault status |
This API gets the MasterSS CPU fault status. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 1842 of file rl_device.c.
rlReturnVal_t rlDeviceGetEsmFault | ( | rlUInt8_t | deviceMap, |
rlMssEsmFault_t * | data | ||
) |
Get MasterSS ESM fault status.
[in] | deviceMap | - Bitmap of devices to send the message |
[in] | data | - Container for MasterSS ESM fault status |
This API gets the MasterSS ESM fault status. This API is valid only for AWR1243 and AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 1890 of file rl_device.c.
rlReturnVal_t rlDeviceGetMmWaveLinkVersion | ( | rlSwVersionParam_t * | data | ) |
Get mmWaveLink Version.
[out] | data | - Container for Version Information |
Get mmWaveLink Version
Definition at line 555 of file rl_device.c.
rlReturnVal_t rlDeviceGetMssVersion | ( | rlUInt8_t | deviceMap, |
rlFwVersionParam_t * | data | ||
) |
Get mmWave Master SS version.
[in] | deviceMap | - Bitmap of devices to send the message |
[out] | data | - Container for Version Information |
Get mmWave Master SS version. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 428 of file rl_device.c.
rlReturnVal_t rlDeviceGetRfVersion | ( | rlUInt8_t | deviceMap, |
rlFwVersionParam_t * | data | ||
) |
Get mmWave RF ROM and patch version.
[in] | deviceMap | - Bitmap of devices to send the message |
[out] | data | - Container for Version Information |
Get mmWave RF ROM and patch version
Definition at line 466 of file rl_device.c.
rlReturnVal_t rlDeviceGetVersion | ( | rlUInt8_t | deviceMap, |
rlVersion_t * | data | ||
) |
Get mmWave Hardware, Firmware/patch and mmWaveLink version.
[in] | deviceMap | - Bitmap of devices to send the message |
[out] | data | - Container for Version Information |
Get mmWave Hardware, Firmware/patch and mmWaveLink version
Definition at line 498 of file rl_device.c.
rlReturnVal_t rlDeviceLatentFaultTests | ( | rlUInt8_t | deviceMap, |
rllatentFault_t * | data | ||
) |
Sets the configurations for latent fault test.
[in] | deviceMap | - Bitmap of devices to send the message |
[in] | data | - Container for latent fault test Configuration |
Sets the configurations for latent fault test. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor. This API should not be issued when functional frames are running, these are destructive tests.
Definition at line 1544 of file rl_device.c.
rlReturnVal_t rlDeviceMcuClkConfig | ( | rlUInt8_t | deviceMap, |
rlMcuClkCfg_t * | data | ||
) |
Sets the configurations to setup the desired frequency of the MCU Clock.
[in] | deviceMap | - Bitmap of devices to send the message |
[in] | data | - Container for MCU clock Configuration |
Sets the configurations to setup the desired frequency of the MCU Clock. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 1438 of file rl_device.c.
rlReturnVal_t rlDevicePmicClkConfig | ( | rlUInt8_t | deviceMap, |
rlPmicClkCfg_t * | data | ||
) |
Sets the configurations for PMIC clock.
[in] | deviceMap | - Bitmap of devices to send the message |
[in] | data | - Container for PMIC clock Configuration |
Sets the configurations for PMIC clock. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 1487 of file rl_device.c.
rlReturnVal_t rlDevicePowerOff | ( | void | ) |
Shutdown mmwave Device.
Stops mmwave operations and also shuts down mmwave device
Definition at line 262 of file rl_device.c.
rlReturnVal_t rlDevicePowerOn | ( | rlUInt8_t | deviceMap, |
rlClientCbs_t | clientCb | ||
) |
Bring mmwave Device Out of Reset.
[in] | deviceMap | - bitmap of all the connected Device |
[in] | clientCb | - Client Callbacks for OS/SPI/Interrupts etc |
Bring mmwave Device Out of Reset. Application should wait for async event of subBlock RL_DEV_AE_MSSPOWERUPDONE_SB (in case of AWR1243/AWR2243) before issuing any other APIs
Definition at line 100 of file rl_device.c.
rlReturnVal_t rlDeviceRemoveDevices | ( | rlUInt8_t | deviceMap | ) |
Removes connected mmwave devices.
[in] | deviceMap | - Bitmap of mmwave devices to be disconnected |
Removes mmwave devices and also shuts down the devices. This API is valid only for cascade mode of AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 202 of file rl_device.c.
rlReturnVal_t rlDeviceRfStart | ( | rlUInt8_t | deviceMap | ) |
Enables mmwave RF/Analog Sub system.
[in] | deviceMap | - Bitmap of devices to send the message |
It enables RF/Analog Subsystem.
Definition at line 326 of file rl_device.c.
rlReturnVal_t rlDeviceSetContStreamingModeConfig | ( | rlUInt8_t | deviceMap, |
rlDevContStreamingModeCfg_t * | data | ||
) |
Sets Continous Streaming Mode Configuration.
[in] | deviceMap | - Bitmap of devices to send the message |
[in] | data | - Container for Continous Streaming Mode Configuration |
This function configures the transfer of captured ADC samples continuously without missing any sample to an external host. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 1092 of file rl_device.c.
rlReturnVal_t rlDeviceSetDebugSigEnableConfig | ( | rlUInt8_t | deviceMap, |
rlDebugSigEnCfg_t * | data | ||
) |
Information to enable the pin-mux to bring out debug signals for the chirp cycle.
[in] | data | - Container for debug signals Configuration |
[in] | deviceMap | - Bitmap of devices to send the message |
It contains the information to enable the pin-mux to bring out debug signals for the chirp cycle. CLK_OUT signal will be output on OSC_CLKOUT pin and ADC_SIG_OUT will be output on GPIO_0 pin.
Definition at line 1736 of file rl_device.c.
rlReturnVal_t rlDeviceSetHsiDelayDummyConfig | ( | rlUInt8_t | deviceMap, |
rlHsiDelayDummyCfg_t * | data | ||
) |
This API can be used to increase the time between the availability of chirp data and the transfer of chirp data over HSI (CSI2/LVDS) interface.
[in] | data | - Container for HSI delay dummy Configuration |
[in] | deviceMap | - Bitmap of devices to send the message |
It can also be used to add configurable amount of dummy data per chirp at the end of actual chirp data.
Definition at line 1795 of file rl_device.c.
rlReturnVal_t rlDeviceSetMiscConfig | ( | rlUInt8_t | deviceMap, |
rlDevMiscCfg_t * | data | ||
) |
Setup misc. device configurations.
[in] | data | - Container for device Configuration |
[in] | deviceMap | - Bitmap of devices to send the message |
Set misc. device configurations of MasterMSS, where currently it set CRC type for async event message sent by MSS to Host. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 1687 of file rl_device.c.
rlReturnVal_t rlDeviceSetRetryCount | ( | rlUInt8_t | retryCnt | ) |
: Set the command retry count
[in] | retryCnt | - Retry count [0: no retry, n: no. of retries] value limit to RL_API_CMD_RETRY_COUNT(3) |
Set the retry count to global rlDriverData_t structure.
Definition at line 1969 of file rl_device.c.
rlReturnVal_t rlDeviceSetTestPatternConfig | ( | rlUInt8_t | deviceMap, |
rltestPattern_t * | data | ||
) |
Setup for test pattern to be generated.
[in] | deviceMap | - Bitmap of devices to send the message |
[in] | data | - Container for periodic test Configuration |
Set the configurations to setup the test pattern to be generated and transferred over the selected high speed interface (LVDS/CSI2). This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.
Definition at line 1639 of file rl_device.c.