This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

not getting interrupt from tps65930 MADC

Other Parts Discussed in Thread: TPS65930, AM3715

Hi

I am using tps65930 madc to do analog to digital conversion on ADCIN2 input with and using SW1at  host (AM3715) to control  the MADC operation. I am using channel 2 for my conversion. I programmed the MADC registers as below:


TWL4030_MADC_CTRL1_OFFSET:reg_val:0x0
TWL4030_MADC_IMR1_OFFSET:reg_val:0xf
TWL4030_MADC_EDR_OFFSET:reg_val:0x55
TWL4030_MADC_SIH_CTRL_OFFSET:reg_val:0x7
TWL4030_MADC_SIH_CTRL_OFFSET:reg_val:0x3
TWL4030_MADC_IMR1_OFFSET:reg_val:0xf
TWL4030_MADC_IMR1_OFFSET:reg_val:0xd
TWL4030_MADC_CTRL1_OFFSET:reg_val:0x0
TWL4030_MADC_CTRL1_OFFSET:reg_val:0x1
TWL4030_MADC_SW1SELECT_LSB_OFFSET:reg_val:0x0
 TWL4030_MADC_SW1SELECT_LSB_OFFSET:reg_val:0x4
 TWL4030_MADC_CTRL_SW1_OFFSET 0:reg_val:0xde
 TWL4030_MADC_CTRL_SW1_OFFSET 0:reg_val:0xdd

I have enabled the interrupt in IMR1 register for SW1 and also started the conversion by setting CTRL_SW1[5]SW1 bit.

I have requested the interrupt following interrupt for MADC

                371:          0     twl4030  madc_irq

And, waiting for interrupt completion interrupt for MADC. But, I do not receive any interrupt for MADC.

Please let me know if I have missed any setting while programming MADC.

Thanks

Jitendra