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.

IWR6843: Configuration of Chirps, digOutSampleRate, numADCsamples

Part Number: IWR6843
Other Parts Discussed in Thread: MMWAVEICBOOST,

Hello,

i am going through the code for vital_signs_68xx_dss and vital_signs_68xx_mss. What i am trying to find in the code is the exact soruce file for configurations with numeric values for things like digOutSampleRate  numADCsamples, chrip_duration_us and so on. in which source file can i find them. I dont know if my question is too vague. I guess im looking for the initialization of profileCfg but im not sure to be honest. right now i am using the code composer studio to go through every source file in  dss and mss that is there. Which doesnt seem to be the greatest way Smiley

(My goal ist to find these values to compute things like maximum Range and Range resolution for my self. And later when i understand everything to change the configuration)

(My suspision ist that some values in the users guide for vital signs are wrong and thats whats confusing me)

best regards

Resul

  • Hi Resul,

    Thank you for sharing all this information with me. 

    profileCfg is a CLI command and it does contain the information needed to calculate Range and Range Resolution. When the CLI command profileCgf is used the following are defined: <profileId> <startFreq> <idleTime> <adcStartTime> <rampEndTime> <txOutPowerBackoff> <txPhaseShifter> <freqSlope> <txStartTime> <numAdcSamples> <digOutSampleRate> <hpfCornerFreq1> <hpfCornerFreq2> <rxGain> and may look like: profileCfg 0 60.75 30 25 59.1 657930 0 54.71 1 96 2950 2 1 36 in a configuration file. I find this guide helpful for explaining how these chirp parameters relate to maximum range and range resolution: https://dev.ti.com/tirex/explore/node?node=AKVj7.vTvtR23bT.gcziBw__VLyFKFf__LATEST and this document is helpful for designing chirps https://www.ti.com/lit/an/swra553a/swra553a.pdf

    The Vital_Signs/68xx_vital_signs project comes with two configuration files located at: mmwave_industrial_toolbox_4_x_x\labs\Vital_Signs\68xx_vital_signs\gui\profiles. This is the file where profileCfg is defined (along with other CLI commands). You can edit this file with your own profileCfg settings and upload it to the gui to customize your range and range resolution.

    If you need any further help customizing maximum range and range resolution or anything else please let me know.

    Thank you,

    Angie Mitchell

  • Hi Angie,

    thank you very much for your quick response. Your answer was helpful. What i still dont get is how to find the numRangeBins for instance inside the source files

    And is there a way to change the values for profileCfg within code composer studio or do i have to change the txt.file inside mmwave_industrial_toolbox_4_x_x\labs\Vital_Signs\68xx_vital_signs\gui\profiles .

    best regards

    Resul

  • Hi Resul,

    Our CLI commands are defined in three files

    1. mmwave_industrial_toolbox_4_10_0\labs\Vital_Signs\68xx_vital_signs\src\mss\cli.c
    2. mmwave_sdk_03_05_00_04\packages\ti\utils\cli\src\cli.c
    3. mmwave_sdk_03_05_00_04\packages\ti\utils\cli\src\cli_mmwave.c
      1. This is the cli file that contains profile config. It can be found in CCS if you look under the mss project's includes following the path given above.

    However this is not where you edit profile config's values. You would change the values within the txt file. When you select "measurements from the back" in the GUI you will be running the profile xwr1642_profile_VitalSigns_20fps_Back.cfg and when you select "measurements from the front" in the GUI you will be running the profile xwr1642_profile_VitalSigns_20fps_Back.cfg.

    What results are you seeing that indicate the profile settings are incorrect?

    Thanks,

    Angie

  • Hi Angie,

    thanks for answering.

    What results are you seeing that indicate the profile settings are incorrect?

    The Settings are not incorrect. the User Guide for Vital SIgns has some mistakes. For instance it says the ADC SAmples per Chirp are 100, but according to the profile it should be 200. And in the command window when you run the demo, it says the Bandwidth  is 3.25 MHz but it should be 3.25 GHz accoridung to the profile file ( which makes more sense with the range maximum).

    My Question now is what is the easiest way to capture raw data from my device (iwr6843aop evm (rev. F)). Right now i am just overwhelmed by everthing. Do i need to use the mmwaveicboost or dca1000 evm. I really dont know where to start and how to move on. I am really confused right now as I dont have any experince so  far with  TI-Boards. Only thing i could do so far is to run the vital signs demo and measuer my heartbeat and breathing rate. 

    should i write a new question for this?

    best regards

    Resul

  • Hi Resul,

    Thanks for the information and I will take note of the inconsistency between the profile config and the user's guide. I now notice the same thing.

    Whether or not to start a new thread is up to you, I am more than happy to continue to answer your questions here.

    As far as capturing raw data: what type of data are you looking for? If you are looking for raw ADC data here is a guide to help (you would need the DCA1000): /cfs-file/__key/communityserver-discussions-components-files/1023/0572.mmWave_5F00_sensor_5F00_raw_5F00_data_5F00_capture_5F00_using_5F00_DCA1000_5F00_xwr6843.pdf

    If you are looking to explore the capabilities of this demo more you could follow the developer's guide. If you are looking to explore vital signs further you can check out our 3D people counting + vital signs demo: https://dev.ti.com/tirex/explore/node?node=AHKrDoNQq3Iik.iMxrP-5A__VLyFKFf__LATEST 

    Thanks,

    Angie Mitchell