rl_sensor.h
1 /****************************************************************************************
2  * FileName : rl_sensor.h
3  *
4  * Description : This file defines the functions to configure RF/Sensor in mmwave radar device.
5  *
6  ****************************************************************************************
7  * (C) Copyright 2014, Texas Instruments Incorporated. - TI web address www.ti.com
8  *---------------------------------------------------------------------------------------
9  *
10  * Redistribution and use in source and binary forms, with or without modification,
11  * are permitted provided that the following conditions are met:
12  *
13  * Redistributions of source code must retain the above copyright notice,
14  * this list of conditions and the following disclaimer.
15  *
16  * Redistributions in binary form must reproduce the above copyright notice,
17  * this list of conditions and the following disclaimer in the documentation
18  * and/or other materials provided with the distribution.
19  *
20  * Neither the name of Texas Instruments Incorporated nor the names of its
21  * contributors may be used to endorse or promote products derived from this
22  * software without specific prior written permission.
23  *
24  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
26  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
28  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34  * POSSIBILITY OF SUCH DAMAGE.
35  */
36 
37 /****************************************************************************************
38 * FILE INCLUSION PROTECTION
39 ****************************************************************************************
40 */
41 #ifndef RL_SENSOR_H
42 #define RL_SENSOR_H
43 
44 /******************************************************************************
45  * INCLUDE FILES
46  ******************************************************************************
47  */
48 
49 #ifdef __cplusplus
50 extern "C" {
51 #endif
52 
53 /****************************************************************************************
54  * MACRO DEFINITIONS
55  ****************************************************************************************
56  */
57 
58 /* Count of Test Sources*/
59 #define RL_MAX_TST_SRC_OBJECTS (2U)
60 
61 /* Number of chunks in Calibration data generated by radarSS */
62 #define RL_MAX_CALIB_DATA_CHUNK (3U)
63 
67 #define RL_RX_CNT (4U)
68 
72 #define RL_TX_CNT (3U)
73 
77 #define RL_CHANNEL_DISABLE (0U)
78 #define RL_CHANNEL_ENABLE (1U)
79 
83 #define RL_FRAME_TRIGGER_STOP (0x0U)
84 #define RL_FRAME_TRIGGER_START (0x1U)
85 
89 #define RL_MAX_SUBFRAMES (4U)
90 
94 #define RL_MAX_PROFILES_CNT (4U)
95 
99 #define RL_RX_NOISE_FIGURE_LOW (0U)
100 #define RL_RX_NOISE_FIGURE_HIGH (1U)
101 #define RL_RX_NOISE_FIGURE_MAX (2U)
102 
106 #define RL_ADC_DATA_12_BIT (0U)
107 #define RL_ADC_DATA_14_BIT (1U)
108 #define RL_ADC_DATA_16_BIT (2U)
109 #define RL_ADC_DATA_BIT_MAX (3U)
110 
114 #define RL_ADC_FORMAT_REAL (0U)
115 #define RL_ADC_FORMAT_COMPLEX_1X (1U)
116 #define RL_ADC_FORMAT_COMPLEX_2X (2U)
117 #define RL_ADC_FORMAT_PSEUDO_REAL (3U)
118 #define RL_ADC_FORMAT_MAX (4U)
119 
123 #define RL_ADC_MODE_REGULAR (0U)
124 #define RL_ADC_MODE_LOW_POWER (1U)
125 #define RL_ADC_MODE_MAX (2U)
126 
130 #define RL_RX_BB_BW_AUTO (0x0U)
131 #define RL_RX_BB_BW_350_KHz (0x1U)
132 #define RL_RX_BB_BW_10_MHz (0x2U)
133 #define RL_RX_BB_BW_15_MHz (0x3U)
134 #define RL_RX_BB_BW_MAX (0x4U)
135 
139 #define RL_RX_HPF1_175_KHz (0U)
140 #define RL_RX_HPF1_235_KHz (1U)
141 #define RL_RX_HPF1_350_KHz (2U)
142 #define RL_RX_HPF1_700_KHz (3U)
143 #define RL_RX_HPF1_MAX (4U)
144 
148 #define RL_RX_HPF2_350_KHz (0U)
149 #define RL_RX_HPF2_700_KHz (1U)
150 #define RL_RX_HPF2_1p4_MHz (2U)
151 #define RL_RX_HPF2_2p8_MHz (3U)
152 #define RL_RX_HPF2_5p0_MHz (4U)
153 #define RL_RX_HPF2_7p5_MHz (5U)
154 #define RL_RX_HPF2_10_MHz (6U)
155 #define RL_RX_HPF2_15_MHz (7U)
156 #define RL_RX_HPF2_MAX (8U)
157 
161 #define RL_RX_GAIN_30_dB (0x1EU)
162 #define RL_RX_GAIN_36_dB (0x24U)
163 #define RL_RX_GAIN_44_dB (0x2cU)
164 #define RL_RX_GAIN_50_dB (0x32U)
165 
169 #define RL_FRAME_SYNC_MODE_SINGLE_CHIP (0x0U)
170 #define RL_FRAME_SYNC_MODE_MULT_CHIP_MASTER (0x1U)
171 #define RL_FRAME_SYNC_MODE_MULT_CHIP_SLAVE (0x2U)
172 #define RL_FRAME_SYNC_MODE_MAX (0x3U)
173 
174 
178 #define RL_FRAMESTRT_API_TRIGGER (0x1U)
179 #define RL_FRAMESTRT_SYNCIN_TRIGGER (0x2U)
180 
184 #define RL_RXANA_COMPLEX (0U)
185 #define RL_RXANA_REAL (1U)
186 #define RL_RXANA_MODES_MAX (2U)
187 
191 #define RL_MAX_NUM_OF_TEMP10_RANGES (19U)
192 
196 #define RL_LUT_CHIRP_PROFILE_VAR (0x0U)
197 #define RL_LUT_CHIRP_FREQ_START_VAR (0x1U)
198 #define RL_LUT_CHIRP_FREQ_SLOPE_VAR (0x2U)
199 #define RL_LUT_CHIRP_IDLE_TIME_VAR (0x3U)
200 #define RL_LUT_CHIRP_ADC_START_TIME_VAR (0x4U)
201 #define RL_LUT_CHIRP_TX_EN_VAR (0x5U)
202 #define RL_LUT_CHIRP_BPM_VAL_VAR (0x6U)
203 #define RL_LUT_TX0_PHASE_SHIFT_VAR (0x7U)
204 #define RL_LUT_TX1_PHASE_SHIFT_VAR (0x8U)
205 #define RL_LUT_TX2_PHASE_SHIFT_VAR (0x9U)
206 
210 #define RL_MAX_ADV_CHIRP_LUT_CHUNK_SIZE (212U)
211 
212 /******************************************************************************
213  * GLOBAL VARIABLES/DATA-TYPES DEFINITIONS
214  ******************************************************************************
215  */
216 
220 typedef struct rlChanCfg
221 {
238  rlUInt16_t rxChannelEn;
254  rlUInt16_t txChannelEn;
267  rlUInt16_t cascading;
300  rlUInt16_t cascadingPinoutCfg;
301 }rlChanCfg_t;
302 
306 #ifndef MMWL_BIG_ENDIAN
307 typedef struct rlAdcBitFormat
308 {
312  rlUInt32_t b2AdcBits :2;
316  rlUInt32_t b6Reserved0 :6;
324  rlUInt32_t b8FullScaleReducFctr:8;
328  rlUInt32_t b2AdcOutFmt :2;
332  rlUInt32_t b14Reserved1 :14;
334 #else
335 typedef struct rlAdcBitFormat
336 {
340  rlUInt32_t b14Reserved1 :14;
344  rlUInt32_t b2AdcOutFmt :2;
352  rlUInt32_t b8FullScaleReducFctr:8;
356  rlUInt32_t b6Reserved0 :6;
360  rlUInt32_t b2AdcBits :2;
362 #endif
363 
367 typedef struct rlAdcOutCfg
368 {
376  rlUInt16_t reserved0;
380  rlUInt16_t reserved1;
382 
383 
387 #ifndef MMWL_BIG_ENDIAN
388 typedef struct rlBpmModeCfg
389 {
397  rlUInt16_t b2SrcSel :2;
401  rlUInt16_t b1Reserved0 :1;
405  rlUInt16_t b13Reserved1 :13;
407 #else
408 typedef struct rlBpmModeCfg
409 {
413  rlUInt16_t b13Reserved1 :13;
417  rlUInt16_t b1Reserved0 :1;
425  rlUInt16_t b2SrcSel :2;
427 #endif
428 
432 #ifndef MMWL_BIG_ENDIAN
433 typedef struct rlBpmKCounterSel
434 {
438  rlUInt16_t b1BpmKStart :1;
442  rlUInt16_t b1BpmKEnd :1;
446  rlUInt16_t b14Reserved :14;
448 #else
449 typedef struct rlBpmKCounterSel
450 {
454  rlUInt16_t b14Reserved :14;
458  rlUInt16_t b1BpmKEnd :1;
462  rlUInt16_t b1BpmKStart :1;
464 #endif
465 
469 typedef struct rlBpmCommonCfg
470 {
478  rlUInt16_t reserved0;
482  rlUInt16_t reserved1;
486  rlUInt16_t reserved2;
490  rlUInt32_t reserved3;
494  rlUInt32_t reserved4;
496 
500 typedef struct rlBpmChirpCfg
501 {
505  rlUInt16_t chirpStartIdx;
509  rlUInt16_t chirpEndIdx;
522  rlUInt16_t constBpmVal;
526  rlUInt16_t reserved;
528 
532 typedef struct rlLowPowerModeCfg
533 {
537  rlUInt16_t reserved;
542  rlUInt16_t lpAdcMode;
544 
548 typedef struct rlPowerSaveModeCfg
549 {
567  rlUInt16_t reserved0;
571  rlUInt32_t reserved[4U];
573 
580 typedef struct rlProfileCfg
581 {
585  rlUInt16_t profileId;
586 #ifndef MMWL_BIG_ENDIAN
587 
612  rlUInt8_t pfVcoSelect;
631  rlUInt8_t pfCalLutUpdate;
632 #else
633 
651  rlUInt8_t pfCalLutUpdate;
677  rlUInt8_t pfVcoSelect;
678 #endif
679 
689  rlUInt32_t startFreqConst;
695  rlUInt32_t idleTimeConst;
701  rlUInt32_t adcStartTimeConst;
710  rlUInt32_t rampEndTime;
744  rlUInt32_t txPhaseShifter;
757  rlInt16_t freqSlopeConst;
763  rlInt16_t txStartTime;
778  rlUInt16_t numAdcSamples;
803  rlUInt16_t digOutSampleRate;
804 #ifndef MMWL_BIG_ENDIAN
805 
812  rlUInt8_t hpfCornerFreq1;
820  rlUInt8_t hpfCornerFreq2;
821 #else
822 
829  rlUInt8_t hpfCornerFreq2;
837  rlUInt8_t hpfCornerFreq1;
838 #endif
839 
858  rlUInt16_t txCalibEnCfg;
888  rlUInt16_t rxGain;
892  rlUInt16_t reserved;
894 
902 typedef struct rlChirpCfg
903 {
907  rlUInt16_t chirpStartIdx;
911  rlUInt16_t chirpEndIdx;
915  rlUInt16_t profileId;
919  rlUInt16_t reserved;
929  rlUInt32_t startFreqVar;
939  rlUInt16_t freqSlopeVar;
945  rlUInt16_t idleTimeVar;
951  rlUInt16_t adcStartTimeVar;
965  rlUInt16_t txEnable;
966 }rlChirpCfg_t;
967 
971 typedef struct rlWordParam
972 {
973  rlUInt16_t halfWordOne;
974  rlUInt16_t halfWordTwo;
976 
980 typedef struct rlFrameCfg
981 {
985  rlUInt16_t reserved0;
990  rlUInt16_t chirpStartIdx;
995  rlUInt16_t chirpEndIdx;
1010  rlUInt16_t numLoops;
1015  rlUInt16_t numFrames;
1025  rlUInt16_t numAdcSamples;
1039  rlUInt32_t framePeriodicity;
1056  rlUInt16_t triggerSelect;
1060  rlUInt16_t reserved1;
1069  rlUInt32_t frameTriggerDelay;
1070 }rlFrameCfg_t;
1071 
1075 typedef struct rlSubFrameCfg
1076 {
1080  rlUInt16_t forceProfileIdx;
1087  rlUInt16_t chirpStartIdx;
1094  rlUInt16_t numOfChirps;
1108  rlUInt16_t numLoops;
1121  rlUInt32_t burstPeriodicity;
1133  rlUInt16_t numOfBurst;
1139  rlUInt16_t numOfBurstLoops;
1143  rlUInt16_t reserved0;
1162  rlUInt32_t reserved1;
1166  rlUInt32_t reserved2;
1168 
1172 typedef struct rlAdvFrameSeqCfg
1173 {
1174 #ifndef MMWL_BIG_ENDIAN
1175 
1178  rlUInt8_t numOfSubFrames;
1188  rlUInt8_t forceProfile;
1197  rlUInt8_t loopBackCfg;
1207  rlUInt8_t subFrameTrigger;
1208 #else
1209 
1218  rlUInt8_t forceProfile;
1222  rlUInt8_t numOfSubFrames;
1232  rlUInt8_t subFrameTrigger;
1241  rlUInt8_t loopBackCfg;
1242 #endif
1243 
1246  rlSubFrameCfg_t subFrameCfg[RL_MAX_SUBFRAMES];
1252  rlUInt16_t numFrames;
1268  rlUInt16_t triggerSelect;
1277  rlUInt32_t frameTrigDelay;
1281  rlUInt32_t reserved0;
1285  rlUInt32_t reserved1;
1287 
1288 
1292 typedef struct rlFrameApplyCfg
1293 {
1297  rlUInt32_t numChirps;
1305  rlUInt16_t numAdcSamples;
1309  rlUInt16_t reserved;
1311 
1315 typedef struct rlSubFrameDataCfg
1316 {
1320  rlUInt32_t totalChirps;
1337  rlUInt16_t numAdcSamples;
1338 #ifndef MMWL_BIG_ENDIAN
1339 
1354  rlUInt8_t reserved;
1355 #else
1356 
1359  rlUInt8_t reserved;
1371  rlUInt8_t numChirpsInDataPacket;
1372 #endif
1374 
1380 typedef struct rlAdvFrameDataCfg
1381 {
1382 #ifndef MMWL_BIG_ENDIAN
1383 
1386  rlUInt8_t numSubFrames;
1390  rlUInt8_t reserved0;
1391 #else
1392 
1395  rlUInt8_t reserved0;
1399  rlUInt8_t numSubFrames;
1400 #endif
1401 
1404  rlUInt16_t reserved1;
1408  rlSubFrameDataCfg_t subframeDataCfg[RL_MAX_SUBFRAMES];
1410 
1414 typedef struct rlAdvFrameCfg
1415 {
1425 
1429 typedef struct rlContModeCfg
1430 {
1441  rlUInt32_t startFreqConst;
1467  rlUInt32_t txPhaseShifter;
1474  rlUInt16_t digOutSampleRate;
1475 #ifndef MMWL_BIG_ENDIAN
1476 
1483  rlUInt8_t hpfCornerFreq1;
1491  rlUInt8_t hpfCornerFreq2;
1508  rlUInt8_t rxGain;
1521  rlUInt8_t vcoSelect;
1522 #else
1523 
1530  rlUInt8_t hpfCornerFreq2;
1538  rlUInt8_t hpfCornerFreq1;
1551  rlUInt8_t vcoSelect;
1568  rlUInt8_t rxGain;
1569 #endif
1570 
1573  rlUInt16_t reserved;
1575 
1579 typedef struct rlContModeEn
1580 {
1586  rlUInt16_t contModeEn;
1590  rlUInt16_t reserved;
1592 
1596 typedef struct rlFrameTrigger
1597 {
1611  rlUInt16_t startStop;
1615  rlUInt16_t reserved;
1617 
1618 
1622 typedef struct rlTestSourceObject
1623 {
1628  rlInt16_t posX;
1633  rlInt16_t posY;
1638  rlInt16_t posZ;
1643  rlInt16_t velX;
1648  rlInt16_t velY;
1653  rlInt16_t velZ;
1658  rlUInt16_t sigLvl;
1663  rlInt16_t posXMin;
1668  rlInt16_t posYMin;
1673  rlInt16_t posZMin;
1678  rlInt16_t posXMax;
1683  rlInt16_t posYMax;
1688  rlInt16_t posZMax;
1690 
1694 typedef struct rlTestSourceAntPos
1695 {
1699  rlInt8_t antPosX;
1703  rlInt8_t antPosZ;
1705 
1709 typedef struct rlTestSource
1710 {
1714  rlTestSourceObject_t testObj[RL_MAX_TST_SRC_OBJECTS];
1718  rlTestSourceAntPos_t rxAntPos[RL_RX_CNT];
1722  rlUInt32_t reserved0;
1726  rlUInt16_t reserved1;
1727 #ifndef MMWL_BIG_ENDIAN
1728 
1737  rlUInt8_t miscFunCtrl;
1741  rlUInt8_t reserved2;
1742 #else
1743 
1746  rlUInt8_t reserved2;
1756  rlUInt8_t miscFunCtrl;
1757 #endif
1759 
1763 typedef struct rlTestSourceEn
1764 {
1768  rlUInt16_t tsEnable;
1772  rlUInt16_t reserved;
1774 
1778 typedef struct rlRfTempData
1779 {
1783  rlUInt32_t time;
1787  rlInt16_t tmpRx0Sens;
1791  rlInt16_t tmpRx1Sens;
1795  rlInt16_t tmpRx2Sens;
1799  rlInt16_t tmpRx3Sens;
1803  rlInt16_t tmpTx0Sens;
1807  rlInt16_t tmpTx1Sens;
1811  rlInt16_t tmpTx2Sens;
1815  rlInt16_t tmpPmSens;
1819  rlInt16_t tmpDig0Sens;
1825  rlInt16_t tmpDig1Sens;
1827 
1831 typedef struct rlDfeRxdStatReport
1832 {
1836  rlInt16_t iAvgDC;
1840  rlInt16_t qAvgDC;
1844  rlUInt16_t iAvgPwr;
1848  rlUInt16_t qAvgPwr;
1852  rlInt32_t iqAvgCroCorrel;
1854 
1858 typedef struct rlDfeStatReport
1859 {
1863  rlDfeRxStatReport_t dfeStatRepo[RL_MAX_PROFILES_CNT][RL_RX_CNT];
1865 
1869 typedef struct rlDynPwrSave
1870 {
1885  rlUInt16_t blkCfg;
1889  rlUInt16_t reserved;
1890 } rlDynPwrSave_t;
1891 
1895 typedef struct rlRfDevCfg
1896 {
1910  rlUInt32_t aeDirection;
1911 #ifndef MMWL_BIG_ENDIAN
1912 
1922  rlUInt8_t aeControl;
1939  rlUInt8_t bssAnaControl;
1943  rlUInt8_t reserved1;
1959  rlUInt8_t bssDigCtrl;
1968  rlUInt8_t aeCrcConfig;
1972  rlUInt8_t reserved2;
1973 #else
1974 
1990  rlUInt8_t bssAnaControl;
2000  rlUInt8_t aeControl;
2016  rlUInt8_t bssDigCtrl;
2020  rlUInt8_t reserved1;
2024  rlUInt8_t reserved2;
2033  rlUInt8_t aeCrcConfig;
2034 #endif
2035 
2038  rlUInt16_t reserved3;
2039 } rlRfDevCfg_t;
2040 
2045 typedef struct rlGpAdcSamples
2046 {
2047 #ifndef MMWL_BIG_ENDIAN
2048 
2051  rlUInt8_t sampleCnt;
2056  rlUInt8_t settlingTime;
2057 #else
2058 
2062  rlUInt8_t settlingTime;
2066  rlUInt8_t sampleCnt;
2067 #endif
2069 
2073 typedef struct rlGpAdcCfg
2074 {
2075 #ifndef MMWL_BIG_ENDIAN
2076 
2086  rlUInt8_t enable;
2096  rlUInt8_t bufferEnable;
2097 #else
2098 
2107  rlUInt8_t bufferEnable;
2118  rlUInt8_t enable;
2119 #endif
2120 
2125  rlGpAdcSamples_t numOfSamples[RL_MAX_GPADC_SENSORS];
2129  rlUInt16_t reserved0;
2133  rlUInt32_t reserved1[3U];
2134 } rlGpAdcCfg_t;
2135 
2139 typedef struct rlRfLdoBypassCfg
2140 {
2158  rlUInt16_t ldoBypassEnable;
2159 #ifndef MMWL_BIG_ENDIAN
2160 
2170  rlUInt8_t supplyMonIrDrop;
2179 #else
2180 
2187  rlUInt8_t ioSupplyIndicator;
2198  rlUInt8_t supplyMonIrDrop;
2199 #endif
2201 
2202 
2206 typedef struct rlRfPhaseShiftCfg
2207 {
2211  rlUInt16_t chirpStartIdx;
2215  rlUInt16_t chirpEndIdx;
2216 #ifndef MMWL_BIG_ENDIAN
2217 
2224  rlUInt8_t tx0PhaseShift;
2232  rlUInt8_t tx1PhaseShift;
2240  rlUInt8_t tx2PhaseShift;
2244  rlUInt8_t reserved;
2245 #else
2246 
2253  rlUInt8_t tx1PhaseShift;
2261  rlUInt8_t tx0PhaseShift;
2265  rlUInt8_t reserved;
2273  rlUInt8_t tx2PhaseShift;
2274 #endif
2276 
2280 typedef struct rlRfPALoopbackCfg
2281 {
2291  rlUInt16_t paLoopbackFreq;
2292 #ifndef MMWL_BIG_ENDIAN
2293 
2297  rlUInt8_t paLoopbackEn;
2301  rlUInt8_t reserved;
2302 #else
2303 
2306  rlUInt8_t reserved;
2307 
2312  rlUInt8_t paLoopbackEn;
2313 #endif
2315 
2319 typedef struct rlRfPSLoopbackCfg
2320 {
2324  rlUInt16_t psLoopbackFreq;
2328  rlUInt16_t reserved0;
2329 #ifndef MMWL_BIG_ENDIAN
2330 
2334  rlUInt8_t psLoopbackEn;
2341  rlUInt8_t psLoopbackTxId;
2374  rlUInt8_t pgaGainIndex;
2378  rlUInt8_t reserved1;
2379 #else
2380 
2386  rlUInt8_t psLoopbackTxId;
2391  rlUInt8_t psLoopbackEn;
2395  rlUInt8_t reserved1;
2428  rlUInt8_t pgaGainIndex;
2429 #endif
2431 
2435 typedef struct rlRfIFLoopbackCfg
2436 {
2455  rlUInt16_t ifLoopbackFreq;
2456 #ifndef MMWL_BIG_ENDIAN
2457 
2461  rlUInt8_t ifLoopbackEn;
2465  rlUInt8_t reserved;
2466 #else
2467 
2470  rlUInt8_t reserved;
2475  rlUInt8_t ifLoopbackEn;
2476 #endif
2478 
2482 typedef struct rlRfProgFiltCoeff
2483 {
2527  rlInt16_t coeffArray[104];
2529 
2533 typedef struct rlRfProgFiltConf
2534 {
2535 #ifndef MMWL_BIG_ENDIAN
2536 
2539  rlUInt8_t profileId;
2549  rlUInt8_t coeffStartIdx;
2558  rlUInt8_t progFiltLen;
2567 #else
2568 
2577  rlUInt8_t coeffStartIdx;
2581  rlUInt8_t profileId;
2589  rlUInt8_t progFiltFreqShift;
2598  rlUInt8_t progFiltLen;
2599 #endif
2601 
2605 typedef struct rlRfMiscConf
2606 {
2647  rlUInt32_t miscCtl;
2651  rlUInt32_t reserved;
2653 
2657 typedef struct rlRfCalMonTimeUntConf
2658 {
2684  rlUInt16_t calibMonTimeUnit;
2685 #ifndef MMWL_BIG_ENDIAN
2686 
2701  rlUInt8_t numOfCascadeDev;
2717  rlUInt8_t devId;
2727  rlUInt8_t monitoringMode;
2731  rlUInt8_t reserved;
2732 #else
2733 
2748  rlUInt8_t devId;
2764  rlUInt8_t numOfCascadeDev;
2768  rlUInt8_t reserved;
2778  rlUInt8_t monitoringMode;
2779 #endif
2780 
2783  rlUInt16_t reserved1;
2785 
2789 typedef struct rlRfCalMonFreqLimitConf
2790 {
2803  rlUInt16_t freqLimitLow;
2816  rlUInt16_t freqLimitHigh;
2820  rlUInt32_t reserved0;
2824  rlUInt32_t reserved1;
2826 
2830 typedef struct rlRfInitCalConf
2831 {
2858  rlUInt32_t calibEnMask;
2859 #ifndef MMWL_BIG_ENDIAN
2860 
2863  rlUInt8_t reserved0;
2867  rlUInt8_t reserved1;
2868 #else
2869 
2872  rlUInt8_t reserved1;
2876  rlUInt8_t reserved0;
2877 #endif
2878 
2881  rlUInt16_t reserved2;
2885  rlUInt32_t reserved3;
2887 
2891 typedef struct rlRunTimeCalibConf
2892 {
2942  rlUInt32_t calibPeriodicity;
2943 #ifndef MMWL_BIG_ENDIAN
2944 
2959  rlUInt8_t reportEn;
2963  rlUInt8_t reserved0;
2979  rlUInt8_t txPowerCalMode;
3023  rlUInt8_t CalTempIdxTx;
3047  rlUInt8_t CalTempIdxRx;
3071  rlUInt8_t CalTempIdxLodist;
3075  rlUInt8_t reserved1;
3076 #else
3077 
3080  rlUInt8_t reserved0;
3088  rlUInt8_t reportEn;
3108  rlUInt8_t CalTempIdxOverrideEn;
3125  rlUInt8_t txPowerCalMode;
3149  rlUInt8_t CalTempIdxRx;
3173  rlUInt8_t CalTempIdxTx;
3177  rlUInt8_t reserved1;
3201  rlUInt8_t CalTempIdxLodist;
3202 #endif
3204 
3208 typedef struct rlRxGainTempLutReadReq
3209 {
3210 #ifndef MMWL_BIG_ENDIAN
3211 
3214  rlUInt8_t profileIndx;
3218  rlUInt8_t reserved0;
3219 #else
3220 
3223  rlUInt8_t reserved0;
3227  rlUInt8_t profileIndx;
3228 #endif
3229 
3232  rlUInt16_t reserved1;
3234 
3238 typedef struct rlTxGainTempLutReadReq
3239 {
3240 #ifndef MMWL_BIG_ENDIAN
3241 
3244  rlUInt8_t profileIndx;
3248  rlUInt8_t reserved0;
3249 #else
3250 
3253  rlUInt8_t reserved0;
3257  rlUInt8_t profileIndx;
3258 #endif
3259 
3262  rlUInt16_t reserved1;
3264 
3268 typedef struct rlRxGainTempLutData
3269 {
3270 #ifndef MMWL_BIG_ENDIAN
3271 
3274  rlUInt8_t profileIndx;
3278  rlUInt8_t reserved0;
3320  rlUInt8_t rxGainTempLut[RL_MAX_NUM_OF_TEMP10_RANGES + 1U];
3321 #else
3322 
3325  rlUInt8_t reserved0;
3329  rlUInt8_t profileIndx;
3372  rlUInt8_t rxGainTempLut[RL_MAX_NUM_OF_TEMP10_RANGES + 1U];
3373 #endif
3374 
3377  rlUInt16_t reserved1;
3379 
3383 typedef struct rlTxGainTempLutData
3384 {
3385 #ifndef MMWL_BIG_ENDIAN
3386 
3389  rlUInt8_t profileIndx;
3393  rlUInt8_t reserved0;
3422  rlUInt8_t txGainTempLut[RL_TX_CNT][RL_MAX_NUM_OF_TEMP10_RANGES + 1U];
3423 #else
3424 
3427  rlUInt8_t reserved0;
3431  rlUInt8_t profileIndx;
3460  rlUInt8_t txGainTempLut[RL_TX_CNT][RL_MAX_NUM_OF_TEMP10_RANGES + 1U];
3461 #endif
3462 
3465  rlUInt16_t reserved1;
3467 
3471 typedef struct rlRfTxFreqPwrLimitMonConf
3472 {
3484  rlUInt16_t freqLimitLowTx0;
3496  rlUInt16_t freqLimitLowTx1;
3508  rlUInt16_t freqLimitLowTx2;
3521  rlUInt16_t freqLimitHighTx0;
3534  rlUInt16_t freqLimitHighTx1;
3547  rlUInt16_t freqLimitHighTx2;
3548 #ifndef MMWL_BIG_ENDIAN
3549 
3554  rlUInt8_t tx0PwrBackOff;
3560  rlUInt8_t tx1PwrBackOff;
3566  rlUInt8_t tx2PwrBackOff;
3570  rlUInt8_t reserved0;
3571 #else
3572 
3577  rlUInt8_t tx1PwrBackOff;
3583  rlUInt8_t tx0PwrBackOff;
3587  rlUInt8_t reserved0;
3593  rlUInt8_t tx2PwrBackOff;
3594 #endif
3595 
3598  rlUInt16_t reserved1;
3602  rlUInt16_t reserved2;
3606  rlUInt16_t reserved3;
3610  rlUInt16_t reserved4;
3612 
3616 typedef struct rlLoopbackBurst
3617 {
3618 #ifndef MMWL_BIG_ENDIAN
3619 
3632  rlUInt8_t loopbackSel;
3639  rlUInt8_t baseProfileIndx;
3645  rlUInt8_t burstIndx;
3649  rlUInt8_t reserved0;
3650 #else
3651 
3657  rlUInt8_t baseProfileIndx;
3671  rlUInt8_t loopbackSel;
3675  rlUInt8_t reserved0;
3681  rlUInt8_t burstIndx;
3682 #endif
3683 
3692  rlUInt32_t freqConst;
3702  rlInt16_t slopeConst;
3706  rlUInt16_t reserved1;
3715  rlUInt32_t txBackoff;
3733  rlUInt16_t rxGain;
3734 #ifndef MMWL_BIG_ENDIAN
3735 
3748  rlUInt8_t txEn;
3752  rlUInt8_t reserved2;
3753 #else
3754 
3757  rlUInt8_t reserved2;
3771  rlUInt8_t txEn;
3772 #endif
3773 
3787  rlUInt16_t bpmConfig;
3798  rlUInt16_t digCorrDis;
3799 #ifndef MMWL_BIG_ENDIAN
3800 
3818  rlUInt8_t ifLbFreq;
3823  rlUInt8_t ifLbMag;
3858  rlUInt8_t ps1PgaIndx;
3862  rlUInt8_t ps2PgaIndx;
3863 #else
3864 
3868  rlUInt8_t ifLbMag;
3887  rlUInt8_t ifLbFreq;
3891  rlUInt8_t ps2PgaIndx;
3926  rlUInt8_t ps1PgaIndx;
3927 #endif
3928 
3937  rlUInt32_t psLbFreq;
3941  rlUInt32_t reserved3;
3954  rlUInt16_t paLbFreq;
3958  rlUInt16_t reserved4[3U];
3960 
3964 typedef struct rlChirpRow
3965 {
3989  rlUInt32_t chirpNR1;
3998  rlUInt32_t chirpNR2;
4011  rlUInt32_t chirpNR3;
4012 } rlChirpRow_t;
4013 
4017 typedef struct rlDynChirpCfg
4018 {
4019 #ifndef MMWL_BIG_ENDIAN
4020 
4038  rlUInt8_t chirpRowSelect;
4044  rlUInt8_t chirpSegSel;
4045 #else
4046 
4051  rlUInt8_t chirpSegSel;
4070  rlUInt8_t chirpRowSelect;
4071 #endif
4072 
4080  rlUInt16_t programMode;
4084  rlChirpRow_t chirpRow[16U];
4085 } rlDynChirpCfg_t;
4086 
4090 typedef struct rlDynChirpEnCfg
4091 {
4095  rlUInt32_t reserved;
4097 
4101 typedef struct rlChirpPhShiftPerTx
4102 {
4131 
4135 typedef struct rlDynPerChirpPhShftCfg
4136 {
4137 #ifndef MMWL_BIG_ENDIAN
4138 
4141  rlUInt8_t reserved;
4147  rlUInt8_t chirpSegSel;
4148 #else
4149 
4154  rlUInt8_t chirpSegSel;
4158  rlUInt8_t reserved;
4159 #endif
4160 
4164  rlChirpPhShiftPerTx_t phShiftPerTx[16U];
4173  rlUInt16_t programMode;
4175 
4179 typedef struct rlCalDataGetCfg
4180 {
4184  rlUInt16_t reserved;
4188  rlUInt16_t chunkId;
4190 
4195 typedef struct rlCalDataStore
4196 {
4200  rlUInt16_t numOfChunk;
4204  rlUInt16_t chunkId;
4208  rlUInt8_t calData[224U];
4210 
4303 typedef struct rlCalibrationData
4304 {
4305  rlCalDataStore_t calibChunk[RL_MAX_CALIB_DATA_CHUNK];
4307 
4311 typedef struct rlInterRxGainPhConf
4312 {
4313 #ifndef MMWL_BIG_ENDIAN
4314 
4317  rlUInt8_t profileIndx;
4331  rlUInt8_t digCompEn;
4332 #else
4333 
4346  rlUInt8_t digCompEn;
4350  rlUInt8_t profileIndx;
4351 #endif
4352 
4355  rlUInt16_t reserved1;
4356 #ifndef MMWL_BIG_ENDIAN
4357 
4368  rlInt8_t digRxGainComp[RL_RX_CNT];
4369 #else
4370 
4381  rlInt8_t digRxGainComp[RL_RX_CNT];
4382 #endif
4383 
4395  rlUInt16_t digRxPhShiftComp[RL_RX_CNT];
4396 #ifndef MMWL_BIG_ENDIAN
4397 
4410  rlUInt8_t digRxDelayComp[RL_RX_CNT];
4411 #else
4412 
4425  rlUInt8_t digRxDelayComp[RL_RX_CNT];
4426 #endif
4427 
4430  rlUInt32_t reserved2[4U];
4447  rlInt16_t digRxFreqShift[RL_RX_CNT];
4474  rlInt16_t digTxFreqShift[RL_RX_CNT];
4478  rlUInt32_t reserved3[4U];
4480 
4484 typedef struct rlRfBootStatusCfg
4485 {
4518  rlUInt32_t bssSysStatus;
4523  rlUInt32_t bssBootUpTime;
4527  rlUInt32_t reserved0;
4531  rlUInt32_t reserved1;
4533 
4537 typedef struct rlInterChirpBlkCtrlCfg
4538 {
4569  rlInt16_t rx02RfPreEnTime;
4576  rlInt16_t rx13RfPreEnTime;
4583  rlInt16_t rx02BbPreEnTime;
4590  rlInt16_t rx13BbPreEnTime;
4596  rlInt16_t rx02RfTurnOnTime;
4602  rlInt16_t rx13RfTurnOnTime;
4608  rlInt16_t rx02BbTurnOnTime;
4614  rlInt16_t rx13BbTurnOnTime;
4642  rlInt32_t reserved0;
4646  rlInt32_t reserved1;
4648 
4652 typedef struct rlSubFrameStartCfg
4653 {
4659  rlUInt16_t startCmd;
4663  rlUInt16_t reserved;
4665 
4669 typedef struct rlPhShiftCalDataGetCfg
4670 {
4671 #ifndef MMWL_BIG_ENDIAN
4672 
4678  rlUInt8_t txIndex;
4682  rlUInt8_t reserved0;
4683 #else
4684 
4687  rlUInt8_t reserved0;
4694  rlUInt8_t txIndex;
4695 #endif
4696 
4699  rlUInt16_t reserved1;
4701 
4706 typedef struct rlPhShiftCalibrationStore
4707 {
4708 #ifndef MMWL_BIG_ENDIAN
4709 
4715  rlUInt8_t txIndex;
4720  rlUInt8_t calibApply;
4721 #else
4722 
4726  rlUInt8_t calibApply;
4733  rlUInt8_t txIndex;
4734 #endif
4735 
4774  rlUInt8_t observedPhShiftData[128U];
4778  rlUInt16_t reserved;
4780 
4786 typedef struct rlPhShiftCalibrationData
4787 {
4788  rlPhShiftCalibrationStore_t PhShiftcalibChunk[RL_TX_CNT];
4790 
4794 typedef struct rlRfDieIdCfg
4795 {
4799  rlUInt32_t dieIDHexVal0;
4803  rlUInt32_t dieIDHexVal1;
4807  rlUInt32_t dieIDHexVal2;
4811  rlUInt32_t dieIDHexVal3;
4815  rlUInt32_t reserved0;
4819  rlUInt32_t reserved1;
4823  rlUInt32_t reserved2;
4827  rlUInt32_t reserved3;
4829 
4833 typedef struct rlAdvChirpCfg
4834 {
4835 #ifndef MMWL_BIG_ENDIAN
4836 
4854  rlUInt8_t chirpParamIdx;
4866  rlUInt8_t resetMode;
4867 #else
4868 
4879  rlUInt8_t resetMode;
4898  rlUInt8_t chirpParamIdx;
4899 #endif
4900 
4903  rlUInt16_t reserved0;
4907  rlUInt32_t reserved1;
4917  rlUInt16_t deltaResetPeriod;
4986  rlUInt32_t reserved2;
4996  rlUInt16_t lutResetPeriod;
5024  rlUInt16_t numOfPatterns;
5055  rlUInt16_t lutSfIndexOffset;
5056 #ifndef MMWL_BIG_ENDIAN
5057 
5081 #else
5082 
5092  rlUInt8_t lutChirpParamScale;
5105  rlUInt8_t lutChirpParamSize;
5106 #endif
5107 
5121  rlUInt32_t reserved3;
5125  rlUInt32_t reserved4;
5127 
5131 typedef struct rlMonTypeTrigCfg
5132 {
5133 #ifndef MMWL_BIG_ENDIAN
5134 
5142  rlUInt8_t monTrigTypeEn;
5146  rlUInt8_t reserved0;
5147 #else
5148 
5151  rlUInt8_t reserved0;
5160  rlUInt8_t monTrigTypeEn;
5161 #endif
5162 
5165  rlUInt16_t reserved1[3U];
5167 
5171 typedef struct rlRfApllSynthBwControl
5172 {
5173 #ifndef MMWL_BIG_ENDIAN
5174 
5177  rlUInt8_t synthIcpTrim;
5181  rlUInt8_t synthRzTrim;
5185  rlUInt8_t apllIcpTrim;
5189  rlUInt8_t apllRzTrimLpf;
5199  rlUInt8_t apllRzTrimVco;
5203  rlUInt8_t reserved0;
5204 #else
5205 
5208  rlUInt8_t synthRzTrim;
5212  rlUInt8_t synthIcpTrim;
5216  rlUInt8_t apllRzTrimLpf;
5220  rlUInt8_t apllIcpTrim;
5224  rlUInt8_t reserved0;
5234  rlUInt8_t apllRzTrimVco;
5235 #endif
5236 
5239  rlUInt16_t reserved[5U];
5241 
5246 typedef struct rlAdvChirpLUTCfg
5247 {
5251  rlUInt32_t reserved0;
5255  rlUInt32_t reserved1;
5259  rlUInt32_t reserved2;
5264  rlUInt16_t lutAddressOffset;
5269  rlUInt16_t numBytes;
5275  rlInt8_t calData[RL_MAX_ADV_CHIRP_LUT_CHUNK_SIZE];
5277 
5282 typedef struct rlAdvChirpDynLUTAddrOffCfg
5283 {
5300  rlUInt16_t addrMaskEn;
5304  rlUInt16_t reserved0;
5323  rlUInt16_t lutAddressOffset[10U];
5327  rlUInt32_t reserved1;
5331  rlUInt32_t reserved2;
5335  rlUInt32_t reserved3;
5337 
5887 /******************************************************************************
5888  * FUNCTION DECLARATIONS
5889  ******************************************************************************
5890  */
5891 
5892 /* RF/Sensor Configuration Functions */
5893 
5894 /*Rx and Tx Channel Configuration */
5895 MMWL_EXPORT rlReturnVal_t rlSetChannelConfig(rlUInt8_t deviceMap, rlChanCfg_t* data);
5896 
5897 /*ADC Out Configuration */
5898 MMWL_EXPORT rlReturnVal_t rlSetAdcOutConfig(rlUInt8_t deviceMap, rlAdcOutCfg_t* data);
5899 
5900 /*Low Power Mode */
5901 MMWL_EXPORT rlReturnVal_t rlSetLowPowerModeConfig(rlUInt8_t deviceMap,
5902  rlLowPowerModeCfg_t* data);
5903 
5904 /*RF Init */
5905 MMWL_EXPORT rlReturnVal_t rlRfInit(rlUInt8_t deviceMap);
5906 
5907 /*Profile Configuration */
5908 MMWL_EXPORT rlReturnVal_t rlGetProfileConfig(rlUInt8_t deviceMap,
5909  rlUInt16_t profileId,
5910  rlProfileCfg_t* data);
5911 MMWL_EXPORT rlReturnVal_t rlSetProfileConfig(rlUInt8_t deviceMap,
5912  rlUInt16_t cnt,
5913  rlProfileCfg_t* data);
5914 
5915 /*Chirp Configuration */
5916 MMWL_EXPORT rlReturnVal_t rlGetChirpConfig(rlUInt8_t deviceMap, rlUInt16_t chirpStartIdx,
5917  rlUInt16_t chirpEndIdx, rlChirpCfg_t* data);
5918 MMWL_EXPORT rlReturnVal_t rlSetChirpConfig(rlUInt8_t deviceMap,
5919  rlUInt16_t cnt,
5920  rlChirpCfg_t* data);
5921 MMWL_EXPORT rlReturnVal_t rlSetMultiChirpCfg(rlUInt8_t deviceMap, rlUInt16_t cnt,
5922  rlChirpCfg_t **data);
5923 
5924 /*Frame Configuration */
5925 MMWL_EXPORT rlReturnVal_t rlGetFrameConfig(rlUInt8_t deviceMap, rlFrameCfg_t* data);
5926 MMWL_EXPORT rlReturnVal_t rlSetFrameConfig(rlUInt8_t deviceMap, rlFrameCfg_t* data);
5927 
5928 /*Sensor Trigger */
5929 MMWL_EXPORT rlReturnVal_t rlSensorStart(rlUInt8_t deviceMap);
5930 MMWL_EXPORT rlReturnVal_t rlSensorStop(rlUInt8_t deviceMap);
5931 MMWL_EXPORT rlReturnVal_t rlFrameStartStop(rlUInt8_t deviceMap, rlFrameTrigger_t* data);
5932 
5933 /*Advance Frame Configuration */
5934 MMWL_EXPORT rlReturnVal_t rlGetAdvFrameConfig(rlUInt8_t deviceMap,
5935  rlAdvFrameCfg_t* data);
5936 MMWL_EXPORT rlReturnVal_t rlSetAdvFrameConfig(rlUInt8_t deviceMap,
5937  rlAdvFrameCfg_t* data);
5938 
5939 /*Continous mode Configuration */
5940 MMWL_EXPORT rlReturnVal_t rlSetContModeConfig(rlUInt8_t deviceMap,
5941  rlContModeCfg_t* data);
5942 MMWL_EXPORT rlReturnVal_t rlEnableContMode(rlUInt8_t deviceMap, rlContModeEn_t* data);
5943 
5944 /*BPM Configuration */
5945 MMWL_EXPORT rlReturnVal_t rlSetBpmCommonConfig(rlUInt8_t deviceMap,
5946  rlBpmCommonCfg_t* data);
5947 MMWL_EXPORT rlReturnVal_t rlSetBpmChirpConfig(rlUInt8_t deviceMap,
5948  rlBpmChirpCfg_t* data);
5949 MMWL_EXPORT rlReturnVal_t rlSetMultiBpmChirpConfig(rlUInt8_t deviceMap,
5950  rlUInt16_t cnt, rlBpmChirpCfg_t** data);
5951 
5952 /*Test Source Configuration */
5953 MMWL_EXPORT rlReturnVal_t rlSetTestSourceConfig(rlUInt8_t deviceMap,
5954  rlTestSource_t* data);
5955 MMWL_EXPORT rlReturnVal_t rlTestSourceEnable(rlUInt8_t deviceMap,
5956  rlTestSourceEnable_t* data);
5957 
5958 /*Get RF Characterization Time and Temperature information */
5959 MMWL_EXPORT rlReturnVal_t rlRfGetTemperatureReport(rlUInt8_t deviceMap,
5960  rlRfTempData_t* data);
5961 
5962 /*Get RF Digital Front End Statistics */
5963 MMWL_EXPORT rlReturnVal_t rlRfDfeRxStatisticsReport(rlUInt8_t deviceMap,
5964  rlDfeStatReport_t* data);
5965 
5966 /*Dynamic Power save Configuration */
5967 MMWL_EXPORT rlReturnVal_t rlRfDynamicPowerSave(rlUInt8_t deviceMap,
5968  rlDynPwrSave_t* data);
5969 
5970 /*RadarSS Device configuration */
5971 MMWL_EXPORT rlReturnVal_t rlRfSetDeviceCfg(rlUInt8_t deviceMap, rlRfDevCfg_t* data);
5972 
5973 /*GPADC Read(From external Input) configuration */
5974 MMWL_EXPORT rlReturnVal_t rlSetGpAdcConfig(rlUInt8_t deviceMap, rlGpAdcCfg_t* data);
5975 
5976 /* LDO bypass Configuration */
5977 MMWL_EXPORT rlReturnVal_t rlRfSetLdoBypassConfig(rlUInt8_t deviceMap,
5978  rlRfLdoBypassCfg_t* data);
5979 
5980 /*Per Chirp Phase Shifter Configuration */
5981 MMWL_EXPORT rlReturnVal_t rlRfSetPhaseShiftConfig(rlUInt8_t deviceMap, rlUInt16_t cnt,
5982  rlRfPhaseShiftCfg_t* data);
5983 
5984 /* PA loopback Configuration */
5985 MMWL_EXPORT rlReturnVal_t rlRfSetPALoopbackConfig(rlUInt8_t deviceMap,
5986  rlRfPALoopbackCfg_t* data);
5987 
5988 /* Phase Shift Loopback Configuration */
5989 MMWL_EXPORT rlReturnVal_t rlRfSetPSLoopbackConfig(rlUInt8_t deviceMap,
5990  rlRfPSLoopbackCfg_t* data);
5991 
5992 /* IF loopback Configuration */
5993 MMWL_EXPORT rlReturnVal_t rlRfSetIFLoopbackConfig(rlUInt8_t deviceMap,
5994  rlRfIFLoopbackCfg_t* data);
5995 
5996 /* Programmable Filter RAM coefficients */
5997 MMWL_EXPORT rlReturnVal_t rlRfSetProgFiltCoeffRam(rlUInt8_t deviceMap,
5998  rlRfProgFiltCoeff_t* data);
5999 
6000 /* programmable Filter Configuration */
6001 MMWL_EXPORT rlReturnVal_t rlRfSetProgFiltConfig(rlUInt8_t deviceMap,
6002  rlRfProgFiltConf_t* data);
6003 
6004 /*Radar Misc Configuration */
6005 MMWL_EXPORT rlReturnVal_t rlRfSetMiscConfig(rlUInt8_t deviceMap,
6006  rlRfMiscConf_t* data);
6007 
6008 /*Calibration/monitoring Time Unit Configuration */
6009 MMWL_EXPORT rlReturnVal_t rlRfSetCalMonTimeUnitConfig(rlUInt8_t deviceMap,
6010  rlRfCalMonTimeUntConf_t* data);
6011 
6012 /*Calibration/monitoring Freq Limit Configuration */
6013 MMWL_EXPORT rlReturnVal_t rlRfSetCalMonFreqLimitConfig(rlUInt8_t deviceMap,
6015 
6016 /*Init time calibration Configuration */
6017 MMWL_EXPORT rlReturnVal_t rlRfInitCalibConfig(rlUInt8_t deviceMap,
6018  rlRfInitCalConf_t* data);
6019 
6020 /*Run time calibration Configuration */
6021 MMWL_EXPORT rlReturnVal_t rlRfRunTimeCalibConfig(rlUInt8_t deviceMap,
6022  rlRunTimeCalibConf_t* data);
6023 
6024 /*Rx Gain Look up Table (LUT) Update APIs */
6025 MMWL_EXPORT rlReturnVal_t rlRxGainTempLutSet(rlUInt8_t deviceMap,
6026  rlRxGainTempLutData_t *data);
6027 MMWL_EXPORT rlReturnVal_t rlRxGainTempLutGet(rlUInt8_t deviceMap,
6028  rlRxGainTempLutReadReq_t *inData,
6029  rlRxGainTempLutData_t *outData);
6030 
6031 /*Tx Gain Look up Table (LUT) Update APIs */
6032 MMWL_EXPORT rlReturnVal_t rlTxGainTempLutSet(rlUInt8_t deviceMap,
6033  rlTxGainTempLutData_t *data);
6034 MMWL_EXPORT rlReturnVal_t rlTxGainTempLutGet(rlUInt8_t deviceMap,
6035  rlTxGainTempLutReadReq_t *inData,
6036  rlTxGainTempLutData_t *outData);
6037 
6038 /*TX freq and power limits monitoring configuration */
6039 MMWL_EXPORT rlReturnVal_t rlRfTxFreqPwrLimitConfig(rlUInt8_t deviceMap,
6041 
6042 /*Looback chirp configuration API */
6043 MMWL_EXPORT rlReturnVal_t rlSetLoopBckBurstCfg(rlUInt8_t deviceMap,
6044  rlLoopbackBurst_t *data);
6045 
6046 /*Dynamic chirp configuration API */
6047 MMWL_EXPORT rlReturnVal_t rlSetDynChirpCfg(rlUInt8_t deviceMap,
6048  rlUInt16_t segCnt,
6049  rlDynChirpCfg_t **data);
6050 MMWL_EXPORT rlReturnVal_t rlSetDynChirpEn(rlUInt8_t deviceMap,
6051  rlDynChirpEnCfg_t *data);
6052 
6053 /*Dynamic per-chirp phase shifter configuration API(AWR1243P/2243) */
6054 MMWL_EXPORT rlReturnVal_t rlSetDynPerChirpPhShifterCfg(rlUInt8_t deviceMap,
6055  rlUInt16_t segCnt,
6056  rlDynPerChirpPhShftCfg_t **data);
6057 /*Calibration data store/restore configuration */
6058 MMWL_EXPORT rlReturnVal_t rlRfCalibDataStore(rlUInt8_t deviceMap,
6059  rlCalibrationData_t *data);
6060 MMWL_EXPORT rlReturnVal_t rlRfCalibDataRestore(rlUInt8_t deviceMap,
6061  rlCalibrationData_t *data);
6062 
6063 /*Update Inter Rx Gain/Phase offsets for Inter-RX mismatch compensation */
6064 MMWL_EXPORT rlReturnVal_t rlRfInterRxGainPhaseConfig(rlUInt8_t deviceMap,
6065  rlInterRxGainPhConf_t* data);
6066 
6067 /*Get RadarSS/BSS bootup(Boot time monitoring tests) status */
6068 MMWL_EXPORT rlReturnVal_t rlGetRfBootupStatus(rlUInt8_t deviceMap,
6069  rlRfBootStatusCfg_t *data);
6070 
6071 /*Update Inter Rx Gain/Phase offsets for Inter-RX mismatch compensation */
6072 MMWL_EXPORT rlReturnVal_t rlSetInterChirpBlkCtrl(rlUInt8_t deviceMap,
6073  rlInterChirpBlkCtrlCfg_t *data);
6074 /*Sub frame trigger API */
6075 MMWL_EXPORT rlReturnVal_t rlSetSubFrameStart(rlUInt8_t deviceMap,
6076  rlSubFrameStartCfg_t *data);
6077 /*Phase shifter calibration data store/restore configuration*/
6078 MMWL_EXPORT rlReturnVal_t rlRfPhShiftCalibDataStore(rlUInt8_t deviceMap,
6080 MMWL_EXPORT rlReturnVal_t rlRfPhShiftCalibDataRestore(rlUInt8_t deviceMap,
6082 /*Get device die ID status*/
6083 MMWL_EXPORT rlReturnVal_t rlGetRfDieId(rlUInt8_t deviceMap, rlRfDieIdCfg_t *data);
6084 /* Get RadarSS CPU/ESM fault status functions */
6085 MMWL_EXPORT rlReturnVal_t rlRfGetEsmFault(rlUInt8_t deviceMap, rlBssEsmFault_t *data);
6086 MMWL_EXPORT rlReturnVal_t rlRfGetCpuFault(rlUInt8_t deviceMap, rlCpuFault_t *data);
6087 
6088 /* Advanced Chirp configuration */
6089 MMWL_EXPORT rlReturnVal_t rlSetAdvChirpConfig(rlUInt8_t deviceMap, rlAdvChirpCfg_t *data);
6090 
6091 /* Monitor Type Trigger Configuration */
6092 MMWL_EXPORT rlReturnVal_t rlMonTypeTrigConfig(rlUInt8_t deviceMap, rlMonTypeTrigCfg_t *data);
6093 
6094 /* APLL and Synthesizer Bandwidth control API */
6095 MMWL_EXPORT rlReturnVal_t rlRfApllSynthBwCtlConfig(rlUInt8_t deviceMap,
6096  rlRfApllSynthBwControl_t* data);
6097 
6098 /* Advanced Chirp LUT Configuration API */
6099 MMWL_EXPORT rlReturnVal_t rlSetAdvChirpLUTConfig(rlUInt8_t deviceMap,
6100  rlAdvChirpLUTCfg_t* data);
6101 
6102 /* Multi Advanced Chirp LUT Configuration API */
6103 MMWL_EXPORT rlReturnVal_t rlSetMultiAdvChirpLUTConfig(rlUInt8_t deviceMap,
6104  rlAdvChirpLUTCfg_t* AdvChirpLUTCfgArgs, rlInt8_t* AdvChirpLUTData);
6105 
6106 /* Advanced Chirp Dynamic LUT Address Offset Configuration API */
6107 MMWL_EXPORT rlReturnVal_t rlSetAdvChirpDynLUTAddrOffConfig(rlUInt8_t deviceMap, \
6109 
6110 /*Power Saving Mode configuration */
6111 MMWL_EXPORT rlReturnVal_t rlSetPowerSaveModeConfig(rlUInt8_t deviceMap,
6112  rlPowerSaveModeCfg_t* data);
6120 #ifdef __cplusplus
6121 }
6122 #endif
6123 
6124 #endif
6125 /*
6126  * END OF RL_SENSOR_H FILE
6127  */
rlInt16_t rxLoChainTurnOnTime
Time to wait after ramp end before turning on RX LO chain. 1 LSB = 10 ns Valid range: -1024 to 10...
Definition: rl_sensor.h:4632
Radar RF LDO bypass enable/disable configuration.
Definition: rl_sensor.h:2139
rlUInt32_t dieIDHexVal0
Die ID Hex Value 0.
Definition: rl_sensor.h:4799
rlInt16_t velY
Relative velocity in Cartesian coordinate Y velocity of object 1lsb = 1cm/s, Valid Range -5000 to +...
Definition: rl_sensor.h:1648
rlUInt16_t numOfBurstLoops
Number of times to loop over the set of above defined bursts, in the sub frame. Valid Range: 1 - 64...
Definition: rl_sensor.h:1139
rlUInt8_t reserved
Reserved for Future use.
Definition: rl_sensor.h:1354
rlUInt32_t subFramePeriodicity
subFramePeriodicity >= Sum total time of all bursts + InterSubFrameBlankTime, Where,...
Definition: rl_sensor.h:1158
rlInt16_t txLoChainTurnOnTime
Time to wait after ramp end before turning on TX LO chain. 1 LSB = 10 ns Valid range: -1024 to 10...
Definition: rl_sensor.h:4638
rlUInt8_t profileIndx
This field indicates the profile Index for which this configuration applies.
Definition: rl_sensor.h:3214
ADC format and payload justification Configuration.
Definition: rl_sensor.h:367
MMWL_EXPORT rlReturnVal_t rlSetInterChirpBlkCtrl(rlUInt8_t deviceMap, rlInterChirpBlkCtrlCfg_t *data)
Sets Inter-chip turn on and turn off times or various RF blocks.
Definition: rl_sensor.c:3480
rlUInt32_t txPhaseShifter
Concatenated phase shift for TX0/1/2, Bit Description b1:0 Reserved (set to 0b00) b7:2 TX0 phase...
Definition: rl_sensor.h:744
MMWL_EXPORT rlReturnVal_t rlGetRfBootupStatus(rlUInt8_t deviceMap, rlRfBootStatusCfg_t *data)
Get radarSS bootup status.
Definition: rl_sensor.c:3440
Test source Enable API parameters RL_RF_TEST_SOURCE_ENABLE_SB.
Definition: rl_sensor.h:1763
Radar RF Calibration monitoring time unit configuration.
Definition: rl_sensor.h:2657
rlInt16_t rxLoChainTurnOffTime
Time to wait after ramp end before turning off RX LO chain. 1 LSB = 10 ns Valid range: -1024 to 1...
Definition: rl_sensor.h:4620
MMWL_EXPORT rlReturnVal_t rlSetTestSourceConfig(rlUInt8_t deviceMap, rlTestSource_t *data)
Configures the Test Source.
Definition: rl_sensor.c:1673
Advanced chirp configuration structure.
Definition: rl_sensor.h:4833
rlUInt8_t baseProfileIndx
Base profile used for loopback chirps to configure the RF/analog/digital front end sections....
Definition: rl_sensor.h:3639
rlUInt16_t freqSlopeVar
Ramp slope For 77GHz devices(76GHz to 81GHz): 1 LSB = 3.6e6 * 900/2^26 = 48.279 KHz/us valid ran...
Definition: rl_sensor.h:939
Advance Frame Sequence config API parameters rlAdvFrameCfg, 148 bytes.
Definition: rl_sensor.h:1414
rlUInt16_t reserved2
Reserved for future, should set to zero.
Definition: rl_sensor.h:486
rlInt16_t tmpTx1Sens
TX1 temperature sensor reading (signed value). 1 LSB = 1 deg C.
Definition: rl_sensor.h:1807
rlUInt16_t triggerSelect
Selects the mode for triggering start of transmission of frame 0x0001 SWTRIGGER (Software API based...
Definition: rl_sensor.h:1268
MMWL_EXPORT rlReturnVal_t rlSetProfileConfig(rlUInt8_t deviceMap, rlUInt16_t cnt, rlProfileCfg_t *data)
Sets Chirp profile Configuration.
Definition: rl_sensor.c:441
MMWL_EXPORT rlReturnVal_t rlFrameStartStop(rlUInt8_t deviceMap, rlFrameTrigger_t *data)
Triggers/Stops Transmission of Frames.
Definition: rl_sensor.c:1563
rlUInt32_t freqConst
Start frequency for loopback For 77GHz devices (76 GHz to 81 GHz): 1 LSB = 3.6e9 / 2^26 Hz = 53....
Definition: rl_sensor.h:3692
rlUInt16_t digCorrDis
Bits Digital corrections b0 IQMM correction disable (Applicable only in PS and PA loopback modes,...
Definition: rl_sensor.h:3798
Die ID data structure.
Definition: rl_sensor.h:4794
MMWL_EXPORT rlReturnVal_t rlRfInterRxGainPhaseConfig(rlUInt8_t deviceMap, rlInterRxGainPhConf_t *data)
Sets different Rx gain/phase offset.
Definition: rl_sensor.c:3406
rlUInt8_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:1390
rlUInt16_t chirpStartIdx
Chirp start index (0-511)
Definition: rl_sensor.h:907
MMWL_EXPORT rlReturnVal_t rlTxGainTempLutSet(rlUInt8_t deviceMap, rlTxGainTempLutData_t *data)
Overwrites TX gain temperature based Lookup table (LUT)
Definition: rl_sensor.c:2731
rlInt32_t sf0ChirpParamDelta
This field indicates the delta increment (Delta Dither) value for sub-frame 0 (Also applicable for le...
Definition: rl_sensor.h:4940
API radarSS GPADC API MEAS SET SBC M_API_AR_RF_GPADC_API_SET_SB.
Definition: rl_sensor.h:2073
rlUInt16_t triggerSelect
Selects the mode for triggering start of transmission of frame 0x0001 SWTRIGGER (Software API based...
Definition: rl_sensor.h:1056
Dynamic chirp enable configuration.
Definition: rl_sensor.h:4090
MMWL_EXPORT rlReturnVal_t rlRfGetTemperatureReport(rlUInt8_t deviceMap, rlRfTempData_t *data)
Gets Time and Temperature information report.
Definition: rl_sensor.c:1753
rlUInt8_t synthRzTrim
Synth RZ trim code .
Definition: rl_sensor.h:5181
rlUInt8_t profileIndx
This field indicates the profile Index for which this configuration applies.
Definition: rl_sensor.h:3274
MMWL_EXPORT rlReturnVal_t rlGetRfDieId(rlUInt8_t deviceMap, rlRfDieIdCfg_t *data)
Get device die ID status.
Definition: rl_sensor.c:3735
rlUInt32_t bssSysStatus
radarSS bootup status Bit definition [1: pass, 0: fail] 0 image CRC validation 1 CPU and VIM self-tes...
Definition: rl_sensor.h:4518
rlUInt16_t programMode
Indicates when the configuration needs to be applied Bit Definition 0 Program the new configurati...
Definition: rl_sensor.h:4080
rlUInt32_t reserved2
Reserved for Future use.
Definition: rl_sensor.h:5331
Structure to hold the BSS ESM Fault data strucutre for event RL_RF_AE_ESMFAULT_SB.
Definition: mmwavelink.h:2097
rlUInt8_t profileIndx
This field indicates the profile Index for which this configuration applies.
Definition: rl_sensor.h:4317
MMWL_EXPORT rlReturnVal_t rlSetAdvChirpDynLUTAddrOffConfig(rlUInt8_t deviceMap, rlAdvChirpDynLUTAddrOffCfg_t *data)
Configure LUT address offset dynamically for each chirp parameters defined in rlSetAdvChirpConfig API...
Definition: rl_sensor.c:4264
rlUInt8_t reportEn
Calibration Report Enable Configuration [b0] Enable Calibration Reports Bitmap 0 - Disable Calibr...
Definition: rl_sensor.h:2959
rlUInt8_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:3278
Structure to store all Phase shifter calibration data chunks which device provides in response of rlR...
Definition: rl_sensor.h:4786
rlInt32_t iqAvgCroCorrel
Average cross correlation between I and Q chains for profile x, RX channel x.
Definition: rl_sensor.h:1852
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:1060
Radar RF Phase shift loopback configuration.
Definition: rl_sensor.h:2319
rlUInt32_t b2AdcBits
ADC out bits - 0(12 Bits), 1(14 Bits), 2(16 Bits)
Definition: rl_sensor.h:312
rlUInt16_t cascading
Enable Cascading 0x0000 SINGLECHIP: Single mmWave sensor application 0x0001 MULTICHIP_MASTER: Mult...
Definition: rl_sensor.h:267
rlUInt16_t lutBurstIndexOffset
This field provides the LUT index start offset for subsequent bursts in advanced frame config API....
Definition: rl_sensor.h:5040
rlInt16_t rx02BbTurnOffTime
Time to wait after ramp end before turning off RX0 and RX2 baseband stages. 1 LSB = 10 ns Valid r...
Definition: rl_sensor.h:4556
rlInt16_t posY
Relative position in Cartesian coordinate from sensor to objects Y position of object 1lsb = 1cm,...
Definition: rl_sensor.h:1633
rlUInt16_t lpAdcMode
0x00 : Regular ADC mode 0x01 : Low poer ADC mode
Definition: rl_sensor.h:542
MMWL_EXPORT rlReturnVal_t rlRfGetCpuFault(rlUInt8_t deviceMap, rlCpuFault_t *data)
Get RadarSS CPU fault status.
Definition: rl_sensor.c:3768
MMWL_EXPORT rlReturnVal_t rlRfSetMiscConfig(rlUInt8_t deviceMap, rlRfMiscConf_t *data)
Sets misc feature such as per chirp phase shifter.
Definition: rl_sensor.c:2387
MMWL_EXPORT rlReturnVal_t rlTestSourceEnable(rlUInt8_t deviceMap, rlTestSourceEnable_t *data)
Enables the Test Source.
Definition: rl_sensor.c:1713
rlUInt16_t numBytes
Number of valid bytes to write. Valid range: 4 to 212, must be multiple of 4. .
Definition: rl_sensor.h:5269
MMWL_EXPORT rlReturnVal_t rlRfRunTimeCalibConfig(rlUInt8_t deviceMap, rlRunTimeCalibConf_t *data)
Set RF one time & periodic calibration of various RF/analog aspects and trigger.
Definition: rl_sensor.c:2592
rlUInt8_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:3649
rlInt16_t posYMin
Boundary min limit, Obj location resets to posY if cross boundary Y position of min boundary 1lsb =...
Definition: rl_sensor.h:1668
RX gain temperature LUT inject.
Definition: rl_sensor.h:3268
Test source config API parameters E_API_AR_TEST_SOURCE_CONF_SB.
Definition: rl_sensor.h:1709
rlUInt16_t paLoopbackFreq
value is a 100MHz divider which sets the loopback frequency For e.g. for a 1 MHz frequency,...
Definition: rl_sensor.h:2291
rlUInt8_t numChirpsInDataPacket
Number of Chirps Per Data Packet to process at a time in sub frame 1. In AWR2243/AWR1243/xWR1443/xW...
Definition: rl_sensor.h:1350
rlUInt16_t chirpStartIdx
Start Index of Chirp Valid range = 0-511.
Definition: rl_sensor.h:990
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:1726
rlUInt16_t profileId
Profile index (0-3)
Definition: rl_sensor.h:585
MMWL_EXPORT rlReturnVal_t rlSetLowPowerModeConfig(rlUInt8_t deviceMap, rlLowPowerModeCfg_t *data)
Sets Low Power Mode Configuration.
Definition: rl_sensor.c:1404
rlInt16_t txStartTime
Time of start of transmitter relative to the knee of the ramp 1 LSB = 10ns Valid range: -4096 to ...
Definition: rl_sensor.h:763
Tx freq and power limit configuration.
Definition: rl_sensor.h:3471
rlUInt8_t vcoSelect
Bit Description b0 FORCE_VCO_SEL(Not supported for production in xWR6243 , debug purpose only) 0 - ...
Definition: rl_sensor.h:1521
MMWL_EXPORT rlReturnVal_t rlGetProfileConfig(rlUInt8_t deviceMap, rlUInt16_t profileId, rlProfileCfg_t *data)
Gets Chirp profile Configuration.
Definition: rl_sensor.c:528
rlUInt16_t maxTxPhShiftIntDither
This field is applicable only if SFn_CHIRP_PARAM_DELTA increment (Delta Dither) is enabled for Phase ...
Definition: rl_sensor.h:5117
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:4355
rlInt16_t posZMax
Boundary max limit, Obj location resets to posX if cross boundary Z position of max boundary 1lsb =...
Definition: rl_sensor.h:1688
MMWL_EXPORT rlReturnVal_t rlRfInit(rlUInt8_t deviceMap)
Initializes the RF/Analog Subsystem.
Definition: rl_sensor.c:1625
rlUInt16_t freqLimitHighTx2
The sensor's higher frequency limit for calibrations and monitoring for TX2 is encoded in 2 bytes (...
Definition: rl_sensor.h:3547
rlUInt32_t reserved1
Reserved for future use.
Definition: rl_sensor.h:4907
rlUInt8_t reserved2
Reserved for Future use.
Definition: rl_sensor.h:1972
rlInt16_t txLoChainTurnOffTime
Time to wait after ramp end before turning off TX LO chain. 1 LSB = 10 ns Valid range: -1024 to 1...
Definition: rl_sensor.h:4626
rlInt16_t tmpPmSens
PM temperature sensor reading (signed value). 1 LSB = 1 deg C.
Definition: rl_sensor.h:1815
rlUInt8_t progFiltLen
The length (number of taps) of the filter corresponding to this profile. Together with the previous f...
Definition: rl_sensor.h:2558
rlUInt8_t numOfSubFrames
Number of sub frames enabled in this frame Valid range: 1 to 4.
Definition: rl_sensor.h:1178
rlUInt8_t lutChirpParamSize
This field is applicable only for LUT chirp parameters (LUT Dither) of type CHIRP_FREQ_START_VAR or C...
Definition: rl_sensor.h:5069
Get phase shift calibration data configuration structure.
Definition: rl_sensor.h:4669
rlUInt32_t frameTriggerDelay
Optional time delay from sync_in trigger to the occurance of frame chirps Applicable only in SINGLE...
Definition: rl_sensor.h:1069
rlUInt8_t numOfCascadeDev
The number of cascaded devices in system. This configuration by default set to value 1 in single ch...
Definition: rl_sensor.h:2701
Chirp config API parameters. This structure contains fine dithering to coarse profile defined in rlPr...
Definition: rl_sensor.h:902
rlUInt32_t chirpNR3
Nth Chirp config Row 3 Bits Definition b11:0 IDLE_TIME_VAR 1 LSB = 10 ns Valid range: 0 to 4095 b15:1...
Definition: rl_sensor.h:4011
rlUInt8_t chirpNTx1PhaseShifter
Nth Chirp TX1 phase shift value Bits TX1 phase shift definition b1:0 RESERVED (set it to 0b00) b7:2 T...
Definition: rl_sensor.h:4120
rlUInt8_t pgaGainIndex
PGA gain value 0 : PGA is OFF 1 : -22 dB 2 : -16 dB 3 : -15 dB 4 : -14 dB 5 : -13 dB 6 ...
Definition: rl_sensor.h:2374
MMWL_EXPORT rlReturnVal_t rlRfGetEsmFault(rlUInt8_t deviceMap, rlBssEsmFault_t *data)
Get RadarSS ESM fault status.
Definition: rl_sensor.c:3807
rlInt16_t rx02RfPreEnTime
Time before TX Start Time when RX0 and RX2 RF stages are to be put in fast-charge state....
Definition: rl_sensor.h:4569
rlUInt16_t numFrames
Number of frame to transmit Valid Range 0 to 65535 (0 for infinite frames) .
Definition: rl_sensor.h:1015
rlUInt16_t idleTimeVar
Idle time for each chirp 1 LSB = 10ns valid range = 0-4096 .
Definition: rl_sensor.h:945
rlUInt8_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:3218
Frame config API parameters.
Definition: rl_sensor.h:980
rlUInt16_t programMode
Indicates when the configuration needs to be applied Bit Definition 0 Program the new configurati...
Definition: rl_sensor.h:4173
rlUInt16_t qAvgPwr
Average power in Q chain for profile x, RX channel x.
Definition: rl_sensor.h:1848
rlUInt16_t b1Reserved0
Reserved for Future use.
Definition: rl_sensor.h:401
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:3232
rlInt8_t antPosX
Antenna position X 1lsb=wavelength/8 Valid range = +/-15 wave lengths.
Definition: rl_sensor.h:1699
rlUInt16_t reserved3
Reserved for Future use.
Definition: rl_sensor.h:3606
rlUInt8_t ifLbMag
1 LSB = 10 mV Valid range: 1 to 63
Definition: rl_sensor.h:3823
rlUInt16_t reserved
Reserved for Future use.
Definition: rl_sensor.h:892
rlUInt16_t b13Reserved1
Reserved for Future use.
Definition: rl_sensor.h:405
MMWL_EXPORT rlReturnVal_t rlRfSetCalMonFreqLimitConfig(rlUInt8_t deviceMap, rlRfCalMonFreqLimitConf_t *data)
Set Calibration monitoring Frequency Limit.
Definition: rl_sensor.c:2492
MMWL_EXPORT rlReturnVal_t rlMonTypeTrigConfig(rlUInt8_t deviceMap, rlMonTypeTrigCfg_t *data)
Maintains monitoring timing synchronization in cascaded devices to avoid mutual interference of monit...
Definition: rl_sensor.c:3985
rlUInt32_t reserved3
Reserved for future use.
Definition: rl_sensor.h:5121
rlUInt16_t b1BpmKStart
K Counter Start Select (Reserved for future)
Definition: rl_sensor.h:438
rlUInt32_t bssBootUpTime
RF BIST SS power up time 1 LSB = 5ns.
Definition: rl_sensor.h:4523
rlInt16_t slopeConst
Ramp slope for loopback burst (16 bit signed number) For 77GHz devices (76 GHz to 81 GHz): 1 LSB ...
Definition: rl_sensor.h:3702
rlUInt32_t calibPeriodicity
This field is applicable only for those calibrations which are enabled to be done periodically in t...
Definition: rl_sensor.h:2942
rlUInt16_t chirpStartIdx
Chirp Start Index, Valid Range 0 -511.
Definition: rl_sensor.h:2211
rlUInt32_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:5251
rlUInt16_t forceProfileIdx
Force profile index. This is applicable only if FORCE_SINGLE_PROFILE is set to 1.
Definition: rl_sensor.h:1080
rlInt16_t posZMin
Boundary min limit, Obj location resets to posZ if cross boundary Z position of min boundary 1lsb =...
Definition: rl_sensor.h:1673
rlUInt16_t ifLoopbackFreq
IF loopback frequency value 0: 180 kHz 1 : 240 kHz 2 : 360 kiHz 3 : 720 kHz 4 : 1 MHz 5 :...
Definition: rl_sensor.h:2455
rlInt8_t antPosZ
Antenna position Z 1lsb=wavelength/8 Valid range = +/-15 wave lengths.
Definition: rl_sensor.h:1703
MMWL_EXPORT rlReturnVal_t rlSetAdcOutConfig(rlUInt8_t deviceMap, rlAdcOutCfg_t *data)
Sets ADC Output Configuration.
Definition: rl_sensor.c:153
rlUInt16_t chirpEndIdx
Chirp end index (0-511)
Definition: rl_sensor.h:911
Radar RF Init Calibration configuration.
Definition: rl_sensor.h:2830
rlUInt32_t startFreqConst
Start frequency for each profile For 77GHz devices (76 GHz - 81 GHz): 1 LSB = 3....
Definition: rl_sensor.h:689
rlUInt8_t digCompEn
This field can be used to enable or disable different digital compensation. Bits Assignment b0 Di...
Definition: rl_sensor.h:4331
MMWL_EXPORT rlReturnVal_t rlRfDynamicPowerSave(rlUInt8_t deviceMap, rlDynPwrSave_t *data)
: Configure dynamic power saving feature.
Definition: rl_sensor.c:1844
rlUInt16_t lowPwrStateTransCmd
Low power state transition commands are defined as below Mode Definition 0 RESERVED 1 ENTER_RF_...
Definition: rl_sensor.h:563
rlUInt8_t apllRzTrimVco
APLL RZ VCO trim code AWR2243 device: Value Description .
Definition: rl_sensor.h:5199
rlUInt32_t txOutPowerBackoffCode
Concatenated code for output power backoff for TX0, TX1, TX2 b7:0 TX0 output power back off b15:8...
Definition: rl_sensor.h:1452
MMWL_EXPORT rlReturnVal_t rlRfSetCalMonTimeUnitConfig(rlUInt8_t deviceMap, rlRfCalMonTimeUntConf_t *data)
Set Calibration monitoring time unit.
Definition: rl_sensor.c:2439
rlUInt16_t profileId
Associated profile id (0-3)
Definition: rl_sensor.h:915
Phase shift calibration data which application will receive from radarSS and will feed in to the Devi...
Definition: rl_sensor.h:4706
rlUInt16_t freqLimitLow
The sensor's lower frequency limit for calibrations and monitoring is encoded in 2 bytes (16 bit un...
Definition: rl_sensor.h:2803
rlUInt8_t numSubFrames
Number of Sub Frames, Valid Range (1 - 4)
Definition: rl_sensor.h:1386
rlUInt8_t aeControl
Bit Definition b0: FRAME_START_ASYNC_EVENT_DIS 0 Frame Start async event enable 1 Frame Start a...
Definition: rl_sensor.h:1922
rlUInt8_t tx1PhaseShift
TX1 phase shift definition [b1:0] reserved (set it to 0b00) [b7:2] TX1 phase shift value 1 LSB ...
Definition: rl_sensor.h:2232
Low Power mode configuration.
Definition: rl_sensor.h:532
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:3262
MMWL_EXPORT rlReturnVal_t rlRfTxFreqPwrLimitConfig(rlUInt8_t deviceMap, rlRfTxFreqPwrLimitMonConf_t *data)
Sets the limits for RF frequency transmission for each TX and also TX power limits.
Definition: rl_sensor.c:2845
Sub-frame trigger API.
Definition: rl_sensor.h:4652
MMWL_EXPORT rlReturnVal_t rlRfPhShiftCalibDataRestore(rlUInt8_t deviceMap, rlPhShiftCalibrationData_t *data)
Injects phase shifter calibration data to the device.
Definition: rl_sensor.c:3574
rlUInt16_t reserved3
Reserved for Future use.
Definition: rl_sensor.h:2038
rlBpmModeCfg_t mode
BPM Mode configuration.
Definition: rl_sensor.h:474
Dynamic power saving API parameters.
Definition: rl_sensor.h:1869
rlInt32_t sf1ChirpParamDelta
This field indicates the delta increment (Delta Dither) value for sub-frame 1 (Also applicable for le...
Definition: rl_sensor.h:4954
rlUInt8_t lutChirpParamScale
This field is applicable only for LUT chirp parameters (LUT Dither) of type CHIRP_FREQ_START_VAR or C...
Definition: rl_sensor.h:5080
MMWL_EXPORT rlReturnVal_t rlGetFrameConfig(rlUInt8_t deviceMap, rlFrameCfg_t *data)
Gets Frame Configuration.
Definition: rl_sensor.c:1084
rlUInt8_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:2863
Binary phase modulation mode configuration.
Definition: rl_sensor.h:388
rlUInt8_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:3393
rlUInt32_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:5255
rlUInt32_t periodicCalibEnMask
Automatic periodic triggering of calibrations of various RF/analog aspects. It has same bit definit...
Definition: rl_sensor.h:2925
rlUInt8_t hpfCornerFreq1
Code for HPF1 corner frequency 0x00 175 kHz 0x01 235 kHz 0x02 350 kHz 0x03 700 kHz .
Definition: rl_sensor.h:1483
rlUInt16_t reserved
Reserved for future.
Definition: rl_sensor.h:537
rlUInt8_t tx0PhaseShift
TX0 phase shift definition [b1:0] reserved (set it to 0b00) [b7:2] TX0 phase shift value 1 LSB ...
Definition: rl_sensor.h:2224
rlUInt8_t ps1PgaIndx
Programmable Gain Amplifier Setting: This configures the Phase shifter loopback path amplifier gain f...
Definition: rl_sensor.h:3858
rlUInt8_t calibApply
Set this to 1 after injecting calibration data for all Txs to enable the firmware calibration....
Definition: rl_sensor.h:4720
rlUInt16_t numFrames
Number of frames to transmit (1 frame = all enabled sub frames). If set to 0, frames are transmitte...
Definition: rl_sensor.h:1252
rlUInt8_t reserved
Reserved for Future use.
Definition: rl_sensor.h:4141
rlUInt16_t constBpmVal
b0 RESERVED b1 CONST_BPM_VAL_TX0_TXON Value of Binary Phase Shift value for TX0,...
Definition: rl_sensor.h:522
rlUInt16_t psLoopbackFreq
Loop back frequency in kHz, 1 LSB = 1kHz.
Definition: rl_sensor.h:2324
API RF device Config SBC M_API_AR_RF_DEV_CONF_SBC.
Definition: rl_sensor.h:1895
MMWL_EXPORT rlReturnVal_t rlRfSetPSLoopbackConfig(rlUInt8_t deviceMap, rlRfPSLoopbackCfg_t *data)
Enable/Disable Phase shift loopback for all enabled profiles.
Definition: rl_sensor.c:2210
Radar RF Phase Shift enable/disable configuration.
Definition: rl_sensor.h:2206
rlUInt32_t aeDirection
Bit Definition b1:0 Global Async event direction 00 - radarSS to MSS 01 - radarSS to HOST 10 - r...
Definition: rl_sensor.h:1910
rlInt32_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:4646
rlUInt32_t startFreqVar
Ramp start frequency, For 77GHz devices(76GHz to 81GHz): 1 LSB = 3.6e9/2^26 = 53....
Definition: rl_sensor.h:929
rlUInt8_t CalTempIdxLodist
Override temperature index is used to calibrate LO distribution of front end Idx val Definition 0: ...
Definition: rl_sensor.h:3071
MMWL_EXPORT rlReturnVal_t rlRfSetPhaseShiftConfig(rlUInt8_t deviceMap, rlUInt16_t cnt, rlRfPhaseShiftCfg_t *data)
Enable/Disable phase shift configurations per chirp in each of the TXs.
Definition: rl_sensor.c:2036
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:3598
rlInt16_t tmpTx0Sens
TX0 temperature sensor reading (signed value). 1 LSB = 1 deg C.
Definition: rl_sensor.h:1803
ADC Bit and ADC Output format Configuration.
Definition: rl_sensor.h:307
rlUInt16_t chirpStartIdx
Start index of the first chirp for the first burst in sub frame. Valid range: 0 to 511 This field...
Definition: rl_sensor.h:1087
MMWL_EXPORT rlReturnVal_t rlSensorStop(rlUInt8_t deviceMap)
Stops Transmission of Frames.
Definition: rl_sensor.c:1503
rlUInt8_t supplyMonIrDrop
IR drop is the voltage drop from the PMIC output to the device pin. The user should program the volta...
Definition: rl_sensor.h:2170
rlUInt32_t dieIDHexVal2
Die ID Hex Value 2.
Definition: rl_sensor.h:4807
rlUInt8_t ps2PgaIndx
Same as above definition.
Definition: rl_sensor.h:3862
Radar RF Calibration monitoring Frequency Limit configuration.
Definition: rl_sensor.h:2789
rlUInt8_t profileId
Profile Index for which this configuration applies.
Definition: rl_sensor.h:2539
rlUInt16_t chirpEndIdx
Chirp End Index, Valid Range from chirpStartIdx to 511.
Definition: rl_sensor.h:2215
rlUInt32_t totalChirps
Number of Chirps in Sub-Frame = numOfChirps * numLoops * numOfBurst * burstLoop.
Definition: rl_sensor.h:1320
rlUInt8_t chirpNTx2PhaseShifter
Nth Chirp TX2 phase shift value Bits TX2 phase shift definition b1:0 RESERVED (set it to 0b00) ...
Definition: rl_sensor.h:4129
rlUInt32_t psLbFreq
Phase shifter loop back frequency in kHz: The TX phase shifter's phase shift command word is linearly...
Definition: rl_sensor.h:3937
RF characterization Time and Temperature data structure.
Definition: rl_sensor.h:1778
rlUInt16_t reserved4
Reserved for Future use.
Definition: rl_sensor.h:3610
MMWL_EXPORT rlReturnVal_t rlSetPowerSaveModeConfig(rlUInt8_t deviceMap, rlPowerSaveModeCfg_t *data)
Sets the power save mode Configuration.
Definition: rl_sensor.c:4312
rlUInt8_t ioSupplyIndicator
IO supply indicator. This is used to indicate the IO supply to the MMIC device for setting the correc...
Definition: rl_sensor.h:2178
rlInt16_t velX
Relative velocity in Cartesian coordinate X velocity of object 1lsb = 1 cm/s, Valid Range -5000 to ...
Definition: rl_sensor.h:1643
rlUInt8_t chirpNTx0PhaseShifter
Nth Chirp TX0 phase shift value Bits TX0 phase shift definition b1:0 RESERVED (set it to 0b00) b7:2 T...
Definition: rl_sensor.h:4111
rlUInt16_t reserved
Reserved for future use.
Definition: rl_sensor.h:4663
rlUInt16_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:1143
Frame config API parameters.
Definition: rl_sensor.h:1292
rlUInt8_t synthIcpTrim
Synth ICP trim code .
Definition: rl_sensor.h:5177
rlUInt16_t rxGain
b5:0 This field defines RX gain for each channel. 1 LSB = 1 dB Valid values: AWR2243 : All even...
Definition: rl_sensor.h:3733
rlInt16_t posZ
Relative position in Cartesian coordinate from sensor to objects Z position of object 1lsb = 1cm,...
Definition: rl_sensor.h:1638
rlUInt8_t profileIndx
This field indicates the profile Index for which this configuration applies.
Definition: rl_sensor.h:3244
rlUInt32_t txPhaseShifter
Concatenated phase shift for TX0/1/2, Bit Description b1:0 Reserved (set to 0b00) b7:2 TX0 phas...
Definition: rl_sensor.h:1467
rlInt16_t tmpDig1Sens
Second digital temp sensor reading (signed value).( applicable only in xWR1642/xWR6843/xWR1843....
Definition: rl_sensor.h:1825
rlUInt16_t chirpEndIdx
Chirp End Index, Valid Range from chirpStartIdx to 511.
Definition: rl_sensor.h:509
TX gain temperature LUT read.
Definition: rl_sensor.h:3238
rlUInt16_t tsEnable
Test source Enable - 1, Disable - 0.
Definition: rl_sensor.h:1768
Array of coefficients for the RF programmable filter.
Definition: rl_sensor.h:2482
MMWL_EXPORT rlReturnVal_t rlSetAdvFrameConfig(rlUInt8_t deviceMap, rlAdvFrameCfg_t *data)
Sets Advance Frame Configuration.
Definition: rl_sensor.c:1196
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:3706
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:1404
rlUInt32_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:4527
rlUInt16_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:5304
rlUInt8_t chirpRowSelect
Reserved for Future use Bits Definition b3:0 Reserved b7:4 If user does not wish to reconfigure all 3...
Definition: rl_sensor.h:4038
rlUInt8_t forceProfile
Force profile. 0x0 The profile index set in rlSetChirpConfig API governs which profile is used wh...
Definition: rl_sensor.h:1188
rlUInt32_t reserved0
Reserved for future use.
Definition: rl_sensor.h:4815
rlUInt16_t addrMaskEn
Enable mask for LUT address offset dynamic update, the address is updated for following enabled chirp...
Definition: rl_sensor.h:5300
rlUInt8_t CalTempIdxTx
Override temperature index is used to calibrate Tx front end Idx val Definition 0: Index for temper...
Definition: rl_sensor.h:3023
Get calibration data configuration structure.
Definition: rl_sensor.h:4179
rlUInt16_t numOfChirps
Number of unique chirps per burst. Valid range: 1 to 512 This field is not applicable for loop-ba...
Definition: rl_sensor.h:1094
rlUInt16_t b1BpmKEnd
K Counter End Select (Reserved for future)
Definition: rl_sensor.h:442
rlUInt32_t reserved3
Reserved for future, should set to zero.
Definition: rl_sensor.h:490
rlUInt16_t chirpStartIdxOffset
Chirp Start address increment for next burst, next_burst_chirp_start_idx = last_chirp_end_index + ...
Definition: rl_sensor.h:1128
rlUInt8_t txPowerCalMode
TX Power Calibration Mode [b0] Enable Calibration Reports Bitmap 0 - Update TX gain setting from LU...
Definition: rl_sensor.h:2979
Dynamic per chirp phase shifter configuration for each TX.
Definition: rl_sensor.h:4101
rlUInt8_t reserved0
Reserved for future use.
Definition: rl_sensor.h:4682
rlUInt16_t deltaParamUpdatePeriod
The chirp parameter will be incremented by SFn_CHIRP_PARAM_DELTA (Delta Dither) every N chirps....
Definition: rl_sensor.h:4926
rlInt16_t tmpRx0Sens
RX0 temperature sensor reading (signed value). 1 LSB = 1 deg C.
Definition: rl_sensor.h:1787
rlInt16_t rx13RfTurnOnTime
Time before TX Start Time when RX1 and RX3 RF stages are to be enabled. 1 LSB = 10 ns Valid range...
Definition: rl_sensor.h:4602
rlUInt16_t blkCfg
Enable dynamic power saving during inter-chirp IDLE times by turning off various circuits e....
Definition: rl_sensor.h:1885
Advanced Chirp Dynamic LUT Address Offset Configuration Structure Configure LUT address offset dynami...
Definition: rl_sensor.h:5282
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:380
rlUInt8_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:2867
rlUInt32_t time
radarSS local Time from device powerup. 1 LSB = 1 ms
Definition: rl_sensor.h:1783
rlUInt16_t rxChannelEn
Definition: rl_sensor.h:238
Num of samples to collect for API GPADC sensors sampleCnt : Number of samples to collect @625KHz.
Definition: rl_sensor.h:2045
rlInt16_t tmpRx1Sens
RX1 temperature sensor reading (signed value). 1 LSB = 1 deg C.
Definition: rl_sensor.h:1791
rlUInt8_t hpfCornerFreq2
Code for HPF2 corner frequency 0x00 350 kHz 0x01 700 kHz 0x02 1.4 MHz 0x03 2....
Definition: rl_sensor.h:820
rlUInt16_t sigLvl
Reflecting obj' sig level at ADC o/p, relative to ADC Full Scale 1 LSB = -0.1 dBFS,...
Definition: rl_sensor.h:1658
rlUInt16_t reserved
Reserved for Future use.
Definition: rl_sensor.h:1573
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:2783
Radar RF IF loopback configuration.
Definition: rl_sensor.h:2435
rlInt16_t rx02RfTurnOnTime
Time before TX Start Time when RX0 and RX2 RF stages are to be enabled. 1 LSB = 10 ns Valid range...
Definition: rl_sensor.h:4596
MMWL_EXPORT rlReturnVal_t rlRfPhShiftCalibDataStore(rlUInt8_t deviceMap, rlPhShiftCalibrationData_t *data)
Read calibration data from the device.
Definition: rl_sensor.c:3660
rlUInt16_t freqLimitHighTx1
The sensor's higher frequency limit for calibrations and monitoring for TX1 is encoded in 2 bytes (...
Definition: rl_sensor.h:3534
rlUInt8_t apllRzTrimLpf
APLL RZ LPF trim code .
Definition: rl_sensor.h:5189
rlUInt8_t loopbackSel
Loopback selection Value Definition 0 No loopback 1 IF loopback (loopback of an IF test signal ...
Definition: rl_sensor.h:3632
Binary phase modulation KCounter configuration.
Definition: rl_sensor.h:433
rlUInt8_t chirpSegSel
Indicates the segment of the chirp RAM that the 16 chirps definitions in this sub block map to any ...
Definition: rl_sensor.h:4147
rlUInt8_t CalTempIdxOverrideEn
Calibration Temperature Index Override Enable Enables the Host to override the use of device’s inte...
Definition: rl_sensor.h:2999
MMWL_EXPORT rlReturnVal_t rlSetFrameConfig(rlUInt8_t deviceMap, rlFrameCfg_t *data)
Sets Frame Configuration.
Definition: rl_sensor.c:1023
rlUInt32_t rampEndTime
End of ramp time relative to the knee of the ramp 1 LSB = 10 ns Valid range: 0 to 500000 Ensure t...
Definition: rl_sensor.h:710
rlUInt16_t startCmd
Command for sub-frame trigger Value 0 = No effect Value 1 = Trigger next sub-frame .
Definition: rl_sensor.h:4659
rlUInt8_t hpfCornerFreq2
Code for HPF2 corner frequency 0x00 350 kHz 0x01 700 kHz 0x02 1.4 MHz 0x03 2....
Definition: rl_sensor.h:1491
rlUInt32_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:1281
Power saving mode configuration.
Definition: rl_sensor.h:548
rlUInt8_t txEn
Tx enable selection bit mask b0 Enable TX0 0 Tx0 Disable 1 Tx0 Enable b1 Enable TX1 0 Tx1 D...
Definition: rl_sensor.h:3748
rlInt16_t tmpDig0Sens
Digital temp sensor reading (signed value). 1 LSB = 1 deg C.
Definition: rl_sensor.h:1819
Advance Frame config API Subframe configuration.
Definition: rl_sensor.h:1075
rlUInt16_t txCalibEnCfg
Number of transmitters to turn on during TX power calibration. During actual operation,...
Definition: rl_sensor.h:858
rlUInt8_t hpfCornerFreq1
Code for HPF1 corner frequency 0x00 175 kHz 0x01 235 kHz 0x02 350 kHz 0x03 700 kHz .
Definition: rl_sensor.h:812
rlUInt8_t monitoringMode
Monitoring mode. Mostly applicable for cascade devices (recommended) to control execution of monito...
Definition: rl_sensor.h:2727
rlUInt16_t b2SrcSel
BPM_SRC_SEL (select source of BPM pattern) 00 CHIRP_CONFIG_BPM (refer to rlBpmChirpCfg_t 01 RESERV...
Definition: rl_sensor.h:397
rlUInt32_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:2824
rlUInt32_t b14Reserved1
Reserved for Future use.
Definition: rl_sensor.h:332
rlUInt32_t reserved2
Reserved for Future use.
Definition: rl_sensor.h:1166
rlUInt16_t reserved
Reserved for Future use.
Definition: rl_sensor.h:919
rlUInt8_t psLoopbackEn
Enable/Disable PA loopback 1: PS loopback Enable, 0: PS loopback Disable .
Definition: rl_sensor.h:2334
rlUInt16_t reserved0
Reserved for future, should set to zero.
Definition: rl_sensor.h:478
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:3377
rlUInt8_t bssDigCtrl
Bit Definition b0: WDT_ENABLE 0 Keep watchdog disabled 1 Enable watch dog b7:1: Reserved .
Definition: rl_sensor.h:1959
rlUInt16_t numAdcSamples
Number of half words of ADC samples per data packet in sub frame 1 Example 1: In real mode,...
Definition: rl_sensor.h:1337
rlUInt16_t reserved
Reserved for Future use.
Definition: rl_sensor.h:1772
rlUInt8_t ifLbFreq
Value IF Loopback frequency value 0 180 kHz 1 240 kHz 2 360 kHz 3 720 kHz 4 1 MHz 5 2 MHz...
Definition: rl_sensor.h:3818
Dynamic chirp configuration for 16 chirp configurations.
Definition: rl_sensor.h:4017
rlUInt8_t pfVcoSelect
Bit Description b0 FORCE_VCO_SEL (Not supported for production in xWR6243 , debug purpose only) 0...
Definition: rl_sensor.h:612
MMWL_EXPORT rlReturnVal_t rlRfCalibDataStore(rlUInt8_t deviceMap, rlCalibrationData_t *data)
Read calibration data from the device.
Definition: rl_sensor.c:3324
MMWL_EXPORT rlReturnVal_t rlEnableContMode(rlUInt8_t deviceMap, rlContModeEn_t *data)
Enable/Disable Continous mode.
Definition: rl_sensor.c:1357
MMWL_EXPORT rlReturnVal_t rlRxGainTempLutSet(rlUInt8_t deviceMap, rlRxGainTempLutData_t *data)
Overwrite RX gain temperature Lookup Table(LUT) in Radar SS.
Definition: rl_sensor.c:2633
MMWL_EXPORT rlReturnVal_t rlSetContModeConfig(rlUInt8_t deviceMap, rlContModeCfg_t *data)
Sets Continous mode Configuration.
Definition: rl_sensor.c:1317
rlUInt16_t freqLimitHigh
The sensor's higher frequency limit for calibrations and monitoring is encoded in 2 bytes (16 bit u...
Definition: rl_sensor.h:2816
rlUInt32_t reserved4
Reserved for future, should set to zero.
Definition: rl_sensor.h:494
rlInt16_t freqSlopeConst
Ramp slope frequency, For 77GHz devices (76GHz to 81GHz): 1 LSB = (3.6e6 * 900) / 2^26 = 48....
Definition: rl_sensor.h:757
rlAdcBitFormat_t fmt
ADC Data format.
Definition: rl_sensor.h:372
rlUInt16_t txEnable
Tx enable selection bit mask b0 Enable TX0 0 Tx0 Disable 1 Tx0 Enable b1 Enable TX1 0 Tx1 D...
Definition: rl_sensor.h:965
rlUInt16_t lutAddressOffset
Start address offset at which to populate the bytes of patterns. Address offset has to be multiple ...
Definition: rl_sensor.h:5264
rlUInt8_t chirpSegSel
Indicates the segment of the chirp RAM that the 16 chirps definitions in this sub block map to any ...
Definition: rl_sensor.h:4044
rlUInt8_t loopBackCfg
Bit Definition b0 LOOPBACK_CFG_EN 0 - Disable 1 - Enable b2:1 SUB_FRAME_ID for which the loop...
Definition: rl_sensor.h:1197
rlUInt32_t adcStartTimeConst
Time of starting of ADC capture relative to the knee of the ramp 1 LSB = 10 ns Valid range: 0 to 4...
Definition: rl_sensor.h:701
rlUInt16_t reserved
Reserved for Future use.
Definition: rl_sensor.h:4184
rlUInt16_t reserved2
Reserved for Future use.
Definition: rl_sensor.h:3602
rlUInt16_t reserved2
Reserved for Future use.
Definition: rl_sensor.h:2881
MMWL_EXPORT rlReturnVal_t rlRfCalibDataRestore(rlUInt8_t deviceMap, rlCalibrationData_t *data)
Injects calibration data to the device.
Definition: rl_sensor.c:3242
rlInt16_t rx02RfTurnOffTime
Time to wait after ramp end before turning off RX0 and RX2 RF stages. 1 LSB = 10 ns Valid range: ...
Definition: rl_sensor.h:4544
rlUInt16_t numAdcSamples
Number of ADC samples to capture This parameter is required only for AWR1243/AWR2243/xWR6243 and conf...
Definition: rl_sensor.h:1025
rlUInt16_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:3465
Calibration data which application will receive from radarSS and will feed in to the Device in next p...
Definition: rl_sensor.h:4195
rlUInt8_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:3075
rlUInt32_t b6Reserved0
Reserved for Future use.
Definition: rl_sensor.h:316
rlUInt32_t reserved2
Reserved for future use.
Definition: rl_sensor.h:4986
APLL Synthesizer Bandwidth Control.
Definition: rl_sensor.h:5171
rlUInt16_t numOfBurst
Num of bursts in the sub-frame. Valid Range: 1 - 512 Valid range: 1 to 16 for loop-back sub-frame ...
Definition: rl_sensor.h:1133
rlUInt16_t chunkId
Current Calibration Data Chunk Id. Valid range 0-2.
Definition: rl_sensor.h:4204
rlInt16_t posX
Relative position in Cartesian coordinate from sensor to objects X position of object 1lsb = 1cm,...
Definition: rl_sensor.h:1628
rlUInt8_t CalTempIdxRx
Override temperature index is used to calibrate Rx front end Idx val Definition 0: Index for temper...
Definition: rl_sensor.h:3047
rlUInt8_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:2378
MMWL_EXPORT rlReturnVal_t rlSetMultiBpmChirpConfig(rlUInt8_t deviceMap, rlUInt16_t cnt, rlBpmChirpCfg_t **data)
Sets Binary Phase Modulation configuration for multiple Chirp.
Definition: rl_sensor.c:285
MMWL_EXPORT rlReturnVal_t rlRfSetDeviceCfg(rlUInt8_t deviceMap, rlRfDevCfg_t *data)
: Set different RadarSS device configurations
Definition: rl_sensor.c:1894
rlUInt8_t rxGain
This field defines RX gain for continuous streaming mode. b5:0 This field defines RX gain for each ...
Definition: rl_sensor.h:1508
rlInt32_t sf3ChirpParamDelta
This field indicates the delta increment (Delta Dither) value for sub-frame 3 (Also applicable for le...
Definition: rl_sensor.h:4982
Binary phase modulation common configuration.
Definition: rl_sensor.h:500
rlUInt8_t reserved
Reserved for Future use.
Definition: rl_sensor.h:2244
rlUInt32_t reserved
Reserved for Future use.
Definition: rl_sensor.h:4095
The DFE Statistics Report Contents.
Definition: rl_sensor.h:1858
rlUInt32_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:2820
rlUInt8_t txIndex
Index of the transmitter channel for which the phase shift is desired Valid range: 0 to (Number of ...
Definition: rl_sensor.h:4715
rlUInt8_t coeffStartIdx
The index of the first coefficient of the programmable filter taps corresponding to this profile in t...
Definition: rl_sensor.h:2549
rlUInt32_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:1162
rlInt16_t posYMax
Boundary max limit, Obj location resets to posX if cross boundary Y position of max boundary 1lsb =...
Definition: rl_sensor.h:1683
rlUInt8_t tx1PwrBackOff
TX1 output power back off 1LSB = 1dB Valid Value: 0, 3, 6, 9.
Definition: rl_sensor.h:3560
rlUInt16_t reserved1
Reserved for future, should set to zero.
Definition: rl_sensor.h:482
Dynamic per chirp phase shifter configuration.
Definition: rl_sensor.h:4135
rlInt16_t tmpRx3Sens
RX3 temperature sensor reading (signed value). 1 LSB = 1 deg C.
Definition: rl_sensor.h:1799
rlUInt8_t reserved2
Reserved for Future use.
Definition: rl_sensor.h:1741
rlUInt32_t reserved1
Reserved for future use.
Definition: rl_sensor.h:4819
rlUInt8_t apllIcpTrim
APLL ICP trim code .
Definition: rl_sensor.h:5185
rlUInt16_t reserved0
Reserved for future use.
Definition: rl_sensor.h:567
rlUInt32_t reserved4
Reserved for future use.
Definition: rl_sensor.h:5125
TX gain temperature LUT inject.
Definition: rl_sensor.h:3383
rlUInt16_t startStop
Start/Stop Frame 0x0000 - Stop the transmission of frames after the current frame 0x0001 - Trigge...
Definition: rl_sensor.h:1611
rlUInt8_t tx0PwrBackOff
TX0 output power back off 1LSB = 1dB Valid Value: 0, 3, 6, 9.
Definition: rl_sensor.h:3554
rlUInt16_t lutSfIndexOffset
This field provides the LUT index start offset for subsequent sub-frames in advanced frame config API...
Definition: rl_sensor.h:5055
rlInt16_t qAvgDC
Average DC value in Q chain for profile x, RX channel x.
Definition: rl_sensor.h:1840
rlUInt16_t chirpStartIdx
Chirp Start Index, Valid Range 0 -511.
Definition: rl_sensor.h:505
MMWL_EXPORT rlReturnVal_t rlSetChannelConfig(rlUInt8_t deviceMap, rlChanCfg_t *data)
Sets the Rx and Tx Channel Configuration.
Definition: rl_sensor.c:107
rlUInt16_t reserved
Reserved for Future use.
Definition: rl_sensor.h:1889
rlUInt8_t devId
Device Index value for each devices in cascade system. This configuration by default set to value 0...
Definition: rl_sensor.h:2717
rlUInt16_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:985
Rx/Tx Channel Configuration.
Definition: rl_sensor.h:220
MMWL_EXPORT rlReturnVal_t rlSetBpmChirpConfig(rlUInt8_t deviceMap, rlBpmChirpCfg_t *data)
Sets Binary Phase Modulation Chirp Configuration.
Definition: rl_sensor.c:241
rlUInt32_t reserved3
Reserved for Future use.
Definition: rl_sensor.h:3941
Radar RF PA loopback configuration.
Definition: rl_sensor.h:2280
rlUInt16_t calibMonTimeUnit
Defines the basic time unit, in terms of which calibration and/or monitoring periodicities are to b...
Definition: rl_sensor.h:2684
rlUInt16_t iAvgPwr
Average power in I chain for profile x, RX channel x.
Definition: rl_sensor.h:1844
rlInt16_t rx13BbPreEnTime
Time before TX Start Time when RX1 and RX3 baseband stages are to be put in fast-charge state....
Definition: rl_sensor.h:4590
MMWL_EXPORT rlReturnVal_t rlSetSubFrameStart(rlUInt8_t deviceMap, rlSubFrameStartCfg_t *data)
Triggers the next sub-frame in software triggered sub-frame mode.
Definition: rl_sensor.c:3532
rlUInt32_t reserved3
Reserved for Future use.
Definition: rl_sensor.h:5335
rlInt32_t sf2ChirpParamDelta
This field indicates the delta increment (Delta Dither) value for sub-frame 2 (Also applicable for le...
Definition: rl_sensor.h:4968
rlUInt8_t profileIndx
This field indicates the profile Index for which this configuration applies.
Definition: rl_sensor.h:3389
rlUInt8_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:2963
MMWL_EXPORT rlReturnVal_t rlSetGpAdcConfig(rlUInt8_t deviceMap, rlGpAdcCfg_t *data)
: Configure GP ADC data parameters
Definition: rl_sensor.c:1940
rlUInt8_t settlingTime
Number of samples to skip before collecting the data 1 LSB = 0.8 us, Valid range: 0 to 12 us.
Definition: rl_sensor.h:2056
rlInt16_t rx13RfTurnOffTime
Time to wait after ramp end before turning off RX1 and RX3 RF stages. 1 LSB = 10 ns Valid range: ...
Definition: rl_sensor.h:4550
rlUInt8_t reserved
Reserved for Future use.
Definition: rl_sensor.h:2731
Binary phase modulation common configuration.
Definition: rl_sensor.h:469
rlUInt16_t deltaResetPeriod
Reset the delta increment (Delta Dither) sequence every M chirps Index Parameter 0 Reset only as ...
Definition: rl_sensor.h:4917
rlInt16_t iAvgDC
Average DC value in I chain for profile x, RX channel x.
Definition: rl_sensor.h:1836
Radar RF Miscconfiguration.
Definition: rl_sensor.h:2605
rlUInt16_t reserved
Reserved for Future use.
Definition: rl_sensor.h:1615
rlInt16_t tmpRx2Sens
RX2 temperature sensor reading (signed value). 1 LSB = 1 deg C.
Definition: rl_sensor.h:1795
Inter Chirp block control configuration.
Definition: rl_sensor.h:4537
rlUInt32_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:1285
rlUInt32_t reserved3
Reserved for Future use.
Definition: rl_sensor.h:2885
rlUInt32_t b2AdcOutFmt
ADC out format- 0(Real), 1(Complex), 2(Complex with Image band), 3(Pseudo Real)
Definition: rl_sensor.h:328
The Antenna position parameter structure.
Definition: rl_sensor.h:1694
rlUInt32_t dieIDHexVal3
Die ID Hex Value 3.
Definition: rl_sensor.h:4811
rlUInt8_t psLoopbackTxId
Tx used for loopback [b0] 1: Tx0 is used for loopback [b1] 1: Tx1 is used for loopback [b7:2] :...
Definition: rl_sensor.h:2341
Structure to store all Calibration data chunks which device provides in response of rlRfCalibDataStor...
Definition: rl_sensor.h:4303
rlUInt16_t rxGain
b5:0 This field defines RX gain for each channel. 1 LSB = 1 dB Valid values: AWR2243 : All even...
Definition: rl_sensor.h:888
rlUInt8_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:1943
rlUInt8_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:3570
rlUInt32_t frameTrigDelay
Optional time delay from sync_in trigger to the occurance of frame chirps Applicable only in SINGLE...
Definition: rl_sensor.h:1277
MMWL_EXPORT rlReturnVal_t rlSetDynPerChirpPhShifterCfg(rlUInt8_t deviceMap, rlUInt16_t segCnt, rlDynPerChirpPhShftCfg_t **data)
Injects per-chirp phase shifter configuration to be applied dynamically.
Definition: rl_sensor.c:3114
rlAdvFrameDataCfg_t frameData
Advance Frame data configuration. Applicable with AWR1243/AWR2243/xWR6243 devices.
Definition: rl_sensor.h:1423
rlUInt32_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:1722
rlUInt8_t enable
Enable different sensors [b0] 1: ANATEST1 Enable, 0: ANATEST1 Disable [b1] 1: ANATEST2 Enable,...
Definition: rl_sensor.h:2086
rlUInt8_t reserved0
Reserved for future use.
Definition: rl_sensor.h:5146
rlUInt8_t progFiltFreqShift
Determines the magnitude of the frequency shift do be done before filtering using the real-coefficien...
Definition: rl_sensor.h:2566
rlUInt16_t numLoops
Number of times to repeat from chirpStartIdx to chirpEndIdx in each frame, valid range = 1 to 255 ...
Definition: rl_sensor.h:1010
rlUInt32_t reserved3
Reserved for future use.
Definition: rl_sensor.h:4827
MMWL_EXPORT rlReturnVal_t rlSetBpmCommonConfig(rlUInt8_t deviceMap, rlBpmCommonCfg_t *data)
Sets Binary Phase Modulation Common Configuration.
Definition: rl_sensor.c:199
rlUInt16_t reserved
Reserved for Future use.
Definition: rl_sensor.h:1309
MMWL_EXPORT rlReturnVal_t rlSetDynChirpCfg(rlUInt8_t deviceMap, rlUInt16_t segCnt, rlDynChirpCfg_t **data)
Injects chirp configuration to be programmed dynamically.
Definition: rl_sensor.c:2941
Radar RF Run time calibration configuration.
Definition: rl_sensor.h:2891
rlUInt8_t ifLoopbackEn
Enable/Disable IF loopback [b7:0] 1: IF loopback Enable, 0: IF loopback Disable .
Definition: rl_sensor.h:2461
rlUInt32_t reserved2
Reserved for future use.
Definition: rl_sensor.h:4823
Advance Frame Sequence config API parameters rlAdvFrameCfg, 148 bytes.
Definition: rl_sensor.h:1172
rlUInt32_t reserved2
Reserved for Future use.
Definition: rl_sensor.h:5259
rlUInt8_t resetMode
Reset mode of the programmed pattern Mode Definition 0 Reset at end of frame 1 Reset at end of ...
Definition: rl_sensor.h:4866
Continous Mode Enable API parameters.
Definition: rl_sensor.h:1579
rlUInt32_t chirpNR2
Nth Chirp config Row 2 Bits Definition b22:0 FREQ_START_VAR 1 LSB = 3.6e9/2^26 ~53....
Definition: rl_sensor.h:3998
rlUInt16_t reserved1
Reserved for future use.
Definition: rl_sensor.h:4699
Radar RF programmable filter configuration.
Definition: rl_sensor.h:2533
Advanced Chirp LUT Configuration Structure Load a generic chirp parameter LUT (firmware RAM of size 1...
Definition: rl_sensor.h:5246
Monitor Type Trigger configuration structure.
Definition: rl_sensor.h:5131
rlUInt8_t reserved2
Reserved for Future use.
Definition: rl_sensor.h:3752
rlUInt16_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:2129
MMWL_EXPORT rlReturnVal_t rlRfSetPALoopbackConfig(rlUInt8_t deviceMap, rlRfPALoopbackCfg_t *data)
Enable/Disable PA loopback for all enabled profiles.
Definition: rl_sensor.c:2160
Structure to hold the MSS/radarSS CPU Fault data strucutre for event RL_DEV_AE_MSS_CPUFAULT_SB and RL...
Definition: mmwavelink.h:2367
rlUInt32_t txBackoff
Concatenated code for output power backoff for TX0, TX1, TX2 b7:0 TX0 output power back off b15:8 ...
Definition: rl_sensor.h:3715
rlUInt16_t ldoBypassEnable
Enable LDO bypass [b0] 1: RF LDO bypassed, Should be used only when 1.0V RF supply is provided 0: R...
Definition: rl_sensor.h:2158
rlUInt16_t paLbFreq
This value is a 100MHz divider which sets the loopback frequency: The PA output is fed to a modulator...
Definition: rl_sensor.h:3954
rlUInt8_t reserved
Reserved for Future use.
Definition: rl_sensor.h:2465
rlUInt16_t b14Reserved
Reserved for Future use.
Definition: rl_sensor.h:446
rlUInt8_t reserved
Reserved for Future use.
Definition: rl_sensor.h:2301
Profile config API parameters. A profile contains coarse parameters of FMCW chirp such as start frequ...
Definition: rl_sensor.h:580
rlUInt16_t digOutSampleRate
ADC Sampling rate for each profile is encoded in 2 bytes (16 bit unsigned number) 1 LSB = 1 ksps ...
Definition: rl_sensor.h:1474
rlUInt16_t numOfChunk
Number of calibration data chunks Available in device.
Definition: rl_sensor.h:4200
Chirp start, end Index parameters for rlGetChirpConfig.
Definition: rl_sensor.h:971
MMWL_EXPORT rlReturnVal_t rlRfSetProgFiltCoeffRam(rlUInt8_t deviceMap, rlRfProgFiltCoeff_t *data)
Set Programmable Filter coefficient RAM.
Definition: rl_sensor.c:2302
rlUInt8_t bssAnaControl
Bit Definition b0 INTER_BURST_POWER_SAVE_DIS 0 Inter burst power save enable (default) 1 Inter ...
Definition: rl_sensor.h:1939
rlInt16_t posXMax
Boundary max limit, Obj location resets to posX if cross boundary X position of max boundary 1lsb =...
Definition: rl_sensor.h:1678
rlUInt8_t monTrigTypeEn
Monitor trigger type to control sequence of execution of monitors Bit Definition 0 Trigger Type 0...
Definition: rl_sensor.h:5142
rlUInt32_t oneTimeCalibEnMask
Upon receiving this trigger message, one time calibration of various RF/analog aspects are triggere...
Definition: rl_sensor.h:2918
rlUInt8_t paLoopbackEn
Enable/Disable PA loopback 1: PA loopback Enable, 0: PA loopback Disable .
Definition: rl_sensor.h:2297
rlUInt8_t reserved0
Reserved for future use.
Definition: rl_sensor.h:5203
rlInt16_t rx13RfPreEnTime
Time before TX Start Time when RX1 and RX3 RF stages are to be put in fast-charge state....
Definition: rl_sensor.h:4576
rlInt16_t posXMin
Boundary min limit, Obj location resets to posX if cross boundary X position of min boundary 1lsb =...
Definition: rl_sensor.h:1663
rlUInt32_t numChirps
Number of Chirps per Frame.
Definition: rl_sensor.h:1297
rlUInt16_t chunkId
Get Calibration Data Chunk Id.
Definition: rl_sensor.h:4188
rlUInt16_t contModeEn
Enable continuous steaming mode 0x00 Disable continuous streaming mode 0x01 Enable continuous str...
Definition: rl_sensor.h:1586
rlInt16_t rx02BbTurnOnTime
Time before TX Start Time when RX0 and RX2 baseband stages are to be enabled. 1 LSB = 10 ns Valid...
Definition: rl_sensor.h:4608
rlUInt16_t lutPatternAddressOffset
This field provides the start address offset within the Generic SW Chirp Parameter LUT which holds di...
Definition: rl_sensor.h:5017
Sub Frame data config API parameters.
Definition: rl_sensor.h:1315
rlUInt32_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:4531
rlUInt32_t startFreqConst
Start frequency For 77GHz devices (76 - 81 GHz): 1 LSB = 3.6e9 / 2^26 Hz = 53....
Definition: rl_sensor.h:1441
MMWL_EXPORT rlReturnVal_t rlGetAdvFrameConfig(rlUInt8_t deviceMap, rlAdvFrameCfg_t *data)
Gets Advance Frame Configuration.
Definition: rl_sensor.c:1244
rlUInt32_t calibEnMask
Allowed values = 0x000 or 0xFFF. Normally, upon receiving RF INIT message, the radarSS performs all r...
Definition: rl_sensor.h:2858
rlUInt8_t aeCrcConfig
CRC Config for Asynchornous event message Value Description 0 16 bit CRC for radarSS async events...
Definition: rl_sensor.h:1968
rlUInt32_t chirpNR1
Nth Chirp config Row 1 Bits Definition 3:0 PROFILE_INDX Valid range 0 to 3 7:4 RESERVED 13:8 FREQ_SLO...
Definition: rl_sensor.h:3989
rlUInt32_t txOutPowerBackoffCode
Concatenated code for output power backoff for TX0, TX1, TX2 Bit Description b7:0 TX0 output power...
Definition: rl_sensor.h:727
Continous Mode config API parameters.
Definition: rl_sensor.h:1429
rlUInt16_t reserved
Reserved for future use.
Definition: rl_sensor.h:4778
Loopback burst set configuration.
Definition: rl_sensor.h:3616
rlUInt16_t lutResetPeriod
Reset the LUT sequence (LUT Dither) every J chirps Index Parameter 0 Reset only as per RESET MODE...
Definition: rl_sensor.h:4996
rlUInt16_t reserved
Reserved for future.
Definition: rl_sensor.h:526
rlUInt8_t burstIndx
Indicates the index of the burst in the loopback sub-frame for which this configuration applies V...
Definition: rl_sensor.h:3645
rlUInt16_t cascadingPinoutCfg
Cascading pinout config b0 - CLKOUT_MASTER_DIS 0 - 20G FM_CW_CLKOUT from master is enabled 1 - ...
Definition: rl_sensor.h:300
rlUInt16_t digOutSampleRate
ADC Sampling rate for each profile is encoded in 2 bytes (16 bit unsigned number) 1 LSB = 1 ksps ...
Definition: rl_sensor.h:803
RX gain temperature LUT read.
Definition: rl_sensor.h:3208
rlUInt16_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:376
MMWL_EXPORT rlReturnVal_t rlSetMultiAdvChirpLUTConfig(rlUInt8_t deviceMap, rlAdvChirpLUTCfg_t *AdvChirpLUTCfgArgs, rlInt8_t *AdvChirpLUTData)
Multi Advanced chirp LUT configuration API.
Definition: rl_sensor.c:4134
rlUInt16_t adcStartTimeVar
Adc start time for each chirp 1 LSB = 10ns valid range = 0-4096 .
Definition: rl_sensor.h:951
BSS Bootup status data structure.
Definition: rl_sensor.h:4484
rlUInt16_t chirpEndIdx
End Index of Chirp Valid range = chirpStartIdx-511.
Definition: rl_sensor.h:995
Advance Frame data config API parameters. This structure is only applicable when mmWaveLink instance ...
Definition: rl_sensor.h:1380
rlUInt32_t idleTimeConst
Idle time 1 LSB = 10 ns Valid range: 0 to 524287 .
Definition: rl_sensor.h:695
MMWL_EXPORT rlReturnVal_t rlSetAdvChirpLUTConfig(rlUInt8_t deviceMap, rlAdvChirpLUTCfg_t *data)
Set the Advanced chirp LUT configuration to the device.
Definition: rl_sensor.c:4084
rlInt32_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:4642
rlInt16_t tmpTx2Sens
TX2 temperature sensor reading (signed value). 1 LSB = 1 deg C.
Definition: rl_sensor.h:1811
rlUInt16_t numLoops
No. of times to loop through the unique chirps in each burst, without gaps, using HW....
Definition: rl_sensor.h:1108
rlInt16_t rx13BbTurnOnTime
Time before TX Start Time when RX1 and RX3 baseband stages are to be enabled. 1 LSB = 10 ns Valid...
Definition: rl_sensor.h:4614
MMWL_EXPORT rlReturnVal_t rlSensorStart(rlUInt8_t deviceMap)
Triggers Transmission of Frames.
Definition: rl_sensor.c:1449
MMWL_EXPORT rlReturnVal_t rlSetDynChirpEn(rlUInt8_t deviceMap, rlDynChirpEnCfg_t *data)
Triggers copy of chirp config from SW to HW RAM.
Definition: rl_sensor.c:3065
MMWL_EXPORT rlReturnVal_t rlRfSetProgFiltConfig(rlUInt8_t deviceMap, rlRfProgFiltConf_t *data)
Set Programmable Filter configuration.
Definition: rl_sensor.c:2344
MMWL_EXPORT rlReturnVal_t rlRfSetIFLoopbackConfig(rlUInt8_t deviceMap, rlRfIFLoopbackCfg_t *data)
Enable/Disable RF IF loopback for all enabled profiles. This is used for debug to check if both TX an...
Definition: rl_sensor.c:2253
rlUInt16_t freqLimitHighTx0
The sensor's higher frequency limit for calibrations and monitoring for TX0 is encoded in 2 bytes (...
Definition: rl_sensor.h:3521
rlUInt32_t dieIDHexVal1
Die ID Hex Value 1.
Definition: rl_sensor.h:4803
rlUInt16_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:2328
rlUInt8_t miscFunCtrl
Miscellaneous control functionality. Bits Dither b0 value Definition 0 Dither is enabled in tes...
Definition: rl_sensor.h:1737
MMWL_EXPORT rlReturnVal_t rlSetMultiChirpCfg(rlUInt8_t deviceMap, rlUInt16_t cnt, rlChirpCfg_t **data)
Injects chirp configuration to be programmed dynamically.
Definition: rl_sensor.c:866
MMWL_EXPORT rlReturnVal_t rlSetAdvChirpConfig(rlUInt8_t deviceMap, rlAdvChirpCfg_t *data)
Set the Advanced chirp configuration to the device.
Definition: rl_sensor.c:3914
rlUInt8_t sampleCnt
Number of samples to collect.
Definition: rl_sensor.h:2051
Frame Trigger API parameters RL_RF_FRAMESTARTSTOP_CONF_SB.
Definition: rl_sensor.h:1596
rlUInt16_t reserved0
Reserved for future use.
Definition: rl_sensor.h:4903
rlUInt32_t miscCtl
b0 PERCHIRP_PHASESHIFTER_EN 0 Per chirp phase shifter is disabled 1 Per chirp phase shifter is en...
Definition: rl_sensor.h:2647
rlUInt16_t numAdcSamples
Number of ADC samples to capture in a chirp for each RX Valid range: 2 to MAX_NUM_SAMPLES Where MA...
Definition: rl_sensor.h:778
MMWL_EXPORT rlReturnVal_t rlRfInitCalibConfig(rlUInt8_t deviceMap, rlRfInitCalConf_t *data)
Set RF Init Calibration Mask bits and report type.
Definition: rl_sensor.c:2540
rlUInt16_t numAdcSamples
Number of half words in ADC buffer per chirp Example 1: In real mode, if number of ADC samples per ...
Definition: rl_sensor.h:1305
The DFE Statistics for Rx Channel for particular profile.
Definition: rl_sensor.h:1831
MMWL_EXPORT rlReturnVal_t rlSetLoopBckBurstCfg(rlUInt8_t deviceMap, rlLoopbackBurst_t *data)
This API is used to introduce loopback chirps within the functional frames.
Definition: rl_sensor.c:2901
rlUInt8_t subFrameTrigger
Sub frame trigger 0 - Disabled (default mode, i.e no trigger is required in SW triggered mode and a...
Definition: rl_sensor.h:1207
rlUInt16_t lutParamUpdatePeriod
The chirp parameter (LUT Dither) will be updated with new value from LUT every K chirps....
Definition: rl_sensor.h:5006
rlUInt32_t reserved
Reserved for Future use.
Definition: rl_sensor.h:2651
Inter-Rx gain and phase offset configuration.
Definition: rl_sensor.h:4311
rlUInt32_t framePeriodicity
Frame repitition period PERIOD >= Sum total time of all chirps + InterFrameBlankTime,...
Definition: rl_sensor.h:1039
rlInt16_t velZ
Relative velocity in Cartesian coordinate Z velocity of object 1lsb = 1cm/s, Valid Range -5000 to +...
Definition: rl_sensor.h:1653
rlUInt16_t numOfPatterns
This field provides the number of unique dither parameters present in LUT. This information is used...
Definition: rl_sensor.h:5024
rlUInt8_t pfCalLutUpdate
Bit Description b0 RETAIN_TXCAL_LUT 0 - Update TX calibration LUT 1 - Do not update TX calibrat...
Definition: rl_sensor.h:631
MMWL_EXPORT rlReturnVal_t rlRfDfeRxStatisticsReport(rlUInt8_t deviceMap, rlDfeStatReport_t *data)
Gets Digital Front end statistics such as Residual DC, RMS power in I and Q chains for different Rece...
Definition: rl_sensor.c:1795
MMWL_EXPORT rlReturnVal_t rlRfApllSynthBwCtlConfig(rlUInt8_t deviceMap, rlRfApllSynthBwControl_t *data)
Control bandwidth of the APLL and Synthesizer.
Definition: rl_sensor.c:4030
rlUInt8_t tx2PhaseShift
TX2 phase shift definition [b1:0] reserved (set it to 0b00) [b7:2] TX2 phase shift value 1 LSB ...
Definition: rl_sensor.h:2240
rlUInt32_t b8FullScaleReducFctr
Number of bits to reduce ADC full scale by Valid range: 0 to (16 - Number of ADC bits) For e....
Definition: rl_sensor.h:324
rlInt16_t rx12BbTurnOffTime
Time to wait after ramp end before turning off RX1 and RX3 baseband stages. 1 LSB = 10 ns Valid r...
Definition: rl_sensor.h:4562
rlUInt8_t bufferEnable
Enable buffer for each input [b0] 1: ANATEST1 buffer enable, 0: ANATEST1 buffer disable [b1] 1: A...
Definition: rl_sensor.h:2096
MMWL_EXPORT rlReturnVal_t rlGetChirpConfig(rlUInt8_t deviceMap, rlUInt16_t chirpStartIdx, rlUInt16_t chirpEndIdx, rlChirpCfg_t *data)
Gets Chirp Configuration.
Definition: rl_sensor.c:728
rlUInt8_t reserved0
Reserved for Future use.
Definition: rl_sensor.h:3248
rlUInt32_t burstPeriodicity
burstPeriodicity >= (numLoops)* (sum total of all unique chirp times per burst) + InterBurstBlankTime...
Definition: rl_sensor.h:1121
rlInt16_t rx02BbPreEnTime
Time before TX Start Time when RX0 and RX2 baseband stages are to be put in fast-charge state....
Definition: rl_sensor.h:4583
The Object position and signal strength parameter structure.
Definition: rl_sensor.h:1622
rlUInt16_t bpmConfig
Bit Definition b0 RESERVED b1 CONST_BPM_VAL_TX0_ON Value of Binary Phase Shift value for TX0,...
Definition: rl_sensor.h:3787
rlUInt8_t txIndex
Index of the transmitter channel for which the phase shift is desired Valid range: 0 to (Number of ...
Definition: rl_sensor.h:4678
rlUInt8_t tx2PwrBackOff
TX2 output power back off 1LSB = 1dB Valid Value: 0, 3, 6, 9.
Definition: rl_sensor.h:3566
rlUInt16_t reserved
Reserved for Future use.
Definition: rl_sensor.h:1590
rlUInt32_t reserved1
Reserved for Future use.
Definition: rl_sensor.h:5327
rlUInt8_t chirpParamIdx
Chirp parameter that the current API configures. The mapping and availability of dither modes are as ...
Definition: rl_sensor.h:4854
MMWL_EXPORT rlReturnVal_t rlSetChirpConfig(rlUInt8_t deviceMap, rlUInt16_t cnt, rlChirpCfg_t *data)
Sets Chirp Configuration.
Definition: rl_sensor.c:603
rlAdvFrameSeqCfg_t frameSeq
Advance Frame sequence and Subframe configuration.
Definition: rl_sensor.h:1419
rlUInt16_t txChannelEn
TX Channel Bitmap b0 TX0 Channel Enable 0 Disable TX Channel 0 1 Enable TX Channel 0 b1 TX1 Ch...
Definition: rl_sensor.h:254
Chirp row configuration, radarSS stores each chirp config in memory in 3 rows.
Definition: rl_sensor.h:3964

Copyright 2021, Texas Instruments Incorporated