Post Go back to editing

ADP5585 - no communication when interrupt onHey, I have a problem with ADP5585 - I can read status value, when I press button read event fifo then clear int flag etc, but when I want to use interrupt pin - I can't even read status register - always 0,

Hey, I have a problem with ADP5585 - I can read status value, when I press button read event fifo then clear int flag etc, but when I want to use interrupt pin - I can't even read status register - always 0, device generate first interrupt and then I don't have communication with AD5585.

Register 0x38 -> 0x0f

Register 0x39 -> 0x0f

Register 0x3B -> 0x80

Register 0x3b -> default - 0, when turn 0x01 - no communication.

Did I miss something?

Parents
  • Hello,

    The bit 1 in 0x3B controls whether the interrupt persists or whether the interrupt pin drops then recovers on interrupt events. Interrupts will occur in either case. Since you are using the part in keypad mode, do you have

    Register 0x3C -> 0x01 ?

    This will allow key press events to cause an interrupt.

    For the command:

    Register 0x3b -> default - 0, when turn 0x01 - no communication

    You need to keep the oscillator on, so try using

    Register 0x3B -> 0x82

    Bit 0 of register 0x3B is a reset bit. If you program bit 0 to a 1, the part will reset as the logic of the reset pin reverses. If that happens, all the register configurations have to be reprogrammed again.

    In summary, please try:

    Register 0x38 -> 0x0f

    Register 0x39 -> 0x0f

    Register 0x3C -> 0x01

    Register 0x3B -> 0x80 or 0x82 (if you want a momentary interrupt generated)

Reply
  • Hello,

    The bit 1 in 0x3B controls whether the interrupt persists or whether the interrupt pin drops then recovers on interrupt events. Interrupts will occur in either case. Since you are using the part in keypad mode, do you have

    Register 0x3C -> 0x01 ?

    This will allow key press events to cause an interrupt.

    For the command:

    Register 0x3b -> default - 0, when turn 0x01 - no communication

    You need to keep the oscillator on, so try using

    Register 0x3B -> 0x82

    Bit 0 of register 0x3B is a reset bit. If you program bit 0 to a 1, the part will reset as the logic of the reset pin reverses. If that happens, all the register configurations have to be reprogrammed again.

    In summary, please try:

    Register 0x38 -> 0x0f

    Register 0x39 -> 0x0f

    Register 0x3C -> 0x01

    Register 0x3B -> 0x80 or 0x82 (if you want a momentary interrupt generated)

Children
No Data