Whenever a new device is plugged into the ADV7610 or the device changes resolutions, I end up seeing a vertically rolling frame for a few seconds until the frame settles into the correct alignment. How do I fix this issue?
If you set it up for free run then when the source is unplugged the output will go to the free run image.
Or when vertical lock bit goes low you can video mute the output or force a free run. Then wait until lock bits are high and release the free run or mute.
I do have free run enabled, and free run does work when the HDMI is disconnected. However, this does not solve my issue of the rolling frame. I am checking the vertical lock bit, and it does indicate lock even though I have the rolling frame. How do I detect when the frame has stopped rolling?
Or, is this something to do with my SoC (the i.MX6) not detecting the frame correctly?
BTW I'm using BT1120 with a 16-bit bus.
Can you monitor V_LOCK_RAW and V_LOCL_ST bits when this is happening?
It might be the SoC not locking up correctly also
It appears that V_LOCK_RAW and V_LOCL_ST are 1 when the frame is rolling.
Those bits indicate the ADV7610 is locked to the incoming video. The pixel bus should be stable. You can probe the HS and VS lines just to make sure. This would point to issues with the MX6.
Retrieving data ...