Post Go back to editing

ADV7281M MIPI OUTPUT signal only has brightness ,no color

Thread Summary

The user is experiencing issues with the MIPI output of the ADV7281M, where only the luminance signal is present and no color. The final answer suggests checking the FSC_LOCK bit to ensure the ADV7281M has locked to the color burst, removing any external low-pass filters, and adjusting the chroma filter controls. Accompanying answers recommend verifying the crystal frequency, disabling the color kill function, and ensuring the color subcarrier amplitude is above 14.275mVpp.
AI Generated Content
Category: Software
Product Number: ADV7281M, ADV7281, ADV7281

Hi Teams,

Thanks for your support, I has one question about the mipi output of the ADV7281M. 

Question:

The CVBS signal is connected to the AIN1 channel. The MIPI signal output only has the luminance signal but no color as the follow figure. Could you hlep to give the debug commont.thanks. Also, could you help to review the design as the follow, thanks.

code:

    adv7281_write(sensor, 0x0F, 0x80);//42 0F 80 ; Reset ADV7281M

    usleep_range(10000, 11000);//delay 10 ; Wait 10ms

    adv7281_write(sensor, 0x0F, 0x00);//42 0F 00 ; Exit Power Down Mode

    adv7281_write(sensor, 0x52, 0xCD); //42 52 CD ; AFE IBIAS

    adv7281_write(sensor, 0x00, 0x00);//42 00 00 ; INSEL = CVBS in on Ain 1

    adv7281_write(sensor, 0x0E, 0x80);//42 0E 80 ; ADI Required Write

    adv7281_write(sensor, 0x9C, 0x00);//42 9C 00 ; Reset Current Clamp Circuitry [step1]

    adv7281_write(sensor, 0x9C, 0xFF);//42 9C FF ; Reset Current Clamp Circuitry [step2]

    adv7281_write(sensor, 0x0E, 0x00);//42 0E 00 ; Enter User Sub Map

    adv7281_write(sensor, 0x80, 0x51);//42 80 51 ; ADI Required Write

    adv7281_write(sensor, 0x81, 0x51);//42 81 51 ; ADI Required Write

    adv7281_write(sensor, 0x82, 0x68);//42 82 68 ; ADI Required Write

    adv7281_write(sensor, 0x17, 0x41);//42 17 41 ; Enable SH1

    adv7281_write(sensor, 0x03, 0x4E);//42 03 4E ; Power down unused pads

    adv7281_write(sensor, 0x04, 0x57);//42 04 57 ; Power-up INTRQ pin

    adv7281_write(sensor, 0x13, 0x00);//42 13 00 ; Enable ADV7281M for 28_63636MHz crystal

    adv7281_write(sensor, 0x1D, 0xC0);//42 1D C0 ; Tri-State LLC output driver

    adv7281_write(sensor, 0xFE, 0x88);//42 FE 88 ; Set CSI Map Address

 

    adv7281_44_write(sensor, 0xDE, 0x02);//88 DE 02 ; Power up MIPI D-PHY

    adv7281_44_write(sensor, 0xD2, 0xF7);//88 D2 F7 ; ADI Required Write

    adv7281_44_write(sensor, 0xD8, 0x65);//88 D8 65 ; ADI Required Write

    adv7281_44_write(sensor, 0xE0, 0x09);//88 E0 09 ; ADI Required Write

    adv7281_44_write(sensor, 0x2C, 0x00);//88 2C 00 ; ADI Required Write

    adv7281_44_write(sensor, 0x00, 0x00);//88 00 00 ; Power up MIPI CSI-2 Tx [All ADV7281-M writes complete]

  • Hi,

      Please ensure with below things,

          1. Kindly check whether the Crystal/Oscillator is outputting 28.63636MHz.

          2. Check if the FSC_lock bit (User Map register 0x10 bit[2]) is high. This bit indicates that the ADV728x has locked correctly to the color subcarrier.

          3. ADV728x may not work for poor video signals. If the color burst is below that percentage of the standard's value then the color will be killed, this will happen due to weak signal. If the color subcarrier is below 14.275mVpp, then the ADV728x will not be able to lock to the color subcarrier and it will output a black and white image.

          Please disable or change the threshold for the color kill function. The color kill function forces the ADV728x into black and white or grey output if the amplitude of the color subcarrier is too small.

         Kindly note that, 'CKILLTHR[2:0]' bits allow the user to select a threshold for the color kill function. The threshold applies only to QAM-based (NTSC and PAL) or FM-modulated (SECAM) video standards.

         To enable the color kill function, the CKE bit must be Set (CKE, Address 0x2B[6]). For the 000, 001, 010, and 011 settings, chroma demodulation inside the ADV728x may not work satisfactorily for poor input video signals So accordingly change the CKILLER register.

        

    Note: The color kill algorithm can be disabled or its threshold set at a higher value.
              If color kill is enabled and the color carrier of the incoming video signal is less than the threshold for 128 consecutive video lines, color processing is switched off (black and white output).
              To switch the color processing back on, another 128 consecutive lines with a color burst greater than the threshold are required.

              If the amplitude of the color subcarrier is too low then the ADV7280 will never be able to lock to it. They could try using an amplifier to boost the signal. Also try replacing the resistor divider circuit on the ADV7280 with a single 75 Ohm resistor to ground. This will increase the amplitude of the signal to the ADV7280.

    Thanks,

    Poornima

  • Hi,

     Kindly note that, If you are not using a standard CVBS signal then it cannot be guaranteed that the ADV728x will lock to it so please check the 'FSC_LOCK' bit and it indicates that the ADV728x has locked to the color bust. It is a more reliable indication that the ADV728x has locked to a color burst.

    1. If you have any external low pass filtering blocks connected to the input to the ADV728x, kindly remove them. These filters could be attenuating the higher frequency color information. Note that the ADV728x has an internal low pass filter with a 10Mhz cutoff (Please check the "Antialias filters" section of the ADV728x hardware manual).

    2. Also, Try to force your backend SOC that is receiving the output from the ADV728x to only output video when the 'IN_LOCK and FSC_LOCK' bits are high.

    3. Try adjusting the chroma filter controls and turn off the chroma AGC and manually change the chroma gain control register, CMG[11:0], until the chroma level matches that measured directly from the source.

    4.Try to force the "Autodetect enable" bits (User Map register 0x07)" according to the PAL(PAL-I, PAL-60, PAL-M etc) /NTSC standard.

    Note: If the amplitude of the color subcarrier is too low then the ADV728x will never be able to lock to it. Then could try using an amplifier to boost the signal. Also try replacing the resistor divider circuit on the ADV728x with a single 75 Ohm resistor to ground. This will increase the amplitude of the signal to the ADV728x.

    Thanks,

    Poornima

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.