Other Parts Discussed in Thread: TIDM-02009
Tool/software:
TI team,
We are working in a project similar to the 'tinv_F28379D', but I'm having some issues with the code that should run in the CLA. My linker file almost the same as the one from the 'tinv_F28379D'. When I compile the 'tinv_F28379D' project I can see some of the functions called by the TINV_runISR1_lab7() function inside the Cla1Task1() are load into the RAMLS memory allocated for the Cla1Program as showed in the following image.
In our project we do the same for the CLA Setup as in the 'TINV_HAL_setupCLA()', and I have confirmed that the CLA works when I have minimal functions called in the Cla1Tak1() function, but I don't see any other functions loaded into the Cla1Prog as can be seen in the following image.
The functions that run in my Cla1Task1() are similar that the ones in the 'tinv_F28379D' project, but mine is not working. The following lines are causing the CLA to stop working.
SPLL_1PH_SOGI_run(&spll1, pfc_ac_vol_sensed_pu); ... gi_controller_out = GI_RUN(&gi_controller, pfc_ac_cur_sensed_pu, pfc_ac_cur_ref_inst_pu); pfc_dutyPU = (gi_controller_out + (pfc_ac_vol_sensed_pu * ref_idx)) / (pfc_vBus_sensed_pu); ... if(pfc_vBusMeasBuffIndex >= 10) pfc_vBusMeasBuffIndex = 0; ...
I would appreciate your feedback so I can get this project working.
Best,
Wilson
