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

USB superspeed peripherals Forum Discussions

LuTr_1679866
Level 2
Level 2
First like received

Hello all,

   

In the cyu3mipicsi.h file, the mipi data format (CyU3PMipicsiDataFormat_t) is 0x7 for YUV422-10bit:

   

typedef enum CyU3PMipicsiDataFormat_t
{

   

..................

   

    CY_U3P_CSI_DF_YUV422_10 = 0x07      /**< YUV422 10-Bit Data type. CSI-2 Type 0x1F. \n
                                             24 Bit Output = 14'b0,P[9:0] \n
                                             16 Bit Output = 6'b0,P[9:0] \n
                                             Data Order: U1,Y1,V1,Y2,U3,Y3,V3,Y4....  */
} CyU3PMipicsiDataFormat_t;

   

But in the CX3 Technical Reference Manual Doc N°001-91492, it is stated in the CX3_DATA_FMT, Dataformat YUV422-10 bit b1001, while the b0111 is RESERVED.

   

So please, what is the correct data format value for YUV422-10bit ?

   

Thanks,

   

Ludovic

0 Likes
1 Solution
Keerthy
Moderator
Moderator
Moderator
50 solutions authored 25 solutions authored 10 solutions authored

It is an error in cyu3mipicsi.h file and will be corrected in the next FX3 SDK release.

As stated in CX3 TRM, the value corresponds to YUV422-10 bit format is 0x09. Please use the same in your project.

View solution in original post

0 Likes
2 Replies
Keerthy
Moderator
Moderator
Moderator
50 solutions authored 25 solutions authored 10 solutions authored

It is an error in cyu3mipicsi.h file and will be corrected in the next FX3 SDK release.

As stated in CX3 TRM, the value corresponds to YUV422-10 bit format is 0x09. Please use the same in your project.

0 Likes

Hello,

When sending my mipi configuration file using the CyU3PMipicsiSetIntfParams command with dataformat set at 0x09 for yuv_10bit I get an error code 0x70. This error code is not documented for this function, can you explain please?

Thanks,

Ludovic

0 Likes