I want to only use one CAN module, just Cana, not A and B. But every time that the CAN module transmits, the interrupt is serviced. This is done even though I do not enable TX interrupt (CAN_MSG_OBJ_TX_INT_ENABLE). As shown below I set no flags for Tx and enable Rx interrupt. These come straight from the can_ex3_eternal_transmit example, except I have changed them to both be CANA. Originally Rx was CANB. I took that example code and changed anything that said CANB to CANA. Everything works except the interrupt is serviced at every transmit, which I do not want. I don't want to use 4 pins (8, 10, 32, and 33) for CAN. So I want to only use one module but only let Rx trigger an interrupt.
CAN_setupMessageObject(CANA_BASE, TX_MSG_OBJ_ID, 0x95555555,CAN_MSG_FRAME_EXT, CAN_MSG_OBJ_TYPE_TX, 0, CAN_MSG_OBJ_NO_FLAGS, MSG_DATA_LENGTH);
CAN_setupMessageObject(CANA_BASE, RX_MSG_OBJ_ID, 0x95555555,CAN_MSG_FRAME_EXT, CAN_MSG_OBJ_TYPE_RX, 0,CAN_MSG_OBJ_RX_INT_ENABLE, MSG_DATA_LENGTH);