2025-07-04 1:13 AM
Hello,
I am trying to understand the memory allocation for the FDCAN, I am using a nucleo H723ZG.
With the latest CubeIDE 1.18.1 I seem to be able to configure 32 TX Buffers and 32 TX FIFOs:
However the message RAM mapping in AN5348 - Rev 5 shows that there are only a maximum on 32 for both Buffers and FIFOs:
Is there a mistake in the MX interface that should not allow more that 32 of Buffers + FIFOs combined, or the memory mapping has 2 sections of up to 32 elements for both buffers and FIFOs?
Thanks,
Marco
2025-07-04 2:12 AM - edited 2025-07-04 2:46 AM
Hello,
32 of Buffers + FIFOs combined.
Even HAL implements this assert in HAL_FDCAN_Init() that doesn't allow to have more then 32 of TxBuffersNbr+TxFifoQueueElmtsNbr:
assert_param(IS_FDCAN_MAX_VALUE((hfdcan->Init.TxBuffersNbr + hfdcan->Init.TxFifoQueueElmtsNbr), 32U));
I'm escalating the behavior to the CubeMx team.
Internal ticket number: 213460 (not accessible by the community users)