Hello,
I found an other problem on this "flexcan_pnt_library.c". The CAN Bus 1 was not working on my board due to a wrong imsr declaration in the library :
Was :
/*FlexCAN_1 : mscr |mscr_value | imsr | imscr_value*/
static can_pinMux pinMux_1_TxD[] = { { 14, 0x32810001, 0, 0 } };
static can_pinMux pinMux_1_RxD[] = { { 15, 0x30080000, 32, 0x00000001 },
{ 17, 0x30080000, 32, 0x00000002 } };
Sould be :
/*FlexCAN_1 : mscr |mscr_value | imsr | imscr_value*/
static can_pinMux pinMux_1_TxD[] = { { 14, 0x32810001, 0, 0 } };
static can_pinMux pinMux_1_RxD[] = { { 15, 0x30080000, 33, 0x00000001 },
{ 17, 0x30080000, 33, 0x00000002 } };
If you can confirm it :smileywink: