FDCAN not working on Nucleo U545 boards?
I've tried both Zephyr RTOS and an STM32CubeIDE HAL project, and cannot get the FDCAN interface to work.
After performing requisite initialization steps, I add a packet to the TX FIFO. No error is returned, but no packet is transmitted. I can repeat this two more times, but on the fourth attempt, I will get an error because the TX FIFO is full.
I have attached a logic analyzer to the TX pin (PA12), and I do not see any output (the line remains in the same state). On Zephyr, I've instrumented the driver on Zephyr, and verified that no CAN interrupts are happening. UART is working (I get debug output).
Since that wasn't working, I used the STM32CubeIDE to create a new project and "borrowed" some CAN transmit code from another ST sample, and I see the same behavior -- the code enqueues a CAN message to the TX FIFO, waits a second, and repeats. On the fourth attempt, we get an error that the TX FIFO is full. I'm happy to provide this code if it helps. I've tried multiple U545 boards as well as two different CAN transceivers (ATA6571, MCP2542) and the behavior is the same. (I've attached the STM32CubeIDE ioc file as well as the main.c file -- I can provide more if it helps).
Any recommendations for what to try?
