AnsweredAssumed Answered

Nvic Interrups of FlexCAN1

Question asked by Ivan Robles on Jul 30, 2013
Latest reply on Aug 27, 2013 by Monica Arvizu

I´m trying to enable the Nvic Interrupts but I have a problem. The Interrupt never set.  I don´t know if I need to enable something or How can I fix it ?

 

I enabled the Nvic Interrupts of this way:

 

NVICISER1 |= 1<<(37 % 32);       Message buffer interrupt

NVICISER1 |= 1<<(38 % 32);      Bus Off

NVICISER1 |= 1<<(39 % 32);     Error interrupt

NVICISER1 |= 1<<(40 % 32);     Tx warning

NVICISER1 |= 1<<(41 % 32);     Rx warning

NVICISER1 |= 1<<(42 % 32);     Wake up

 

and I put these interrupts in the vector table but they never set.

Outcomes