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.

C2000WARE: program issue

Part Number: C2000WARE
Other Parts Discussed in Thread: TMS320F28375S,

Hi experts,

A student customer has a software program issue, he can not post thread in E2E forum.
could you please support it?

I'm starting to learn about Controller Area Network (CAN) with TMS320F28375S using C2000Ware examples.
I was successful with Projects "can_loopback_cpu01" and "can_loopback_interrupts_cpu01".
However, when testing with Project "can_external_transmit_cpu01", there is an error.
I discovered that when CANA transmits the signal, DSP goes to the interrupt "canbISR" function 16 times.
Evidence is that the variable "txMsgCount" just increased by 1 (only 1 data transmitted),
the variable "rxMsgCount" has suddenly increased to 16, leading to program errors.
Please see image 1.
Then I comment the lines 270 to ignore the error,
so CCS can run without error. But "rxMsgCount" still stays at 16,
meaning that the DSP did not enter the interrupt "canbISR" function again. Please see image 2.

[image1]

[image2]



Thank you for your suggestions.
Regards,