Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Support

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

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

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing
    • Optical Sensing
    • Precision Technology Signal Chains
    • 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
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Recent Discussions

    • Pluto + GNURADIO frequency change
    • Pluto SDR
    • pluto sdr pyadi-iio continous iq recording
    • attribute error
    • gps-sdr-sim is not working with my ADALM-PLUTO

    Places

    • ADI Education Home
    • ADI Education China
    • ADI Education India
    • ADI Education Philippines
    • StudentZone (Analog Dialogue)
    • Virtual Classroom

    Latest Webinars

    • Optimizing GaN and GaAs RF Amplifier Performance Using Novel Biasing Techniques
    • Improving Switch-Mode Power Supplies Using Noise Cancelling Technology
    • Webinar Accelerate Your Design With a 2 to 24 GHz Wideband Transceiver Reference Design
    • How to Design an Optimized Motion Control System for Intelligent Edge Based Surveillance Camera
    • How to Enhance High Precision Current Sensing Systems
    View All
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes: Taking the right shoes in the dark and in a hurry
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

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

     

    Can I Build My Own Phased Array Radar?

     

    How to Understand Public Key Cryptography Without Formulas

    Latest Blogs

    • How To Design Fieldbus Agnostic Smart Factory Sensors
    • You Passed EMC Testing… But Wait, Is There More?
    • The 5 Things You Need to Know about RF Matching Networks
    • Does Reliability Prediction Uncertainty Justify Mandating Two Channel Safety?
    • An Inside Look at 2022
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
Video
Video
Documents How to Detect That the Crystal is Working Correctly on the ADV7182/ADV728x
  • Q&A
  • File Uploads
  • Docs/ FAQs
  • Members
  • Tags
  • More
  • Cancel
  • FREE RUN
  • +AD724: FAQ
  • +AD725: FAQ
  • +AD7441A: FAQ
  • +AD8122: FAQ
  • +AD8380: FAQ
  • +AD8381: FAQ
  • +AD9388A: FAQ
  • +AD9389: FAQ
  • +AD9880: FAQ
  • +AD9882: FAQ
  • +AD9884A: FAQ
  • +AD9888: FAQ
  • +AD9889B: FAQ
  • +AD9978: FAQ
  • +AD9981: FAQ
  • +AD9984A: FAQ
  • +AD9985A: FAQ
  • +AD9994: FAQ
  • +ADA4891: FAQ
  • +ADDI7004: 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
  • +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
  • +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
  • +DVP Evaluation Software: FAQ
  • +EVAL-MELODY: FAQ
  • +HDCP-Enabled Parts: FAQ
  • +HDMI: FAQ
  • +I2C: FAQ
  • +PCB Trace Impedance Calculator: FAQ
  • +VESA Standards: FAQ
  • +xtal Load Caps: FAQ

How to Detect That the Crystal is Working Correctly on the ADV7182/ADV728x

Note updated this post with an improved software routine.

This FAQ applies to the ADV7182, ADV7280, ADV7280-M, ADV7281, ADV7281-M, ADV7281-MA, ADV7282 and ADV7282-M.

Even if the external 28.63636 MHz crystal is damaged and does not oscillate:

  • I2C communication with the ADV7182/ADV728x will still work correctly.
  • It is possible to program the ADV7182/ADV728x normally will ADI scripts.
  • The ADV7182/ADV728x may even be able to partially lock to the incoming analog video source ( the IN_LOCK bit may be set).

However if the external 28.63636 MHz crystal is damaged and does not oscillate:

  • The ADV7182/ADV728x will not be able to output digital video correctly.
  • Unless a 28.63636 MHz crystal with a +/-50ppm accuracy is used, then the ADV7182/ADV728x will not be able to lock to the color sub-carrier frequency burst of incoming analog video (the FSC_LOCK bit will be low) . 

It is possible to use an oscilloscope or similar to probe the crystal to see if it is oscillating correctly. However a high-end probe with low capacitance will have to be used. Otherwise the performance of the crystal will change (e.g. Placing an oscilloscope probe on the PCB traces to/from the crystal could actually cause the crystal to start oscillating).

Is is also possible to feed the crystal input out on the GPO pins. Placing an oscilloscope probe on the GPO output from the ADV728x will not affect the performance of the crystal. This option is only available on the  ADV7280-M, ADV7281-M, ADV7281-MA and ADV7282-M models. See this post for more options. 

How to get Crystal Clock output on GPIO pin of ADV728x 

Heartbeat Test

Also it is possible to perform a 'heartbeat' test to determine if the crystal connected to the ADV7182/ADV728x will oscillate. The heartbeat test works by setting and clearing an interrupt bit. If the crystal is not oscillating correctly then the interrupt will not be set and cleared correctly.

When crystal oscillates correctly:

step 1: perform an ADI recommended script

Step 2: Enter Interrupt map by setting register 0x0E to the value 0x20.

Step 3: perform the reads & writes below. 

   If crystal is present you will have the following response

 

      * Note that the interrupt status will always be 0 after power-up if crystal is present 

If crystal is not present you will have the following response

* Note these errors show that the crystal is not oscillating correctly.

Step 4: For robustness the reads & writes of step 3 should be performed a few times.

Step 5: Remember to re-enter the user map before running any more scripts (set register 0x0E to the value 0x00)

Note these tests can be carried out on ADV7182/ADV728x evaluation boards. Writing 0x04 to register 0x13 will cause the crystal to stop oscillating. See this post for more details. http://ez.analog.com/message/80298#80298

  • adv7281-m
  • oscillate
  • adv7282
  • crystal
  • adv7281-ma
  • adv7280
  • adv7281
  • adv7182
  • adv7280-m
  • adv7282-m
  • Share
  • History
  • More
  • Cancel
Related
Recommended
 
Social
Quick Links
  • About ADI
  • Partners
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Analog Garage
Languages
  • English
  • 简体中文
  • 日本語
  • Руccкий
Newsletters

Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox.

Sign Up
Switch to mobile view
Analog Logo
© 1995 - 2023 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2023 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • Sitemap
  • Privacy & Security
  • Privacy Settings
  • Terms of use
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.