STM32MP157: CAN does not receive anything
Hello,
I am using a STM32MP157C development board from Myirtech and trying to interface the board with a CAN device.
I am able to bring up the can0 interface. It can send data, I can see it from oscilloscope over Can Hi and Lo pins. The dmesg output is below:
[ 1.687071] can: controller area network core (rev 20170425 abi 9)
[ 1.687246] can: raw protocol (rev 20170425)
[ 1.687258] can: broadcast manager protocol (rev 20170425 t)
[ 1.687277] can: netlink gateway (rev 20190810) max_hops=1
[ 1.846934] stm32-dma 48000000.dma: no dma pool: can't use MDMA: 0
[ 1.849379] stm32-dma 48001000.dma: no dma pool: can't use MDMA: 0
[ 4.300816] m_can_platform 4400e000.can: m_can device registered (irq=54, version=32)
...
[ 138.115515] m_can_platform 4400e000.can can0: bitrate error 0.3%
[ 138.115550] m_can_platform 4400e000.can can0: bitrate error 0.3%
[ 140.445788] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
But when the device on the can bus sends data, the board does not receive anything. (I am checking by using candump can0)
Any help would be appreciated.
Thank you.
Best regards,
Mert
