Solved
TOlliBest answer
Senior
Nov 25, 2020 6:14 AM UTC
Hi,
It looks to me that you are not assigning any space for any kind of tx queue or buffer:
row ~378:
hfdcan1.Init.TxEventsNbr = 0;
hfdcan1.Init.TxBuffersNbr = 0;
hfdcan1.Init.TxFifoQueueElmtsNbr = 0;
hfdcan1.Init.TxFifoQueueMode = FDCAN_TX_FIFO_OPERATION;
You need to allocate how many elements are reserved for example for the queue. Otherwise there is no reservation in the RAM and no place for the function call to place the data in.
Same thing goes for rx fifo buffers.
Best regards

