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:
However if the external 28.63636 MHz crystal is damaged and does not oscillate:
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
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
Currently I am debugging adv7280 driver. I used your sctipt to check crystal. Unfortunataly, I see INTRQ in hight state and there are no clocks on XTALs pins. My question is: should I see 1.8V voltage on XTAL pins or not. I tried to unsolder crystal to eliminate the influence of crystal. But I see just zero level.
Just in case I checked all voltage levels on DVDDIO, DVDD, AVDD, MVDD, PVDD. They match datasheet information. And read and printed registers which are involved in test script. These values match writed values.
What do tou think about this and what can advice to check.