Content originally posted in LPCWare by Caradhras on Tue Apr 24 07:08:14 MST 2012
Is this a valid configuration for Sample Point 87,5% and 500 Kbits:
uint32_t ClkInitTable[2] =
{
// 500 kbit/s
0x00000000UL, // CANCLKDIV
0x001C0005UL // CAN_BTR
};
I find it hard to understand, how the bitrates are correctly calculated. I ve got the C_CAN-Manual and all, but i just want working timings....arghs.:confused:
My theory is, that the timings of the CAN-Nodes silghtly differ, so most of the time, the bus works and sometimes, i get errorframes. At a certain point the controller resigns and recieives no more messages.