Hello there,
I am trying to understand how the rangeResolution is calculated in the dss_main.c. The given equation is shown below:
dataPathObj->rangeResolution = MMWDEMO_SPEED_OF_LIGHT_IN_METERS_PER_SEC * profileCfg.digOutSampleRate * 1e3 / (2 * profileCfg.freqSlopeConst * ((3.6*1e3*900) / (1U << 26)) * 1e12 * dataPathObj->numRangeBins);
I followed this link (http://e2e.ti.com/support/sensors/f/1023/t/666937) so that I understand how T_c is derived. However, I still have the following questions:
- where does the term ((3.6*1e3*900) / (1U << 26)) come from?
- Why numRangeBins is used instead of numADCSamples? Even though they are the same when numADCSamples is the power of 2 (this does not hold in advanced subframe mode).
I also generated a cfg file from the web demo visualizer and plug in the value (digOutSampleRate = 5209 ksps, freqSlopeConst = 70 MHz/usec and numADCSamples = numRangeBins = 256). I believe the answer is 0.9 m instead of the 0.044 m shown on the slider.