Original Attachment has been moved to: canopen_onchip.zip
/* Initialize CAN Controller */ uint32_t ClkInitTable[2] = { 0x00000000UL, // CANCLKDIV 0x00001C57UL // CAN_BTR }; |
//Initialize CAN Controller 48MHz-1000kbps uint32_t ClkInitTable[2] = { 0x00000000UL, //CANCLCLKDIV -> div: 0 0x00002BC2UL, //CAN_BTR -> BRP: 3, Quanta: 16, Seg1: 12, Seg2: 3, SJW: 3, Sample 81% }; |