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.

AWRL1432BOOST: Issuing reset to the accumulators for DC estimation and subtraction in AWRL1432

Part Number: AWRL1432BOOST
Other Parts Discussed in Thread: AWRL1432

Tool/software:

I am facing a problem with issuing reset to the DC accumulators, the modes "HWA_DCEST_INTERFSUM_RESET_MODE_PARAMRESET" - per chirp DC accumulation reset and "HWA_DCEST_INTERFSUM_RESET_MODE_PARAMRESET_ZEROLPCONT" - per frame DC accumulation reset, we could notice the DC subtraction happening but doesn't meet our requirements.

I tried the mode "HWA_DCEST_INTERFSUM_RESET_MODE_SOFTWARERESET" as well but not exactly sure where to write the DC_EST_RESET_SW register, should it be part of the hwaCommonConfig.configMask or anywhere else??  

Please help us out with this.

  • Hello,

    Could you please provide me a little more information about this.

    - Where are you currently editing the DC estimation mode?

    But, it sounds for your application you will have to deduce where in rangeprochwa.c to add your extra configurations. You could perhaps just add it in the range FFT. The register you are looking for should be accessible via 

    hwaParamCfg.preProcCfg.dcEstResetMode
    There is also an example project for the HWA where it does DC estimation and subtraction present here
    C:\ti\MMWAVE_L_SDK_05_05_02_00\examples\drivers\hwa\hwa_dc_sub
    Let me know if any further questions.
    Best,
    Gabriel
  • Hi Gabriel,

    Thank you for your response. I am able to set the 'hwaParamCfg.preProcCfg.dcEstResetMode' for the modes 2 & 3 (refer 'Image 2') and the DC subtraction is functioning as expected, but as I stated above I need to reset the accumulators at will (not restricting it to per chirp/per frame).

    As highlighted in 'Image 1' below I'm trying to use DCEST_RESET_MODE = 1, where should I set the DC_EST_RESET_SW register bit ?

    From 'Image 2' it is clear that I can't set the register bit in HWA parameter set, so should I try adding it as a part of  'commonCfg->configMask' as it is done for DC_EST_SHIFT as shown in 'Image 3', if yes please help me out in setting the relevant mask for it and other additional changes.

    Let me know if you need more details.

     Image 1 - from AWRL1432 Technical Reference Manual (Dec 2024 revised)
     Image 2 - from AWRL1432 Technical Reference Manual (Dec 2024 revised)
     Image 3 from hwa_dc_sub.c

    Regards,
    Deepan V

  • Hello,

    There is a function in hwa.c called HWA_softwareResetAccumulators()

    C:\ti\MMWAVE_L_SDK_05_05_02_00\source\drivers\hwa\v0\hwa.c

    This function should provide you with the functionality you are looking for. It also contains instructions on how to populate its parameters.

    Best,

    Gabriel

  • Hi Gabriel,

    Thanks for the suggestion.
    This is the one I was looking for, it could resolve the issue.

    Regards,
    Deepan