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.

TWL6030 Interrupts

Other Parts Discussed in Thread: TWL6030

Hi All,

I am working on omappedia.org/wiki/PandaBoard_L27.12.1-P2_Release_Notes.

In this build I would like to read the INT_STS_A register, when ever I get an Irq, I tried to read the following way.

Case1:

#define INT_STS_A 0xD0

u8 myval;

err = twl_i2c_read_u8(TWL6030_MODULE_ID1, &myval, INT_STS_A);

this is always returning value 128.

I thought the way I am reading in wrong. But I could read the value of TWL6030_PWDNSTAT2 in the same way. Please help me where I am doing wrong.

Case2:

#define STS_HW_CONDITIONS 0x02

u8 value;

err = twl_i2c_read_u8(TWL4030_MODULE_PM_MASTER, &value, STS_HW_CONDITIONS);

With this I am able to read the status, and it is 34/35, In this case why I am getting HOT_DIE set.

Please help me in understanding the difference in Case1, Case2.

Thanks. 

 

  • Hello Vinay,

    You can check the register's value with omapconf to confirm if the value is wrong:

    ./omapconf dump pmic         (then look under 0xD0 in SLAVE ADDR=0x49)

    Also, have you tried a more current sw release for Panda?  L27.12.1-P2 is a very old release.

    Regards,

    Alex