STM32MP1 FDCAN 1 or 2 not working
I am configured both the FDCAN interfaces on the STM32MP1 discovery board with the settings below using STM32CubeMX.
FDCAN1: PA11 (RX) PA12 (TX)
FDCAN2: PB12 (RX) PB13 (TX)
But I can't seem to get any data from either interface. I have a logic analyzer connected and have verified that there are packets going to the discovery board but candump doesn't show anything and cansend doesn't seem to be sending out any frames.
I also use the following command to turn on each interface.
ip link set can0 type can bitrate 500000
ifconfig can0 up
Am I missing something in the settings?
Thanks,
