lpcware

LPC11C24 CAN BT register

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by CasperH on Mon Jan 30 05:54:42 MST 2012
Hi guys

I have a problem with my CAN bus, when I connect a CAN sniffer to my CAN bus, I get a CAN bus error within 2 to 9 messages. I'm not sure about my CAN initialization. The baudrate should be 250k and my init looks like this:

uint32_t ClkInitTable[2] = {
    0x00000005UL, // CANCLKDIV
    0x00000107UL  // CAN_BTR
};


Can anyone confirm that this is correct?

Best regards
Casper

Outcomes