Re: dsPIC33EV256GM106 _C1Interrupt never being called
The reference manual chapter on the CAN module MUST be read because the peripheral is not simple, at all. The manual has an entire section just for interrupts which describe the logic and how to configure the interrupt.
To get an interrupt for reception, more or less..
while the module is in configuration mode,
set up the filters
set up the fifos
set up the interrupt conditions for the filters and the fifo
enable the interrupt contidions for reception
enable the general interrupt in the can module
enable the interrupt in the interrupt controller
then you can't force clear the interrupt flags in the can module, the only way to clear them is to remove the cause of interrupt, so in your case you will have to for example clear the rx fifo by reading and handling all frames
but read the manual. read the manual. read the manual. Can't help you if you don't know how the module works