Other Parts Discussed in Thread: AWR1843
Hello,TI's engineer:
I meet some question about awr1843 demo in sdk 3.4.0.3 which function is DPC_ObjDet_preStartConfig,i use the HWA version:
This function is allocating L3ramObj and CoreLocalRamObj memory,when allocate CoreLocalRamObj ,we should remember pool position,after DPC_ObjDet_rangeConfig function,rewind to the scratch beginning.Why the CoreLocalRamObj memory do not increase the address?Until DPC_ObjDet_AoAconfig, DPC_ObjDet_rangeConfig && DPC_ObjDet_staticClutterConfig && DPC_ObjDet_CFARCAconfig && DPC_ObjDet_dopplerConfig both have the same address about their scratch memory?
However i have some doubt about it.See the next picture:
When DPC_ObjDet_rangeConfig is called, a further function DPC_ObjDet_MemPoolAlloc is called:
windowBuffer is allocated(This is a address allocate from CoreLocalRamObj),once DPC_ObjDet_rangeConfig is finished,the DPC_ObjDet_MemPoolSet function make the CoreLocalRamObj's currAddr rewind to the scratch beginning,then DPC_ObjDet_staticClutterConfig is called.So the windowBuffer's(rangeCfg.staticCfg.window) memory is overwritten.What remedy do I have for not finding follow-up code.Why???
Thanks a lot!
BRYANT