AnsweredAssumed Answered

unable to get interrupt on ADV7182

Question asked by Purush on Dec 17, 2015
Latest reply on Jun 28, 2016 by jayanjohn

@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

Outcomes