Search FAQs on the left to see if your question has been answered. Click on the dropdown to view all of the documents associated with the product. If you can't find your question, click on Ask a Question

How to tell if the ADV7180/ADV7182/ADV728x has locked to a video source?

Note this FAQ relates to the ADV7180, ADV7182, ADV7280, ADV7280-M, ADV7281, ADV7281-M, ADV7281-MA, ADV7282 and ADV7282-M models. These devices will be referred to as ADV728x/ADV728x in this FAQ.

The easiest way of determining if the ADV718x/ADV728x has locked or lost lock to a video source is to program the INTRQ interrupt pin.

See http://ez.analog.com/message/60384#60384

Alternatively the LOST_LOCK and  IN_LOCK bits can be used to determine if the ADV718x/ADV728x has locked, or lost lock, to a video source. Note in order for the LOST_LOCK and  IN_LOCK bits to work correctly the ADV718x/ADV728x must be programmed with an Analog Devices recommended script.

LOST_LOCK bit can be found at  User Map, Register 0x10, Bits [1]. IN_LOCK bit can be found at  User Map, Register 0x10, Bits [0].See "Global Status Register" section of the ADV7180 datasheet (and ADV7182 datasheet) for more information.

The table below show the operation of the LOST_LOCK and  IN_LOCK bits as the active video source is connected or disconnected.

Source Connected/Disconnected LOST_LOCK Bit IN_LOCK Bit
When the video source is connected to the ADV7180/ ADV7182 0 1
When the video source is disconnected from the ADV7180/ ADV7182 1 0
When the video source is reconnected to the ADV7180/ ADV7182( the first read of register 0x10 after reconnection) 1 1
Second and subsequent reads of register 0x10 after the video source is reconnected 0 1
Comments
Anonymous
Related