Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

[BUG] CSI2-RX does not work after having deinitialized and initialized #213

@trunghieulenxp

Description

@trunghieulenxp

Describe the bug

To Reproduce
After having called function in fsl_mipi_csi2rx.c void CSI2RX_Deinit(MIPI_CSI2RX_Type *base) (https://github.com/nxp-mcuxpresso/mcux-sdk/blob/6958175a32bb12384e3635e28343c33daa3b2a42/drivers/mipi_csi2rx/fsl_mipi_csi2rx.c#L250)

and when we call again the function void CSI2RX_Init(MIPI_CSI2RX_Type *base, const csi2rx_config_t *config) (https://github.com/nxp-mcuxpresso/mcux-sdk/blob/6958175a32bb12384e3635e28343c33daa3b2a42/drivers/mipi_csi2rx/fsl_mipi_csi2rx.c#L220)

The module is halted completely. We have inspected the code, and we found that by removing:
MIPI_CSI2RX_SoftwareReset(base, true) (https://github.com/nxp-mcuxpresso/mcux-sdk/blob/6958175a32bb12384e3635e28343c33daa3b2a42/drivers/mipi_csi2rx/fsl_mipi_csi2rx.c#L254)

We can deinit and init the module without problem. However, this is just a workaround.

  • Environment (please complete the following information):
    • Tag/Commit hash: 6958175
    • Toolchain:
    • Board/SoC: IMXRT 1170 EVKB
    • Example: samples/video/capture (zephyr os)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions