Other Parts Discussed in Thread: C2000WARE
Hi Joseph,
I'm looking at the same example from the TI C:\ti\c2000\C2000Ware_4_01_00_00\driverlib\f28002x\examples\can\can_ex5_transmit_receive.c, I did small modification to be able to send and receive messages. Mainly I modified the OBJ ID (please see below) and remove the ##ifdef TRANSMIT
#define TX_MSG_OBJ_ID 1
#define RX_MSG_OBJ_ID 2
I'm using a vector case to send a frame at 100ms, with this setup I'm able to send and receive messages, however, I get interrupt errors in both Tx and Rx occasionally. Do you know why this is happening? Do I need to add extra checks before doing the Tx (CAN_sendMessage) ?
Thanks!