Picture1 : Set flexcan1 to fifo receive mode and dma send mode
nmyzer_1-1709108959286.png
Picture 2 Set flexcan2 to fifo receive mode and dma send mode
nmyzer_0-1709108939478.png
Picture 3
nmyzer_2-1709109079335.png
Picture 4
nmyzer_3-1709109113896.png
But when I downloaded the program to the chip, when can data come , it got stuck in the image below。
Picture 5 Where the program stuck
nmyzer_4-1709109215488.png
However, when I changed the send mode to interrupt mode, the program could run, but when sending multiple CAN data, some CAN data frames would be missed. Unless I insert a 1ms delay function after each CAN send data frame.(Because I set up 16 filters, MB0 to 5 is occupied by data frames, MB6 to 9 is occupied by filters, so I use the sending mailbox MB10 to MB15)
I would like to know why FLEXCAN data frames cannot be sent in dma mode, please kindly ask NXP technical staff to help answer it, thank you!