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

USB superspeed peripherals Forum Discussions

subk1234
Level 2
5 questions asked First like given 5 sign-ins
Level 2

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 500 solutions authored 1000 replies posted 750 replies posted
Moderator

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 500 solutions authored 1000 replies posted 750 replies posted
Moderator

Hello,

Please follow the below sequence

CyU3PMipicsiInitializeI2c

CyU3PMipicsiInitializeGPIO

CyU3PMipicsiInitializePIB

CyU3PMipicsiInit >> Initializes the MIPI Block of CX3

CyU3PMipicsiSetSensorControl

Regards,
Rashi
0 Likes