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.

TMS320F280025C: Problem CAN RX / TX

Part Number: TMS320F280025C
Other Parts Discussed in Thread: C2000WARE

Hi,

I’m trying to set up a CAN communication on my digital control system. I use the PCAN-View software to view my frames and send them (for testing).

By configuring the CAN without interrupting it works well (the timing of the frames is done via a delay), I now want to cadence the sending of frames via an interrupt by timer that works correctly when I only configure the interrupt for the CAN TX.

But now I want an interruption to be triggered when receiving a frame on CAN RX, is that possible? I may be setting the interrupt wrong?

Here is just a line of code :

CAN_setupMessageObject(CANA_BASE, 3, 0x100, CAN_MSG_FRAME_STD, CAN_MSG_OBJ_TYPE_TX, 0, CAN_MSG_OBJ_RX_INT_ENABLE, 8);

With this function and using interrupt by timer for CAN_TX, "CAN_MSG_OBJ_TX_INT_ENABLE" will be set or not ?



Thanks,

Damien