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

cross mob
Oded
Level 1
Level 1
First solution authored 10 sign-ins First reply posted

Hi,

I need to use the mClk on the Denebola (CX3 RDK) for testing a sensor. According to the RTM changing the  /* uint16_t mClkCtl */  value in "cyu3mipicsi.c" from "0" should enable the clock. Still, I can not get it to operate...

If anyone has a clue I'd appreciate it.

following is the "cyu3mipicsi.c" content, which should have generated a clock of 24 MHz.

Thanks!

------------------------------------------------------------------------------------------------------------------------------------------


/* xxx_RAW10_Resolution0 : */
CyU3PMipicsiCfg_t ov5460_RAW10_Resolution0 =
{
CY_U3P_CSI_DF_RAW10, /* CyU3PMipicsiDataFormat_t dataFormat */
4, /* uint8_t numDataLanes */
1, /* uint8_t pllPrd */
69, /* uint16_t pllFbd */
0, /* CyU3PMipicsiPllClkFrs_t pllFrs */
CY_U3P_CSI_PLL_CLK_DIV_4, /* CyU3PMipicsiPllClkDiv_t csiRxClkDiv */
CY_U3P_CSI_PLL_CLK_DIV_4, /* CyU3PMipicsiPllClkDiv_t parClkDiv */
0x0203, /* uint16_t mClkCtl */
CY_U3P_CSI_PLL_CLK_DIV_4, /* CyU3PMipicsiPllClkDiv_t mClkRefDiv */
640, /* uint16_t hResolution */
50 /* uint16_t fifoDelay */
};

 

0 Likes
1 Solution
Oded
Level 1
Level 1
First solution authored 10 sign-ins First reply posted

SOLVED!

For the sake of others struggling with this issue-  

The clock only starts when you open a UVC  app and let the driver connect to your device!

For some reason, this is not mentioned anywhere I looked.

Regards,

 

Oded

View solution in original post

0 Likes
3 Replies
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted
0 Likes

Hi,

I did, nothing new am I missing something?

 

Thx

 

 

0 Likes
Oded
Level 1
Level 1
First solution authored 10 sign-ins First reply posted

SOLVED!

For the sake of others struggling with this issue-  

The clock only starts when you open a UVC  app and let the driver connect to your device!

For some reason, this is not mentioned anywhere I looked.

Regards,

 

Oded

0 Likes