Please advise on handling FDCAN Rxfifo.
I am trying to receive CAN FD and save the data to the SD card, but I am having a problem .
Create and deliver an event structure in HAL_FDCAN_RXFifo0Callback, Receive the structure from the application area and call HAL_FDCAN_GetRxmessage. In this case , RxFIFOFULL accur .
IF HAL_FDCAN_GetRxmessage is called from callback, RXFIFOFULL does not occur.
However i want to keep the callback statement as short as possible , Also idon't understand why tihs is a problem in the first case.
The place where HAL_FDCAN_GetRxMessage is called is cantoQueue().
There is no problem if place this function in callback rather than app()
.
