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

Document created by Rob.Analog Employee on Jul 24, 2013Last modified by Rob.Analog Employee on Jun 17, 2014
Version 7Show Document
  • View in full screen mode

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/DisconnectedLOST_LOCK BitIN_LOCK Bit
When the video source is connected to the ADV7180/ ADV718201
When the video source is disconnected from the ADV7180/ ADV718210
When the video source is reconnected to the ADV7180/ ADV7182( the first read of register 0x10 after reconnection)11
Second and subsequent reads of register 0x10 after the video source is reconnected01

Attachments

    Outcomes