diff --git a/arch/arm64/src/imx9/imx9_flexcan.c b/arch/arm64/src/imx9/imx9_flexcan.c index 34e05b6de75f3..3ed8f39336a9e 100644 --- a/arch/arm64/src/imx9/imx9_flexcan.c +++ b/arch/arm64/src/imx9/imx9_flexcan.c @@ -2051,6 +2051,12 @@ int imx9_caninitialize(int intf) return -EAGAIN; } + /* Disable - enable cycle */ + + modifyreg32(priv->base + IMX9_CAN_MCR_OFFSET, 0, CAN_MCR_MDIS); + up_udelay(100); + modifyreg32(priv->base + IMX9_CAN_MCR_OFFSET, CAN_MCR_MDIS, 0); + /* Initialize the driver structure */ priv->dev.d_ifup = imx9_ifup; /* I/F up (new IP address) callback */