dear NXP experts:
I am trying to take use the DMA and enhance FIFO in FLEXCAN by EB and it seems ok but it was not totally OK.
1. I config the Enhanced FIFO cause CANFD is used
2. I enable both DMA and CAN0 interrupt
3. I list all the CAN message to be received and the CanId is assembled in the name of frame.
I tested the config and I find that DMA_ISR can be called only if 0x102 is sent by CANOE and DMA seems not work if 0x104 is sent because CAN interrupt routine is called.
I have some questions:
1. I wonder whether only item0 (0x102) can use enhanced FIFO and the following canid can only take use of message buffer(MB).
2. if the answer of "1" is no, any config error in my EB project? I tried to set several Filters in the 0x102 frame like 0x7f0 in the mask. yes, I the DMA_ISR can be called if 0x104 is sent. but because CANIF has some relationship with CAN like the snapshot below:
I can not do correct parse in function "Unpack_ABS_102h_20ms" if 0x104 also trigger the same callback function with 0x102.
so I have the question : only the first item of CANhardware Object can take use of FIFO?
thank you very much.