Setting MIPI_CAM_PWDN & MIPI_CAM_RST

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

cross mob
subk1234
Level 2
Level 2
10 questions asked 10 sign-ins 10 replies posted

Hi,

 I am using ECON Denebola CX3 Development Kit. I am using a peripheral for which I need to control MIPI_CAM_PWDN and MIPI_CAM_RST. After calling CyU3PMipicsiInitializeI2c(), CyU3PMipicsiInitializeGPIO (), CyU3PMipicsiInitializePIB (), I am calling the following function to set MIPI_CAM_PWDN and MIPI_CAM_RST.

CyU3PMipicsiSetSensorControl(CY_U3P_CSI_IO_XRES, CyTrue); // Set MIPI_CAM_RST to High
CyU3PMipicsiSetSensorControl(CY_U3P_CSI_IO_XSHUTDOWN, CyTrue); // Set MIPI_CAM_PWDN  to High

Is this the correct way? On the HUD E-Con Breakout Board, I checked TP_SHUTDN using a logic analyzer, but I don't see this line going High.

Is the above CyU3PMipicsiSetSensorControl() call the right way to set the MIPI_CAM_PWDN and MIPI_CAM_RST lines?

Thanks for your help.

Regards,

Subramanyan

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please follow the below sequence

CyU3PMipicsiInitializeI2c

CyU3PMipicsiInitializeGPIO

CyU3PMipicsiInitializePIB

CyU3PMipicsiInit >> Initializes the MIPI Block of CX3

CyU3PMipicsiSetSensorControl

Regards,
Rashi

View solution in original post

0 Likes
1 Reply
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please follow the below sequence

CyU3PMipicsiInitializeI2c

CyU3PMipicsiInitializeGPIO

CyU3PMipicsiInitializePIB

CyU3PMipicsiInit >> Initializes the MIPI Block of CX3

CyU3PMipicsiSetSensorControl

Regards,
Rashi
0 Likes