Hi there, I have problems setting up the two CAN ports on the MCBSTM32C demo board. I got them to work in loopback mode but in normal mode the INAK bit doesn't set itself to 0.
In the manual it says that the hardware has to monitor 11 consecutive recessive bits to initialise. How to you sent the bits to the port if none of the CAN ports are working? Do I have to set up CAN1 in loopback mode, send 11 bits to CAN2, switch CAN1 to normal mode and then use CAN2 to send 11 bits to CAN1?
The other possibility might be that I didn't set up the CAN ports correctly. Has anybody got an example how to set up the clocks and all the other registers to make CAN1 and CAN2 work?
Thanks, Karsten
I'm assuming the 11 consecutive recessive bits have to be flanked by dominant bits.
Why?
Otherwise not sending anything would be sufficient to synchronise the CAN port.
What do you assume it would have to synchronize with?
Is this correct?
No.