CX3 interfacing for MIPI yuv device

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JeCh_4640591
Level 2
Level 2
First like received

Hi All.

I am new to CX3 RDK to make MIPI to USB device using ov5640.

I am trying to interface ov5640 with CX3 chip.

After imported the demo project of cycx_uvc_ov5640, I succeeded on compilation and running from RAM.

And the CX3 device could be detected as the camera device named as "cx3-uvc" in Windows Device Manager List.

However the camera preview does not work since the error comes from the below code. CyU3PMipicsiGpifLoad().

/* Configure the Fixed Function GPIF on the CX3 to use a 16 bit bus, and

     * a DMA Buffer of size CX3_APP_DATA_BUF_SIZE

     */

    status = CyU3PMipicsiGpifLoad(CY_U3P_MIPICSI_BUS_16, CX3_APP_DATA_BUF_SIZE);

    if (status != CY_U3P_SUCCESS)

    {

        CyU3PDebugPrint (4, "\n\rAppInit:MipicsiGpifLoad Err = 0x%x", status);

        CyCx3AppErrorHandler(status);

    }

The function returns the 0x46. (e.g. AppInit:MipicsiGpifLoad Err = 0x46).

0x46 means that the operation requested is not supported in current mode.

I don't know why it comes out.

Could anyone help me to figure out this problem?

I am using Denebola RDK board with OV5640 sensor.

Thanks

Best Regards,

JK Cha

0 Likes
1 Solution

Hello,

Please use Z11 setting for PMODE[2:0]. CX3 supports boot options that are mentioned in Table 2 (in Page 😎 of the following document.

https://www.cypress.com/file/133591/download

If you are using any other boot option other than these, then there are chances that you get errors in CyU3PMipicsiGpifLoad().

Please let me know which host application you are using for streaming the video.

Best Regards,

Jayakrishna

Best Regards,
Jayakrishna

View solution in original post

0 Likes
14 Replies