ADV7280A-M MIPI output abnormal

Dear Specialist,

       We've debugging ADV7280A-M for month. Now we can get MIPI output following the web documents guidance. However, seems the image is mirror or need to be rotated.

Can you advice how to correct the image. Does modify any register can help, or it can only be solved from MCU side. 

Parents
  • +1
    •  Analog Employees 
    on Nov 5, 2020 7:50 AM 2 months ago

    Hi,

      As per expert comment "Video decoder digitizes the incoming analog video. It does not reverse or flip the image.
    In some designs the processor may be needed to reverse the image depending on the input/camera usage. For example reversing camera vs. frontview camera"

     Please note that ADI does not have a chip to do this or any commercially available chips that does.  

    Thanks,

    Poornima

  • Dear Poornima,

             Thanks for replay, we debug this chip for days, we are very colsed to successfully get MIPI out with ADV7280A-M. 

    Now only one confuse, during preview occasionally the image crash as below, can you advice the possible reason of this phenomenon.

  • 0
    •  Analog Employees 
    on Nov 12, 2020 1:25 PM 2 months ago in reply to songyantao

    Hi,

     Just disable the I2P configuration in register 0x55 - 84 55 00 and give the 480p/576p progressive input in source. Then keep the remaining configuration as same .


     Thanks,

     Poornima

  • hi sir

       

      It can't prievew, when I change the register 0x55 (0x80)  to 0x55 (0x00) , logcat display as flowing:

    01-01 09:00:44.863  1557  5363 E ComipCamera: snapshot dqBuf: v4l2_dqbuf error,ret:1,Success
    01-01 09:00:44.863  1557  5363 E ComipCamera: snapshot int android::BufferManager::v4l2_dqbuf(int, unsigned int*, v4l2_buf_type, v4l2_memory)(365)VIDIOC_DQBUF failed (3) times!
    01-01 09:00:44.863  1557  5358 E ComipCamera: preview dqBuf: v4l2_dqbuf error,ret:1,Success
    01-01 09:00:44.863  1557  5358 E ComipCamera: preview int android::BufferManager::v4l2_dqbuf(int, unsigned int*, v4l2_buf_type, v4l2_memory)(365)VIDIOC_DQBUF failed (4) times!

  • hi sir

     Oh, sorry!   I should config the size 720*288 when I disable the I2P !   But , I find the fps is still 50, I think it should be 25 fps ?  Can you explain this issue ? tks!

  • 0
    •  Analog Employees 
    on Nov 16, 2020 12:44 PM 2 months ago in reply to songyantao

    Hi,

    Interlaced: In early days of television, interlacing was used to reduce the amount of information sent for each image. By transferring the odd-numbered lines, followed by the even-numbered line, the amount of information sent for each image was halved. So that  fps also be halved
     So for the resolution 720*288, when disable  the i2p the frame rate should be 25 fps.

    Note: I2P works by 'line-doubling' i.e. outputting the same line twice and doubling the MIPI CSI-2 clock speed. Please note that In interlaced mode the ADV7282-M outputs with a 216 Mbps data rate (MIPI clock frequency 108 MHz).
    In progressive mode (i.e. I2P mode on) the ADV7282-M outputs a 432 Mbps data rate ( MIPI clock frequency 216 MHz).

    Thanks,

    Poornima

  • hi sir

         -01 08:16:59.260  1548  5677 D CameraHardwareComip: preview frames : 608, fps : 50
    01-01 08:17:02.280  1548  5677 D CameraHardwareComip: preview frames : 759, fps : 50
    01-01 08:17:05.300  1548  5677 D CameraHardwareComip: preview frames : 910, fps : 50
    01-01 08:17:08.320  1548  5677 D CameraHardwareComip: preview frames : 1061, fps : 50
    01-01 08:17:11.340  1548  5677 D CameraHardwareComip: preview frames : 1212, fps : 50
    01-01 08:17:14.361  1548  5677 D CameraHardwareComip: preview frames : 1363, fps : 50
    01-01 08:17:17.380  1548  5677 D CameraHardwareComip: preview frames : 1514, fps : 50
    01-01 08:17:20.400  1548  5677 D CameraHardwareComip: preview frames : 1665, fps : 50
    01-01 08:17:23.421  1548  5677 D CameraHardwareComip: preview frames : 1816, fps : 50
    01-01 08:17:26.440  1548  5677 D CameraHardwareComip: preview frames : 1967, fps : 50
    01-01 08:17:29.460  1548  5677 D CameraHardwareComip: preview frames : 2118, fps : 50
    01-01 08:17:32.479  1548  5677 D CameraHardwareComip: preview frames : 2269, fps : 50
    01-01 08:17:35.500  1548  5677 D CameraHardwareComip: preview frames : 2420, fps : 50
    01-01 08:17:38.520  1548  5677 D CameraHardwareComip: preview frames : 2571, fps : 50
    01-01 08:17:41.539  1548  5677 D CameraHardwareComip: preview frames : 2722, fps : 50
    01-01 08:17:44.560  1548  5677 D CameraHardwareComip: preview frames : 2873, fps : 50
    01-01 08:17:47.579  1548  5677 D CameraHardwareComip: preview frames : 3024, fps : 50
    01-01 08:17:50.599  1548  5677 D CameraHardwareComip: preview frames : 3175, fps : 50

      I change the mipi clk 108M , but the fps is still 50  in disabled i2P mode ? what should I do? 

                                                                                                                                 tks

Reply
  • hi sir

         -01 08:16:59.260  1548  5677 D CameraHardwareComip: preview frames : 608, fps : 50
    01-01 08:17:02.280  1548  5677 D CameraHardwareComip: preview frames : 759, fps : 50
    01-01 08:17:05.300  1548  5677 D CameraHardwareComip: preview frames : 910, fps : 50
    01-01 08:17:08.320  1548  5677 D CameraHardwareComip: preview frames : 1061, fps : 50
    01-01 08:17:11.340  1548  5677 D CameraHardwareComip: preview frames : 1212, fps : 50
    01-01 08:17:14.361  1548  5677 D CameraHardwareComip: preview frames : 1363, fps : 50
    01-01 08:17:17.380  1548  5677 D CameraHardwareComip: preview frames : 1514, fps : 50
    01-01 08:17:20.400  1548  5677 D CameraHardwareComip: preview frames : 1665, fps : 50
    01-01 08:17:23.421  1548  5677 D CameraHardwareComip: preview frames : 1816, fps : 50
    01-01 08:17:26.440  1548  5677 D CameraHardwareComip: preview frames : 1967, fps : 50
    01-01 08:17:29.460  1548  5677 D CameraHardwareComip: preview frames : 2118, fps : 50
    01-01 08:17:32.479  1548  5677 D CameraHardwareComip: preview frames : 2269, fps : 50
    01-01 08:17:35.500  1548  5677 D CameraHardwareComip: preview frames : 2420, fps : 50
    01-01 08:17:38.520  1548  5677 D CameraHardwareComip: preview frames : 2571, fps : 50
    01-01 08:17:41.539  1548  5677 D CameraHardwareComip: preview frames : 2722, fps : 50
    01-01 08:17:44.560  1548  5677 D CameraHardwareComip: preview frames : 2873, fps : 50
    01-01 08:17:47.579  1548  5677 D CameraHardwareComip: preview frames : 3024, fps : 50
    01-01 08:17:50.599  1548  5677 D CameraHardwareComip: preview frames : 3175, fps : 50

      I change the mipi clk 108M , but the fps is still 50  in disabled i2P mode ? what should I do? 

                                                                                                                                 tks

Children