Locale Icon
English
EngineerZone
EngineerZone
Video
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
  • Forums

    Popular Forums

    • LTspice
    • RF and Microwave
    • Video
    • Power Management
    • Precision ADCs
    • FPGA Reference Designs
    • Linux Software Drivers

    Product Forums

    • Amplifiers
    • Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • A2B
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Power Studio Designer
    • Power Studio Planner
    • Reference Designs
    • Robot Operating System (ROS) SDK
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Maximize Your Power Regulator: Key Considerations for Thermal Performance

    Power regulators with integrated switches deliver a compact, efficient way to supply power. Yet as modern circuits drive toward ever-higher power densities...

    Places

    • ADI Academy
    • ADI Webinars
    • Video Annex
    • Virtual Classroom

    Libraries

    • 3D ToF Depth Sensing Library
    • Continuous-Wave CMOS Time of Flight (TOF) Library
    • Embedded Vision Sensing Library
    • Gigabit Multimedia Serial Link (GMSL) Library
    • Optical Sensing Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Latest Webinars

    • Power Management Fundamentals II Session 6: Key Layout Considerations for Power
    • A 16T/16R X-Band Direct Sampling Phased Array Subsystem using Apollo MxFE
    • Power Management Fundamentals II Session 5: Deeper Look into Power Protection
    • Power Management Fundamentals II Session 4: Isolated Converters Explained
    • Maximize Your Power Regulator: Key Considerations for Thermal Performance
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ295 about an audio logarithmic volume controller using linear pot - a proposal from Tim O'Brien

      1. Quote of the month: "Think like a proton. Always positive" - Unknown 2. New quiz of the month: AQQ295 about a audio logarithmic volume controller...

    View All

    What's Brewing

      Read a Blog, Take this Quiz for Another Chance to Win a Gift Card!

      Important: Read the blog first . The quiz questions are all based on the content from the blog: Let's Take a Field-Bus Trip Your field-bus engines...

    View All

    Places

    • Community Help
    • Logic Lounge
    • Super User Program
    • Analog Dialogue Quiz

    Resources

    • EZ Code of Conduct
    • EZ How To Help Articles
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    Understanding Voltage Domain Isolation in Field-Bus Systems

    By Christopher Nunes In the world of industrial communication, mastering voltage domain isolation is the key to building safer, smarter systems. Last...

     

    Ethernet-APL’s Impact on Functional, Intrinsic, and Cyber Safety

    Power limitations have always plagued process sensors, whether because of intrinsic safety requirements (safety achieved through power limitation) or because...

    Latest Blogs

    • Balancing Enhanced Radar Resolution with FPGA-Based Pulse Compression
    • ​​ISO 26262 Essentials: Ensuring Confidence in Your Software Tools ​
    • Step-by-Step: Implementing a Complete DSP Chain for Signal Analysis
    • Galvanic Isolation in SMPS: Ensuring Safety and Protection: Part 1 of 4
    • Mature, Not Old! The Longevity of 4 – 20 mA
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • ContentZone

    Visit ContentZone

    ContentZone

    Technical articles. Blogs. Videos. Your ADI content, all in one place.

    View ContentZone

    Featured Content

    Featured Content Title

    Blurb About Content

    View Content By Industry

    • Aerospace and Defense Systems
    • Automotive Solutions
    • Consumer Technology Solutions
    • Data Center Solutions
    • Energy Solutions
    • Healthcare Solutions
    • Industrial Automation Technology Solutions
    • Instrumentation and Measurement Solutions
    • Intelligent Building Solutions
    • Wireless Communication Solutions

    View Content By Technology

    • A2B Audio Bus
    • ADI OtoSense Predictive Maintenance Solutions
    • Dynamic Speaker Management
    • Gallium Nitride (GaN) Technology
    • Gigabit Multimedia Serial Link (GMSL)
    • Industrial Vision
    • Power Solutions
    • Precision Technology
    • RF
    • Sensor Interfaces
    • SmartMesh
Video
Video
Documents How to program an Interrupt to tell if the ADV7182/ADV728x has locked or lost locked
  • Q&A
  • File Uploads
  • Docs/ FAQs
  • Members
  • Tags
  • Cancel
  • FREE RUN
  • +AD1896: FAQ
  • +AD724: FAQ
  • +AD725: FAQ
  • +AD7441A: FAQ
  • +AD80066: FAQ
  • +AD8122: FAQ
  • +AD8191: FAQ
  • +AD8195: FAQ
  • +AD8380: FAQ
  • +AD8381: FAQ
  • +AD8519: FAQ
  • +AD9388A: FAQ
  • +AD9389: FAQ
  • +AD9814: FAQ
  • +AD9822: FAQ
  • +AD9826: FAQ
  • +AD9840: FAQ
  • +AD9845A: FAQ
  • +AD9880: FAQ
  • +AD9882: FAQ
  • +AD9884A: FAQ
  • +AD9888: FAQ
  • +AD9889B: FAQ
  • +AD9945: FAQ
  • +AD9978: FAQ
  • +AD9981: FAQ
  • +AD9984A: FAQ
  • +AD9985A: FAQ
  • +AD9994: FAQ
  • +ADA4891: FAQ
  • +ADDI7004: FAQ
  • +ADDI7100: FAQ
  • +ADI Video Parts: FAQ
  • +ADV202: FAQ
  • +ADV212: FAQ
  • +ADV3002: FAQ
  • +ADV3224/25/28/29: FAQ
  • +ADV7123: FAQ
  • +ADV7125: FAQ
  • +ADV7128: FAQ
  • +ADV7171: FAQ
  • +ADV7174: FAQ
  • +ADV7179: FAQ
  • +ADV7180: FAQ
  • +ADV7180W: FAQ
  • +ADV7181C: FAQ
  • +ADV7181D: FAQ
  • -ADV7182: FAQ
    • ADV7182 Datasheet Default Values
    • ADV7182 Design Support Files
    • Explanation As To Why the Crystal Does Not Oscillate on ADV7182 or ADV728x Systems After Powerup
    • How to Detect That the Crystal is Working Correctly on the ADV7182/ADV728x
    • How to program an Interrupt to tell if the ADV7182/ADV728x has locked or lost locked
    • How to tell if the ADV7180/ADV7182/ADV728x has locked to a video source?
    • Output of the ADV7182 in Reset and Powerdown mode
    • What Video Output Standard does the ADV7182 Output in Free-Run Mode
  • +ADV7183B: FAQ
  • +ADV7184: FAQ
  • +ADV7185: FAQ
  • +ADV7188: FAQ
  • +ADV7202: FAQ
  • +ADV7280: FAQ
  • +ADV7281: FAQ
  • +ADV7282: FAQ
  • +ADV7283: FAQ
  • +ADV728x: FAQ
  • +ADV7340: FAQ
  • +ADV7341: FAQ
  • +ADV7343: FAQ
  • +ADV734X: FAQ
  • +ADV7390: FAQ
  • +ADV7393: FAQ
  • +ADV739x: FAQ
  • +ADV7401: FAQ
  • +ADV7403: FAQ
  • +ADV7441A: FAQ
  • +ADV7480: FAQ
  • +ADV7481: FAQ
  • +ADV7482: FAQ
  • +ADV749x: FAQ
  • +ADV7510: FAQ
  • +ADV7511: FAQ
  • +ADV7513: FAQ
  • +ADV7520: FAQ
  • ADV7520NK: FAQ
  • +ADV7604: FAQ
  • +ADV7610: FAQ
  • +ADV7611: FAQ
  • +ADV7612: FAQ
  • +ADV7613: FAQ
  • +ADV7614: FAQ
  • +ADV7619: FAQ
  • +ADV7622: FAQ
  • +ADV7623: FAQ
  • +ADV7625: FAQ
  • +ADV7626: FAQ
  • +ADV7627: FAQ
  • +ADV7630: FAQ
  • +ADV7800: FAQ
  • +ADV7802: FAQ
  • +ADV7842: FAQ
  • +ADV7844: FAQ
  • +ADV7850: FAQ
  • +ADV78xx: FAQ
  • +adv8003: FAQ
  • +ADV8005: FAQ
  • +Advantiv: FAQ
  • +AN-1191: FAQ
  • +analog input muxing: FAQ
  • +Apple TV: FAQ
  • +Customer hardware validation scripts: FAQ
  • +CVBS: FAQ
  • +Decoder Product: FAQ
  • +DS4550E+: FAQ
  • +DVP Evaluation Software: FAQ
  • +EVAL-MELODY: FAQ
  • +HDCP-Enabled Parts: FAQ
  • +HDMI: FAQ
  • +I2C: FAQ
  • +ICL7109CPL+2: FAQ
  • +ICL7129ACPL+2: FAQ
  • +MAX134: FAQ
  • +MAX1493CCJ+: FAQ
  • +MAX3845UCQ+: FAQ
  • +MAX4886EVKIT+: FAQ
  • +MAX6950: FAQ
  • MAX6954: FAQ
  • +MAX6954AAX+: FAQ
  • MAX6955: FAQ
  • +MAX6955AAX+: FAQ
  • +MAX6955EVKIT: FAQ
  • +MAX6957AAI+: FAQ
  • +MAX6958: FAQ
  • +MAX6966ATE+T: FAQ
  • +MAX6969AUG+: FAQ
  • MAX7219: FAQ
  • +MAX7219CWG: FAQ
  • MAX7221: FAQ
  • +MAX7221CNG+: FAQ
  • MAX7300: FAQ
  • +MAX7300AAI+: FAQ
  • MAX7301: FAQ
  • +MAX7301AAI+: FAQ
  • +MAX7311: FAQ
  • MAX7313: FAQ
  • +MAX7313AEG+: FAQ
  • +MAX7314: FAQ
  • +MAX7315ATE+: FAQ
  • +MAX7317: FAQ
  • +MAX7318ATG+: FAQ
  • +MAX7321EVKIT: FAQ
  • MAX9406: FAQ
  • +MAX9406ETJ+: FAQ
  • +PCB Trace Impedance Calculator: FAQ
  • +VESA Standards: FAQ
  • +xtal Load Caps: FAQ

How to program an Interrupt to tell if the ADV7182/ADV728x has locked or lost locked

This FAQ applies to the ADV7182, ADV7280, ADV7280-M. ADV7281, ADV7281-M, ADV7281-MA, ADV7282 and ADV7282-M models. These models will be referred to with the abbreviation ADV7182/ADV782x in this FAQ.

The INTRQ interrupt pin on the ADV7182/ADV728x can be programmed to change state under a number of different conditions. This can be a useful tool to detect issues with the inputted analog video.

The INTRQ pin can be programmed to drive high or low when activated.

The following example will describe how to set the interrupt pin to go from a high state to a low state when the ADV7182/ADV728x has locked or lost lock to the inputted video. The interrupt will remain low until cleared. These writes should be performed after an ADI recommended script has been performed. ADI recommended scripts can be found here: ADV728x Design Support files

The following steps are needed to program the Interrupt:

1) Enter the Interrupt/VDP Map Map by setting register 0x0E bit [6:5] to 01 (binary)

2) Program the interrupt to drive low when active and to stay low until cleared: In register 0x40 write 0xD1

3) Unmask (i.e. activate) the lock interrupt: Set register 0x44 bit[0] to 1.

4) Unmask (i.e. activate) the unlock interrupt: Set register 0x44 bit[1] to 1.

5) Clear the interrupt. set register 0x43 bits [1:0] to 1.

6) Exit the Interrupt/VDP Map: set register 0x0E bit [6:5] to 00 (binary)

See script below:

Read/Write Device Address Register Address Value Comment
Write 0x42 0x0E 0x20 Enter Interrupt/VDP Map
Write 0x42 0x40 0xD1 INTRQ pin drives low when active and remains low until interrupt is cleared
Write 0x42 0x44 0x03 Active SD_LOCK and SD_UNLOCK interrupts
Write 0x42 0x43 0x03 Clear SD_LOCK and SD_UNLOCK interrupts
Write 0x42 0x0E 0x00 Re-enter main map

The ADV7182 has now been programmed to drive the INTRQ pin high under normal operation. When the ADV7182 locked to a video source or looses video lock, the INTRQ pin will drive low and remain low until the interrupt has been cleared.

How to clear the interrupt:

Read/Write Device Address Register Address Value Comment
Write 0x42 0x0E 0x20 Enter Interrupt/VDP Map
Write 0x42 0x43 0x03 Clear SD_LOCK and SD_UNLOCK interrupts
Write 0x42 0x0E 0x00 Re-enter main map

The INTRQ pin will then drive high and will only drive low on the next loss of video lock.

Note:

When the INTRQ pin drives low you need to be able to tell if an lock or lost lock event has occurred. You should perform a read of register 0x10 in the User Map. This register contains the IN_LOCK [bit 0] and LOST_LOCK [bit 1] bits. These bit can be used to determine if a lock or lost lock event has occurred. See this thread for more information https://ez.analog.com/docs/DOC-3108.

Tags: Video Products adv7282 adv7280 Video Decoders adv7281 adv7182 Show More
  • Share
  • History
  • More
  • Cancel
 
Related Content
  • How to activate the INTRQ interrupt pin on the ADV7180
    Sara Collins
    How to activate the INTRQ interrupt pin on the ADV7180 by Rob.Analog The INTRQ interrupt pin on the ADV7180 can be programmed to change state under a number of different conditions. This can be a useful...
  • RE: Configuration the adv7280m interruption enabled function,but it didn't generate interruption
    PoornimaSubramani
    Hi, Please refer below Interrupt sequence to configure ADV7182/ADV728x,When the ADV7182/ADV728x locked to a video source or looses video lock. Note : 1) Enter the Interrupt/VDP Map Map by setting register...
  • RE: (ADV7282AM)CVBS-diff lock problem.
    PoornimaSubramani
    Hi, For lost lock :0x10 -0x07 The following example will describe how to set the interrupt pin to go from a high state to a low state when the ADV7282 has lost lock to the inputted video.The interrupt...
 
Related Content
  • How to activate the INTRQ interrupt pin on the ADV7180
    Sara Collins
    How to activate the INTRQ interrupt pin on the ADV7180 by Rob.Analog The INTRQ interrupt pin on the ADV7180 can be programmed to change state under a number of different conditions. This can be a useful...
  • RE: Configuration the adv7280m interruption enabled function,but it didn't generate interruption
    PoornimaSubramani
    Hi, Please refer below Interrupt sequence to configure ADV7182/ADV728x,When the ADV7182/ADV728x locked to a video source or looses video lock. Note : 1) Enter the Interrupt/VDP Map Map by setting register...
  • RE: (ADV7282AM)CVBS-diff lock problem.
    PoornimaSubramani
    Hi, For lost lock :0x10 -0x07 The following example will describe how to set the interrupt pin to go from a high state to a low state when the ADV7282 has lost lock to the inputted video.The interrupt...
analog-devices logo

About Analog Devices

  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2025 Analog Devices, Inc. All Rights Reserved

analog-devices

About Analog Devices

Down Up
  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

Down Up
  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2025 Analog Devices, Inc. All Rights Reserved