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.

How to config a advance frame congiguration in AdvFrameConfig of mmwave studio?

Part Number: AWR1642
Other Parts Discussed in Thread: MMWAVE-DFP

                                                                                                                                                          Fig1

                                                                                                                         Fig2

 

 

 

 

 

 

 

1/As to fig1, if I want config a complex frame with subframe and burst, whick parameter of  AdvFrameConfig need I coonfig? FrameConfiguration, Sub-Frame Configuration, LoopBack Configuration and SubFrame Start Configuration all need config?

2/what does Loop Bk Sub Frame Id mean? Can you give me a example(assume Loop Bk Sub Frame Id=3=3)? Need I choose LoopBackEn?

3/ When i choose or nt choose ForceProfile in Frame configuration, the ForceProfileidx always cannot be changed in SubFrame configuration. Why?When the ForceProfileidx can be changed?

4/assume the id of  chirp C1~C512 is 0~511, for Fig1, what is the frame construction?

5/For Fig2, how to config in AdvFrameConfig?

  • Hi,

    All the configuration parameters map to the rlSetAdvFrameConfig API described in the "AWR1XXX Radar
    Interface Control Document". this is provided in the dfp package www.ti.com/tool/mmwave-dfp

    Were you able to review this information?

    Thank you
    Cesar
  • hi,Cesar.

    After reading mmwave dfp, those confusion are still in my mind.

    If i write all the confusion, it will be a long long chapter.

    I think the best way is to answer the question above, especially the question 4,5,1,2.

    Because a example of how to configuration really helps me solving the confusion in my mind.

    Thank you .

    Regards.

  • hi cesar,can you see my reply?
  • Hi,

    Yes, we have received your reply.

    There is no need to be confused

    Answer 1: You need to configure Frame Configuration, Sub frame configuration and Subframe Start Configuration

    Answer 2: LoopBackEn is used to use in monitoring environments. In this case one of the subframes is looped back. For now, in order to avoid any further confusion, let's not consider subframe loopback

    Answer 3: When ForceProfile is selected, this means that we force specific profile for each subframe. If ForceProfile is not selected this means that we will use the profile from the chirpindex

    Answer 4: For the snapshot provided: C1C2C3 C1C2C3C1C2C3C1C2C3 repeated 5 times

    Answer 5: For Fig 8 in www.ti.com/.../swra553.pdf:

    ChirpStartIdx: 0
    NumChirps: 2
    NumLoops: 2
    ChirpStartIdxOffset: 2
    NumBurst: 3
    NumBurstLoops: 2
  • really really apeciate.

    1/ for config a complex frame, need i alway set SubFrame Ena=1?

    2/ Accoriding to your explain, Loop Bk Sub Frame Id is invalid, when Loop Back En=0, right?

    3/ the burst period =40 ms means burst1 period = burst2 period=burst3 period=...=burstN period=40 ms, not burst1 period+burst2 period+burst3 period+...+burstN period=40ms, 

       and subframe period=480 ms also means too, right?

    4/ still a little little confusion about fig1's frame stucture,  am i right below?

    ChirpStartIdx: 0
    NumChirps: 3 
    NumLoops: 5

     we have the first  burst, burst1, is C1C2C3 C1C2C3 C1C2C3 C1C2C3 C1C2C3

    ChirpStartIdxOffset: 0

    we have the 2nd, 3rd.. the Nth's frist chirp are all C1

     
    NumBurst: 3
    NumBurstLoops: 4

    we have the frame's structure is burst1 burst2 burst3  burst1 burst2 burst3 burst1 burst2 burst3 burst1 burst2 burst3

    BurstPeriod=40ms

    we have burst1=burst2=burst3=40ms 

    SubFramePeriod=480ms

    we have subFrame1 =480ms

  • This is a duplicate of: e2e.ti.com/.../710732

    Please stick to a single thread for a single topic.

    1) SubFrameEna = 1 only controls whether you need to trigger subframes individually in software triggered mode. Otherwise, by default the subframes will be triggered automatically. This corresponds to rlSetSubFrameStart() API/AWR_SUBFRAME_START_CONF_SB in the ICD document.

    2) Yes, Loop Back Sub Frame Id is ignored when Loop Back EN = 0.

    3) burst period = (chirp_time * number_of_chirps * number_of_chirp_loops) + inter_burst_time
    Each burst will have the same period.

    Subframe_period = (burst_period * number_of_bursts * number_of_burst_loops) + inter_subframe_time

    4) Your understanding is correct.
  • Really really really apeciate Anand.

    another question about TDM AdvFrameConfig (i really hope this is the last one) is the difference between when ForeProfile=0 and ForeProfile=1.

    Here are two example. Could you please help me to check their config are right:

    Assume my definition is C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12…C512.

    C1/C3/C5/C7/C9/C11/…../C511 belongs to Profile1, and the ids are 0/2/4/6/…/510.

    C2/C4/C6/C8/C10/C10/…/C512 belongs to Profile3, and the ids are 1/3/5/7/…/511.

    Now I definite a complex profile using AdvFramConfig.

          

                                                                  Fig3 ForeProfile=0                                                                                                                                    Fig4 ForeProfile=1

    1/For ForeProfile=0:

    Both SubFrame1 and SubFrame2 has the same parameter.

    ChirpStartIdx=0

    NumChirps=3

    NumLoop=2

    We have the first Burts is C1C2C3C1C2C3

     

    ChirpStartIdxOffset=1

    We have the second burst is C2C3C4C2C3C4, and the third burst is C3C4C5C3C4C5

     

    NumBurst=3

    NumBurstLoops=2

    We have the frame is burst1burst2burst3 burst1burst2burst3

     

    BurstPeriodms=40

    We have burst1=burst=2burst3=40ms

     

    SubFramePeriod(ms)=480ms

    We have SubFrame1=SubFrame2=480ms
    ------------------------------------

    2/For ForeProfile=1:

    (1)For SubFrame1

    ChirpStartIdx=0

    NumChirps=3

    NumLoop=2

    We have the first Burts is C1C3C5C1C3C5

     

    ChirpStartIdxOffset=1

    We have the second burst is C3C5C7C3C5C7, and the third burst is C5C7C9C5C7C9

     

    NumBurst=3

    NumBurstLoops=2

    We have the frame is burst1burst2burst3 burst1burst2burst3

     

    BurstPeriodms=40

    We have burst1=burst=2burst3=40ms

     

    SubFramePeriod(ms)=480ms

    We have SubFrame1=SubFrame2=480ms

     

    (2)For SubFrame2

    ChirpStartIdx=0

    NumChirps=3

    NumLoop=2

    We have the first Burts is C2C4C6C2C4C6

     

    ChirpStartIdxOffset=1

    We have the second burst is C4C6C8C4C6C8, and the third burst is C6C8C10C6C8C10

     

    NumBurst=3

    NumBurstLoops=2

    We have the frame is burst1burst2burst3 burst1burst2burst3

     

    BurstPeriodms=40

    We have burst1=burst=2burst3=40ms

     

    SubFramePeriod(ms)=480ms

    We have SubFrame1=SubFrame2=480ms

    --------------------------------------

    Am I right?

  • No, this is not correct.

    In both cases, the same chirp numbers will be used.

    In the first case, the RF settings and related parameters (i.e., the "profile settings") for each chirp will be taken from the configuration done in the chirp configuration API for each chirp.

    In the second case, all chirps in the first subframe will use profile settings from profile 1 and in the second subframe will use profile settings from profile 3.
  • Sorry, Anand. I still can't understand your answer, and i still don't find my mistake about the structre of fig3 and fig4.

    i re- wirte my idea. All the content is the same to above thread.

    1/ my aim is to find the difference between when ForeProfile=0 and ForeProfile=1. So i take 2 examples of fig 3 (ForeProfile=0 ) and fig4(ForeProfile=1)

    2/ i know the total step is (1)config chirp and profile in Sensor Configuration (2) config Frame in  AdvFramConfig

    3/ assume i have configurated 512 chirps with profile1 and profile3 in Sensor Configuration. And the configuration result is

    C1/C3/C5/C7/C9/C11/…../C511 belongs to Profile1, and their ids are 0/2/4/6/…/510.

    C2/C4/C6/C8/C10/C10/…/C512 belongs to Profile3, and their ids are 1/3/5/7/…/511.

    4/now I config the two example frames.

    (1) ForeProfile=0 coresponding to fig3

    Both SubFrame1 and SubFrame2 has the same chirps:

    ChirpStartIdx=0

    NumChirps=3

    NumLoop=2

    We have the first Burts is C1C2C3C4C1C2C3C4

    ChirpStartIdxOffset=1

    We have the second burst is C2C3C4C4C2C3C4C5, and the third burst is C3C4C5C6C3C4C5C6

    (2) ForeProfile=1 coresponding to fig3

    SubFrame1 and SubFrame2 has totally different chirps.

    For SubFrame1

    ChirpStartIdx=0

    NumChirps=3

    NumLoop=2

    We have the first Burts is C1C3C5C1C3C5

    ChirpStartIdxOffset=1

    We have the second burst is C3C5C7C3C5C7, and the third burst is C5C7C9C5C7C9

    For SubFrame2

    ChirpStartIdx=0

    NumChirps=3

    NumLoop=2

    We have the first Burts is C2C4C6C8C2C4C6C8

    ChirpStartIdxOffset=1

    We have the second burst is C4C6C8C4C6C8, and the third burst is C6C8C10C6C8C10

    (3) whether ForeProfile=0 or ForeProfile=1, both case has the same structure below:

    NumBurst=3

    NumBurstLoops=2

    We have the frame is burst1burst2burst3 burst1burst2burst3

    BurstPeriod(ms)=40

    We have burst1=burst=2burst3=40ms

    SubFramePeriod(ms)=480ms

    We have SubFrame1=SubFrame2=480ms

    -----------------------

    Please tell me where i am wrong.

  • Every chirp is associated with a chirp profile. The chirp profile configures parameters like ADC Start Time, Ramp End Time, Slope, Start Frequency, etc. There can be up to 4 profiles, and every chirp must be associated with only one profile. This association is normally configured using the chirp configuration API.

    A burst is a sequence of loops of continuous chirps (for example, C1/C2/C3 can form a burst with one loop; C1/C3/C5 cannot form a burst because the chirp indices are not continuous).

    When Force Profile = 0 (this is the most common case), each individual chirp retains the profile with which it was originally associated (i.e., the configuration programmed using the chirp config API). So C1 and C3 will use Profile 1 settings and C2 and C4 will use Profile 3 settings in your example.

    When Force Profile =1, this association will be overridden and all chirps within a subframe will use the same profile.

    So in both your cases, each subframe will have the following sequence of chirps:
    C1C2C3C1C2C3_C2C3C4C2C3C4_C3C4C5C3C4C5

    However, with Force Profile = 0, the chirps will use different profiles as follows for both the subframes:
    P1P3P1P1P3P1_P3P1P3P3P1P3_P1P3P1P1P3P1

    With Force Profile = 1, the first subframe will use the following profiles:
    P1P1P1P1P1P1_P1P1P1P1P1P1_P1P1P1P1P1P1

    and with Force Profile = 3, the second subframe will use the following profiles:
    P3P3P3P3P3P3_P3P3P3P3P3P3_P3P3P3P3P3P3

    Normally, you will operate with Force Profile = 0.

    Hope this helps,
    Anand
  • Thanks very very much, Anand.

    i know where i am wrong.

    The critical point is the chirps id  in the burst must be continuous.

    With the chirp's profile id style of P1P3P1P3P1P3.... , the step 4 (2) is totally wrong. Also step 4(1) is wrong with NumChirps=3.

    But the frame structure in step 4(3) is right.

    Right? 

  • Yes, your understanding is correct.