nrf54l10 P1.02 does not operate as an interrupt.

Dear support team.

Please advise to me. 

prj.conf

CONFIG_GPIO=y
CONFIG_NFCT_PINS_AS_GPIOS=y

overlay.dts
&i2c20 {
    compatible = "nordic,nrf-twim";
    status = "okay";
    pinctrl-0 = <&i2c20_default>;
    pinctrl-1 = <&i2c20_sleep>;
    pinctrl-names = "default", "sleep";
    clock-frequency = <400000>;
    zephyr,concat-buf-size = <64>;

    iqs7222a: iqs7222a@57 {
        compatible = "azoteq,iqs7222";
        reg = <0x57>;
        label = "iqs7222a";
        inta-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
        intb-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
        rdy-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
    };
};
source code 
rc = gpio_pin_configure_dt(&iqs7222a.int_a, GPIO_INPUT);
    gpio_pin_configure_dt(&iqs7222a.int_b, GPIO_INPUT);
    gpio_pin_configure_dt(&iqs7222a.i2c_ready, GPIO_INPUT);
    gpio_pin_configure_dt(&iqs7222a.mclr, GPIO_OUTPUT);

    if (rc) {
        LOG_ERR("init_iqs7222a error rc = %d ",rc);
    }

    rc = gpio_pin_interrupt_configure_dt(&iqs7222a.int_a, GPIO_INT_EDGE_RISING);
    gpio_init_callback(&iqs7222a.iqs7222a_cb, iqs7222a_int_handler, BIT(iqs7222a.int_a.pin));
    rc = gpio_add_callback(iqs7222a.int_a.port, &iqs7222a.iqs7222a_cb);

When configured in software, there is no error in the return code (RC).
But P1.02 does not operate as an interrupt.
I have confirmed with an external analyzer that P1.02 operates correctly according to the situation.
The iqs7222a_int_handler is not being called.
If physically connected to P1.09 or P1.10 instead, it works normally.

For zigbee R23 , I use add-on  1.2.0 ,and ncs2.9.0
Parents Reply Children
No Data
Related