This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DS90UB960-Q1: Could not detect camera plug in but could only detect camera unplug

Part Number: DS90UB960-Q1

Hi team,

My customer has encountered an issue that when they unplug the camera, the 960 could send message/detect the unplug information and transmit it to SoC while when the camera is plugging in, the 960 could not detect and could not send an information to SoC 8155. The SoC 8155 pin 16(CAM_INTB) connected to our DS90UB960Q1 pin 6, SoC 8155 is monitoring the pin 16 (cam_INTB) status. Could you please kindly help to analysis the issue? Why could not detect the camera plug in but could detect the camera un plug? Thank you.

  • Hi team,

    Any update on this?

  • Hi Zirui,

    I am not sure what the issue is that is being described.  Are you able to share some more details or a diagram maybe?  Are you saying that when the camera is is unplugged that the entire module is unplugged including the serializer and you can still communicate with it?  If so it sounds to me like a mistake in the communications and you are talking to a module that is still connected by mistake.

    Regards,

    Nick

  • Hi Nick,

    I update the issue now and here is the simplify block diagram:

    Our idea is set the lock function to detect whether the camera is plugging in or unplugging. Therefore, we set the 0x10 register to be 0x81 so if the lock indicate we may think that the camera is plugging and if the lock is not indicated the camera is unplug. However, 

    No matter the camera is plugged in or unplugged, the terminal status of GPIO01 is always low voltage level. Is our configuration wrong to detect the camera plug in or out? Thank you.

  • Hello Zirui,

    Yes, The 960 has the ability to detect if the camera module is connected or not. You can set it on one of the GPIOs (via registers 0x0F and 0x10 - 0x18) to inform the processor if a camera module is disconnected. What is the value in register 0x0F (to enable/disable GPIOs to be inputs, you will have to disable to use as output)? Please check or set register 0x0F.

    Best,

    Shruti