Skip to content

Camera is not working anymore on frdm_mcxn_947 #3

@ngphibang

Description

@ngphibang

I tried zephyr v4.1.0 and hal nxp at fad8c6d49c2bc22c2056b291f82803e8da701806 (just before sdk next gen) where there is no recent change in the video system on the Zephyr side. The camera ov7670 and smartdma does not work. The smartdma cannot dequeue the buffer (no bug but no frame to dequeue), it stucks at https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/video/video_mcux_smartdma.c#L176

To reproduce:

west build -p -b frdm_mcxn947/mcxn947/cpu0 samples/drivers/video/capture -DCONFIG_DEBUG_OPTIMIZATIONS=y
west flash

The problem is found on Zephyr side but I think there is something changed on the SDK side (driver fsl_smartdma.c ?)

@zejiang0jason

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions