CAN module "stuck" in configuration mode!
I am using a PIC32MX575 and am trying to get the CAN module to work. I have read the CAN reference module and have some familiarity with CAN-Bus. So, I created a simple function to write the various configuration registers, following the examples in the reference manual closely.
I request a mode change to configuration, and that happens (confirmed via opmode). I then write a bunch of registers, and request loopback mode change. Reading back the opmode, it remains in 4 (configuration). I've even commented everything out, with just the mode changes remaining. Still refuses to come out of configuration mode.
I am using CAN1 module and there is a MCP2562 transceiver connected to the RX/TX lines. The transceiver is not connected to a CAN-Bus yet.
Anyone have any clues? From what I read, it should at least enter loopback mode...