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.