FDCAN not working properly
I am trying to enable FDCAN on STM32MP157C. I modified Linux Kernel (STM32MP15-Ecosystem-v2.0.0) and U-Boot, following the steps explained in the Developer Package guide. I get these messages, which are suggesting I setup everything correctly.
root@stm32mp1:~# dmesg | grep m_can
[ 3.032730] m_can_platform 4400e000.can: m_can device registered (irq=51, version=32)
[ 44.537911] m_can_platform 4400e000.can can0: bitrate error 0.3%
[ 44.542503] m_can_platform 4400e000.can can0: bitrate error 0.3%root@stm32mp1:/sys/kernel/debug/pinctrl/soc:pin-controller@50002000# cat pinconf-pins | grep CAN
pin 11 (PA11): alternate 9 (FDCAN1_RX) - push pull - floating - low speed
pin 12 (PA12): alternate 9 (FDCAN1_TX) - push pull - floating - low speedThe board seems to pass the internal loopback test as well (https://wiki.st.com/stm32mpu/wiki/How_to_send_or_receive_CAN_data#Hardware_self-test).
The problem is that I cannot get anything on the physical ports. What could have gone wrong?
