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.

CAN interrupt handler



I'm doing programming on the CAN boosterpack for the tivac Launchpad, the simple_tx.c and it is saying that

I have to add the INT_CAN0 - CANIntHANDLER to the vector table

Now I did everything I know but still getting the error that INT_CAN0 is undefined


How to overcome this??

  • Hi,

       There are two ways to register your CANIntHandler at vector table;

       1. Setup the CANIntHandler at your startup file. You can see how this is done at Tivaware example programs like timer, interrupts, and uart_echo.

       2. Use the CANIntRegister C API at your main C file. See how it is set at the Tivaware Peripheral Driver Library Users Guide.

    - kel