With some more debugging it looks like the STM32 CAN initialization fails in the STM32 HAL code: At HAL_CAN_Init() the loop waiting for the INAK bit in the CAN_MSR register to be reset when the initialization mode of the CAN controller is left. This works with another program (not using Zephyr) on the same board so I do not expect that my hardware is broken.