I am having a problem to setting up Tx Interrupt out on ADV7627. I am trying to enable HPD on INT1 output, and seems nothing is happening, while if I do read register 0x96 from HDMI TX Main Map, it shows that HPD is active.
Any comments on that?
Can you provide more details for below questions?
Do you have one of our eval board?
Which scripts and register settings did you use in reference to https://ez.analog.com/docs/DOC-10768
Hi, We do not use any of your eval boards, but our design is exact copy of your reference, except we do use different MCU for configuration. We have connected both Int1 and Int2 lines to the MCU and made Int2 work for auto switch with Rx module, which is work fine. However, I still have some issues with Tx module interrupts. I am enabling it for TxB only before I'm powering up Tx module itself.
Here is a script:
B0, 4A, 40 // Clears int1 for TXB
B0, 40, 89 // INT1 pin settings Drives low when active
B0, 4C, 40 // Enable Tx Interrupt on INT1
F8, 94, 40 // Enable HPD INT1 on Tx
F8, 96, C0 // Clear INT request in TX module
(5 mS Pause)
B0, 4A, C0 // Clears int1 for TXB
( Enable Int Imput On MCU )
F8, 41 , 10 // Power up Tx
After executing this code and unplug or plug in sink monitor nothing happen.
However, when I manually clear F8, 96, Tx interrupt happen.
Any more suggestion?
You could use the scripts we have published for ADV7627, but if you are trying to build a robust, HDMI-compliant system, I would suggest you start with our software drivers.
Have you licensed the source code for our software drivers?
No we have never licensed your software drivers.
Seems the issue is in which Int line to use. Now I have switched to routing Tx interrupt to Int2 line and it works good enough. For me it just looks that Int1 line have special function, so it is better to stay away from it for such use.
Most interrupts can be enabled for MB1 (INT1) or MB2 (INT2). If you are using hardware interrupts, you will want to make sure that only the interrupts you want to output on INT1 are enabled via MB1 and only the interrupts you want to output on INT2 are enabled via MB2.
Yes it should be like that; however, it does not looks like INT2 and INT1 works same way.
Anyway, thanks for all your responses.
Retrieving data ...