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.

Clock missing detector

Other Parts Discussed in Thread: DM3730

Hi all,

I am working in a DM3730 board with a CSI-2 interface. This is a dump of  csi and csiphy registers:

0x480BD800 : 0x30
0x480BD810 : 0x1000
0x480BD814 : 0x1
0x480BD818 : 0x0
0x480BD81C : 0x7F01
0x480BD840 : 0x1
0x480BD844 : 0x0
0x480BD848 : 0x1B
0x480BD84C : 0x0
0x480BD850 : 0x6B0008BA
0x480BD854 : 0x0
0x480BD858 : 0x0
0x480BD85C : 0x0
0x480BD860 : 0x7FFFFFF
0x480BD864 : 0x0
0x480BD868 : 0x0
0x480BD86C : 0x7FFF61FF
0x480BD870 : 0x10189
0x480BD874 : 0xAB
0x480BD878 : 0x0
0x480BD87C : 0x0
0x480BD880 : 0x0
0x480BD884 : 0x2
0x480BD888 : 0x0
0x480BD88C : 0x0
0x480BD970 : 0x427
0x480BD974 : 0xF202E10E
0x480BD978 : 0xFF

As you can see, the clock missing dector issues an error. Even if I set to 1 HSCLOCKCONFIG in CSIPHY_REG0, CLOCK_MISS_DETECTOR_STATUS is set. I have search about this, but I haven't found any information about this error. What is the clock missing detector?

Thanks in advance.

  • Hi Andrew,

    If the HSCLOCKCONFIG bit of the CSIRHY_REG0 is set (Disable clock missing detector) then the clock missing detector would not be successful. Therefore the CLOCK_MISS_DETECTOR_STATUS bit of the CSIRHY_REG1 should be unsuccessful and naturally the value will be 1 - clock missing detector. The behaviour which you observe seems normal.

    BR

    Tsvetolin Shulev

  • Thanks Tsvetolin,

    That explains why I get a 1 in the CLOCK_MISS_DETECTOR_STATUS when I disable the detector. However, I also get a 1 when I enable the detector, so I think that it suppose that this condition is being detected properly. My problem is that I am not sure about the meaning of clock missing detector since there is clock in the lane (I have measured it with an oscilloscope).  If you could explain a little about this clock missing detector error, I would be able to fix it.

    Regards,

    Andrew