This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR6843ISK: Difference between the radar control functions in mmWave Studio (Lua code) and the mmWave SDK (C code)

Part Number: IWR6843ISK

Hi,

So I am wondering if the radar control functions in mmWave Studio (Lua code) and the mmWave SDK (C code) are the same, or if there is a difference between them? For example, ar1.ProfileConfig function takes in digOutSampleRate (i.e. RX Sampling Rate in ksps). There is a corresponding C function rlSetProfileConfig which takes in a struct called rlProfileCfg_t, which has a similar field digOutSampleRate.

The confusing part is that the C function describes the field as:

"ADC Sampling rate for each profile is encoded in
2 bytes (16 bit unsigned number)
1 LSB = 1 ksps
Valid range 2000 to 37500
"

However, Lua script describes the field as:

"RX Sampling Rate in ksps"

My question is: How should I give value of digOutSampleRate in the Lua function? Should I give a decimal value in Ksps directly? Or should I think of digOutSampleRate as 1 LSB = 1 Ksps and give the value in binary accordingly? Maybe I am misunderstanding the meaning of 1 LSB = 1 Ksps. 

Looking forward to your answer!

Best.