I have modify kernel to enable flexcan on SabreSD board and I can find can0 when system boot up.
But when I try to bring up can0 with "ip link set can0 up type can bitrate 125000" I find two IRQ error from kernel message:
flexcan 2090000.can can0: writing ctrl=0x0e312005
flexcan 2090000.can can0: flexcan_set_bittiming: mcr=0x5980000f ctrl=0x0e312005
flexcan 2090000.can can0: flexcan_chip_start: writing mcr=0x7de2020d
flexcan 2090000.can can0: flexcan_chip_start: writing ctrl=0x0e31ac55
flexcan 2090000.can can0: flexcan_chip_start: reading mcr=0x6de2020d ctrl=0x0e31ac55
flexcan 2090000.can can0: Error Warning IRQ
flexcan 2090000.can can0: Error Passive IRQ
flexcan 2090000.can can0: bus-off
When I try to send packet from can0 by cansend, I can't measure any change from TX pin.
Does anyone know the problem of it?