Functions
Data Path

mmWave Radar Data Path(LVDS/CSI2) Module. More...

Functions

MMWL_EXPORT rlReturnVal_t rlDeviceSetDataFmtConfig (rlUInt8_t deviceMap, rlDevDataFmtCfg_t *data)
 Sets LVDS/CSI2 Data output format. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceGetDataFmtConfig (rlUInt8_t deviceMap, rlDevDataFmtCfg_t *data)
 Gets LVDS/CSI2 Data output format. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceSetDataPathConfig (rlUInt8_t deviceMap, rlDevDataPathCfg_t *data)
 Sets LVDS/CSI2 Path Configuration. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceGetDataPathConfig (rlUInt8_t deviceMap, rlDevDataPathCfg_t *data)
 Gets data path Configuration. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceSetLaneConfig (rlUInt8_t deviceMap, rlDevLaneEnable_t *data)
 Sets Lane enable Configuration. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceGetLaneConfig (rlUInt8_t deviceMap, rlDevLaneEnable_t *data)
 Gets Lane enable Configuration. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceSetDataPathClkConfig (rlUInt8_t deviceMap, rlDevDataPathClkCfg_t *data)
 Sets LVDS Clock Configuration. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceSetHsiConfig (rlUInt8_t deviceMap, rlDevHsiCfg_t *data)
 : This function sets the High Speed Interface(LVDS/CSI2) clock, lane, data rate and data format More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceSetHsiClk (rlUInt8_t deviceMap, rlDevHsiClk_t *data)
 Sets High Speed Interface Clock. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceSetCsi2Config (rlUInt8_t deviceMap, rlDevCsi2Cfg_t *data)
 Sets CSI2 data format Configuration. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceGetCsi2Config (rlUInt8_t deviceMap, rlDevCsi2Cfg_t *data)
 Gets Csi2 data format Configuration. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceSetInternalConf (rlUInt8_t deviceMap, rlUInt32_t memAddr, rlUInt32_t value)
 Writes Internal Configuration Memory. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceGetInternalConf (rlUInt8_t deviceMap, rlUInt32_t memAddr, rlUInt32_t *value)
 Reads Internal Configuration Memory. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceAdvFrameConfigApply (rlUInt8_t deviceMap, rlAdvFrameDataCfg_t *data)
 Sets Advance Frame data path Configuration. More...
 
MMWL_EXPORT rlReturnVal_t rlDeviceFrameConfigApply (rlUInt8_t deviceMap, rlFrameApplyCfg_t *data)
 Sets Frame data path Configuration. More...
 
MMWL_EXPORT rlReturnVal_t rlDevSetFillLUTBuff (rlFillLUTParams_t *fillLUTParams, rlInt8_t *inData, rlInt8_t *outData, rlUInt16_t *LUTAddrOffset)
 Filling chirp LUT parameter buffer for Advanced chirp configuration. More...
 

Detailed Description

mmWave Radar Data Path(LVDS/CSI2) Module.

The Data path module has interface for Enabling and controlling high speed data interface such as CSI2 and LVDS. Configures the data format, data rate, lane parameters.
Below diagram shows the data transfer for different data formats and lanes on high speed interface

data_path_lanes.png

Related Files

Function Documentation

◆ rlDeviceAdvFrameConfigApply()

rlReturnVal_t rlDeviceAdvFrameConfigApply ( rlUInt8_t  deviceMap,
rlAdvFrameDataCfg_t data 
)

Sets Advance Frame data path Configuration.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[in]data- Container for Advance Frame data path Configuration data
Returns
rlReturnVal_t Success - 0, Failure - Error Code

This function allows configuration of advance frame data path in mmWave Front end.

Definition at line 2081 of file rl_device.c.

◆ rlDeviceFrameConfigApply()

rlReturnVal_t rlDeviceFrameConfigApply ( rlUInt8_t  deviceMap,
rlFrameApplyCfg_t data 
)

Sets Frame data path Configuration.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[in]data- Container for Frame data path Configuration data
Returns
rlReturnVal_t Success - 0, Failure - Error Code

This function allows configuration of frame data path in mmWave Front end.

Definition at line 2130 of file rl_device.c.

◆ rlDeviceGetCsi2Config()

rlReturnVal_t rlDeviceGetCsi2Config ( rlUInt8_t  deviceMap,
rlDevCsi2Cfg_t data 
)

Gets Csi2 data format Configuration.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[out]data- Container for CSI2 Configuration
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Gets CSI2 data format Configuration. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.

Definition at line 1223 of file rl_device.c.

◆ rlDeviceGetDataFmtConfig()

rlReturnVal_t rlDeviceGetDataFmtConfig ( rlUInt8_t  deviceMap,
rlDevDataFmtCfg_t data 
)

Gets LVDS/CSI2 Data output format.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[in]data- Container for LVDS/CSI2 Data output format
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Gets LVDS/CSI2 Data output format. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor

Definition at line 651 of file rl_device.c.

◆ rlDeviceGetDataPathConfig()

rlReturnVal_t rlDeviceGetDataPathConfig ( rlUInt8_t  deviceMap,
rlDevDataPathCfg_t data 
)

Gets data path Configuration.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[in]data- Container for Path Configuration
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Gets data path Configuration. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor

Definition at line 744 of file rl_device.c.

◆ rlDeviceGetInternalConf()

rlReturnVal_t rlDeviceGetInternalConf ( rlUInt8_t  deviceMap,
rlUInt32_t  memAddr,
rlUInt32_t *  value 
)

Reads Internal Configuration Memory.

Parameters
[in]memAddr- Memory address
[out]value- Value at memory address
[in]deviceMap- Connected device Index
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Reads Internal Configuration Memory.

Note
: This API is debug purpose only.

Definition at line 2010 of file rl_device.c.

◆ rlDeviceGetLaneConfig()

rlReturnVal_t rlDeviceGetLaneConfig ( rlUInt8_t  deviceMap,
rlDevLaneEnable_t data 
)

Gets Lane enable Configuration.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[out]data- Container for lane enable Configuration
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Gets Lane enable Configuration. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.

Definition at line 838 of file rl_device.c.

◆ rlDeviceSetCsi2Config()

rlReturnVal_t rlDeviceSetCsi2Config ( rlUInt8_t  deviceMap,
rlDevCsi2Cfg_t data 
)

Sets CSI2 data format Configuration.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[in]data- Container for CSI2 Configuration
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Sets CSI2 data format Configuration. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor

Definition at line 1176 of file rl_device.c.

◆ rlDeviceSetDataFmtConfig()

rlReturnVal_t rlDeviceSetDataFmtConfig ( rlUInt8_t  deviceMap,
rlDevDataFmtCfg_t data 
)

Sets LVDS/CSI2 Data output format.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[in]data- Container for LVDS/CSI2 Data output format
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Sets LVDS/CSI2 Data output format. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor

Definition at line 603 of file rl_device.c.

◆ rlDeviceSetDataPathClkConfig()

rlReturnVal_t rlDeviceSetDataPathClkConfig ( rlUInt8_t  deviceMap,
rlDevDataPathClkCfg_t data 
)

Sets LVDS Clock Configuration.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[in]data- Container for LVDS Clock Configuration
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Sets LVDS Clock Configuration. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.

Definition at line 885 of file rl_device.c.

◆ rlDeviceSetDataPathConfig()

rlReturnVal_t rlDeviceSetDataPathConfig ( rlUInt8_t  deviceMap,
rlDevDataPathCfg_t data 
)

Sets LVDS/CSI2 Path Configuration.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[in]data- Container for Path Configuration
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Sets LVDS/CSI2 Data path configuration. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor

Definition at line 697 of file rl_device.c.

◆ rlDeviceSetHsiClk()

rlReturnVal_t rlDeviceSetHsiClk ( rlUInt8_t  deviceMap,
rlDevHsiClk_t data 
)

Sets High Speed Interface Clock.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[in]data- Container for HSI Clock
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Sets High Speed Interface Clock

Definition at line 1372 of file rl_device.c.

◆ rlDeviceSetHsiConfig()

rlReturnVal_t rlDeviceSetHsiConfig ( rlUInt8_t  deviceMap,
rlDevHsiCfg_t data 
)

: This function sets the High Speed Interface(LVDS/CSI2) clock, lane, data rate and data format

Parameters
[in]deviceMap- Connected device Index
[in]data- HSI Config data
Returns
rlReturnVal_t Success - 0, Failure - Error Code

: This function sets the High Speed Interface(LVDS/CSI2) clock, lane, data rate and data format. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor

Definition at line 1272 of file rl_device.c.

◆ rlDeviceSetInternalConf()

rlReturnVal_t rlDeviceSetInternalConf ( rlUInt8_t  deviceMap,
rlUInt32_t  memAddr,
rlUInt32_t  value 
)

Writes Internal Configuration Memory.

Parameters
[in]memAddr- Memory address
[in]value- Value to write at memory address
[in]deviceMap- Connected device Index
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Writes Internal Configuration Memory.

Note
: This API is debug purpose only.

Definition at line 1956 of file rl_device.c.

◆ rlDeviceSetLaneConfig()

rlReturnVal_t rlDeviceSetLaneConfig ( rlUInt8_t  deviceMap,
rlDevLaneEnable_t data 
)

Sets Lane enable Configuration.

Parameters
[in]deviceMap- Bitmap of devices to send the message
[in]data- Container for lane enable Configuration
Returns
rlReturnVal_t Success - 0, Failure - Error Code

Sets Lane enable configuration. This API is valid only for AWR1243/AWR2243 mmWave device when mmWaveLink instance is running on External Host Processor.

Definition at line 791 of file rl_device.c.

◆ rlDevSetFillLUTBuff()

rlReturnVal_t rlDevSetFillLUTBuff ( rlFillLUTParams_t fillLUTParams,
rlInt8_t *  inData,
rlInt8_t *  outData,
rlUInt16_t *  LUTAddrOffset 
)

Filling chirp LUT parameter buffer for Advanced chirp configuration.

Parameters
[in]fillLUTParams- Pointer to structure used for filling chirp LUT parameter buffer
[in]inData- Pointer to Input chirp parameter buffer
[in]outData- Pointer to chirp LUT parameter buffer filled with input chirp param data
[in]LUTAddrOffset- Pointer to offset within the chirp LUT parameter buffer for which input chirp param data is filled.
Returns
rlReturnVal_t Success - 0, Failure - Error Code

This API is used to fill chirp LUT parameter buffer for Advanced chirp configuration.

Note
1: This API is supported only in AWR2243.
2: This API doesn't send any command to device over SPI. Application needs to invoke this API to fill up the LUT buffer for each type of chirpParamIndex. Finally, use this filled buffer to pass it to rlSetAdvChirpLUTConfig API

Definition at line 2188 of file rl_device.c.


Copyright 2020, Texas Instruments Incorporated