Part Number: TMS320F280049
Hi,
Maybe this is due to my lack of knowledge of how to make this work but I've been trying to implement CCP on my TMS320F280049 and I'm failing miserably.
I have added the "CAN Calibration Protocol" block for C28x with the CCPconfig options.
My code builds fine and then the tool I have (at the moment) to test this is Pi Snoop (from Pi Innovo) which is a trial but I already informed myself with them and it should still allow me to monitor signals.
I can establish comms and see the DTO which is being sent by the chip "0x6FB" (the CCP IDs are greyed out in this software but it's just for displaying purposes, this is cyclically updating):
In my model I've defined the signals as canlib.Signal with storage class Daq_List_Signal_Processing and the parameters as tic2000demospkg.Parameter with storage class const_data_ramfuncs just as the example available "c28x_ccp_ert" but I'm using sldd data.
I can see the command on 0x6FA flickering between CONNECT (0x01), SHORT_UP (0x0F) and GET_S_STATUS(0x0D) but 0x6FB always replies "acknowledge / no error" (0xFF) with no error code (byte 1) and a (matching 0x6FA) rolling counter on byte 2.
My A2L has all the addresses defined correctly and the tool sees the correct addresses but can't somehow get an answer from the chip. I'm not sure if it's the tool or if I'm doing something wrong but I also cannot do CCP comms with the example code "c28x_ccp_ert", the behaviour is exactly the same.
I'm using eCAN A and tried both 500kbps and 1MBps just for the sake of it and neither worked, the behaviour is identical.
Here's my A2L in case you want to have a look:
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/171/CcuBrd_5F00_f28004x_5F00_ert.7z
Many thanks for your time, I hope you can give some suggestions.



