Post Go back to editing

unable to get interrupt on ADV7182

@We need an info on enabling interrupt, Till now we were polling the user mode status registers to know LOCK and UNLOCK of signals, We want to switch to interrupt mode. I have gone through the link@ https://ez.analog.com/docs/DOC-7555

And followed the configuration for interrupt. We are not getting interrupt, need your help to know whether we are missing anything here. I used omapconf tool to set the registers and verified the register values after writing.

Interestingly interrupt status registers are updated whenever i toggle camera.

I setup interrupt handler and I am able to see that in /proc/interrupts and I used below instructions to configure

omapconf i2c write 0 0x21 0x04 0x07

omapconf i2c write 0 0x21 0x0E 0x20

omapconf i2c write 0 0x21 0x40 0xD1

omapconf i2c write 0 0x21 0x44 0x03

omapconf i2c write 0 0x21 0x43 0x03

omapconf i2c write 0 0x21 0x0E 0x00

For clearing interrupt

omapconf i2c write 0 0x21 0x0E 0x20

omapconf i2c write 0 0x21 0x43 0x03

omapconf i2c write 0 0x21 0x0E 0x00

Thanks

Purush

Parents
  • Hi Purush,

    It does look like you have the ADV7182 configured correctly and the interrupt pin should be working.

    The latest script update for the ADV7182 contains sample scripts for programming interrupts on the ADV7182. I tested these writes in the lab on an ADV7182 evaluation board so I know that they work. The order of the writes are slightly different than what you have implemented.  Do you mind testing this interrupt script? It's in section ##08_Program Interrupts## of the latest script file (right at the bottom).

    Latest Script file is located here:

    https://ez.analog.com/servlet/JiveServlet/download/2633-26-29880/ADV7182CUST-VER.5.0.txt.zip

    Are you testing this on an ADV7182 evaluation board or on your own system? If it is on your own system could you make sure that there are no strong pull-up on the line or that the backend processor is not somehow preventing the  interrupt pin driving low.

    Regards,

    Robert Hinchy

Reply
  • Hi Purush,

    It does look like you have the ADV7182 configured correctly and the interrupt pin should be working.

    The latest script update for the ADV7182 contains sample scripts for programming interrupts on the ADV7182. I tested these writes in the lab on an ADV7182 evaluation board so I know that they work. The order of the writes are slightly different than what you have implemented.  Do you mind testing this interrupt script? It's in section ##08_Program Interrupts## of the latest script file (right at the bottom).

    Latest Script file is located here:

    https://ez.analog.com/servlet/JiveServlet/download/2633-26-29880/ADV7182CUST-VER.5.0.txt.zip

    Are you testing this on an ADV7182 evaluation board or on your own system? If it is on your own system could you make sure that there are no strong pull-up on the line or that the backend processor is not somehow preventing the  interrupt pin driving low.

    Regards,

    Robert Hinchy

Children
No Data