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.

CCS/IWR6843ISK: IWR6843: How to update chrip profiles between frames

Part Number: IWR6843ISK

Tool/software: Code Composer Studio

Hello,

On the mmWave Demo I have statically added 4 different profiles and defined chirps based on these profiles and used them on a frame. However, I would like to have multiple frames with different chirps based on the 4 different profiles to be changed between each frame.

First of all, is that possible? If yes, can you help me what and where shall i change on the CCS code?

thank you in advance.

  • Former Member
    0 Former Member

    Hello,

    Yes, there is the advanced subframe mode which you can find more details within the mmWave SDK documentation.

    The advanced SF mode enables you to define up to four subframes which supports different profile,chirp, and frame settings. Please see the example configuration provided in the SDK in the profiles directory of the demo.

     Amanda

  • Hi Amanda,

    thank you for your answer! I would like to know, however, how to change the chirps between every frame and what will be the time required. Any suggestions how to do that?

    thank you.

  • Former Member
    0 Former Member in reply to Neon2020

    Hello,

    Could you give me some more details why subframe config doesn't meet your requirements? I'm trying to understand the difference you're trying to achieve from re initializing the device and setting the profile/chirp and frame config.

    At minimum to do what you're asking (assuming you're changing RX/TX combinations) you will need to reissue: Set Channel Config, RF Init, Set Profile Config, Set Chirp Config, and Set Frame Config. The time to do so will depend on the number of profiles and chirps you need to set. A benchmark using 20MHz SPI for 4 profiles/512 chirps is ~ 55ms to reissue the needed commands.

    Amanda 

  • Hello,

    What i am trying to do and i think it is not possible from the config files is the following:

    set profile 0 ... -->OK

    set profile 1... -->OK

    frame 1: chirp 0, profile 0 chirp 1 profile 1

    frame 2: chirp 0, profile 1 chirp 1 profile 1

    frame 3: chirp 0, profile 0 chirp 1 profile 0

    etc. 

    The definition of every chirp belonging to a profile shall be defined based on the previous frame! Hence it is not clear how i can parse this information to the next frame. I am currently using the 64XX demo with CSS and trying to apply it in there. Any recommendation ?

    thank you in advance.

    Neon

  • Former Member
    0 Former Member in reply to Neon2020

    Hello Neon,

    Can you explain why you think using the subframe mode wouldn't work. It is hard to tell from your description but I don't see any issue using advanced subframe configurations to do what you've described. However note that the demo is limited to 4 subframes. If you have four configurations that are working separately you should be able to combine them into one demo as 4 subframes. Have you looked at the example  profile_advanced_subframe.cfg in the profiles directory of the demo? This should show you how it can be implemented.

    Amanda

  • Hello again,

    I had a look on the profile_advanced_subframe.cfg file already. For me this is setting up every frame with specific subframes. Can we change the subframes from frame to frame?

    If yes, can you provide any cfg file with configuring two separate frames with 2 subframes each?

    thank you.

    Neon

  • Former Member
    0 Former Member in reply to Neon2020

    How many different frames are you trying to configure?

  • Hello,

    every frame shall be defined according to the previous frame... hence as long as you perform measurements you need to reconfigure every frame!

    thank you for your support in advance.

    Best Regards,

    Neon

  • Former Member
    0 Former Member in reply to Neon2020

    In that case you can't use subframe config.

    You will need to reissue the config commands then and will need to create the code to automate sending different profile and chirp configs.

  • thank you for your quick reply.

    Any hints how to modify that in the existing code? I am using the mmwave_sdk_68xx_hwa code...

    thank you.

    Best Regards,

    Neon

  • Former Member
    0 Former Member in reply to Neon2020

    Hello,

    This you would need to implement yourself. You can refer to the Area Scanner visualizers to see how commands in cfg files are sent to the device. One way you could approach this is to loop through different sets of cfg commands and capture output for each.

    Amanda