CanOpenSTM32 icon indicating copy to clipboard operation
CanOpenSTM32 copied to clipboard

CUBEMX for STM32H7 initialise issue

Open nickirani opened this issue 1 year ago • 1 comments

When setting up the FDCAN peripheral for STM32H7 through CUBE MX, the user must add a value to Tx Fifo Queue Elmts Nbr to allow transmission of data packets. Otherwise the check for free fifo level will fail constantly .

CO_driver_STM32.c .Line 259, if (HAL_FDCAN_GetTxFifoFreeLevel(((CANopenNodeSTM32*)CANmodule->CANptr)->CANHandle) > 0) will always evaluate to false otherwise

nickirani avatar Jul 19 '23 18:07 nickirani