Part Number: TMS320F280049
Hi,
I understand that the CCP functionality is Mathworks responsibility but I was hoping you could shed some light on my issue as the software seems to behave properly but the hardware doesn't.
My Mathworks support request is here in high detail of what was tested and what wasn't: https://uk.mathworks.com/matlabcentral/answers/582761-tms320f280049-ccp-parameters-not-working?s_tid=srchtitle
In sum, I have managed to make CCP work, I can monitor the signals and I can change parameters, or at least partially.
The point that I think it may be a TI question is that in the following picture HOP_Doh_Do3_bool doesn't change GPIO9 if the source of this signal was modified via CCP:
OPP_HeartBeat_Pre_bool is cycling between 1 and 0 every second and the output GPIO9 works correctly, also cycling:
If I change, via CCP, OPPc_HeartBeat_bool_OvrEn_bool, then OPP_HeartBeat_bool assumes the value of OPPc_HeartBeat_bool_OvrVal_bool =0 and GPIO9 goes low.
If I change OPPc_HeartBeat_bool_OvrVal_bool to 1, then HOP_Doh_Do3_bool Goes back to true and so does GPIO9 but it doesn't go low again even with OPPc_HeartBeat_bool_OvrVal_bool and HOP_Doh_Do3_bool are both false.
Software wise OPPc_HeartBeat_bool_OvrEn_bool has no effect from the moment it goes true since even if I make it false, OPP_HeartBeat_bool doesn't follow OPP_HeartBeat_Pre_bool as it did initially before any override was changed.
I've been through memory allocation as I cannot understand how the switches stop working but maybe there's some other issue here since the GPIO simply doesn't follow what HOP_Doh_Do3_bool from the moment it goes through a switch.
All my parameters are on RAMGS_DATA which seems correct (Global shared RAM).
This seems to be related to the true value, from false to true it seems to be fine but not the other way around.
I would very much appreciate any suggestion.




