Hi dears:
I have met some flexcan issues on my FPAG board
test enviroment : FPGA core frequency is 32M, flexcan peripheral clock and oscillator clock are both collect to 40M, the software is contiously send canfd frames:
1. when I configure a baudrate with 500K + 2M, there is no problem
2. when I configure a baudrate with 1M + 2M, there are some "unexpected can frames" occured on the bus (I use logic analyzer to watch them),
2.1 the canfd frames is send out as expected
2.2 the can frame is immediately(11 bits) followed by the canfd frame
2.3 flexcan will report bit error when send these can frames
3. when I configure a baudrate with 500K + 4M/5M, the TDC is on, and TDC offset is 3
there is only one frame send out, and there is no error report , I have watch the MB SRAM, the MB cs code is always "TX DATA," no update .
wish to hear from you, thanks !