nRF54l15 Custom Board & nRF21540 FEM Port 2 connection failure

We designed a nRF54L15 custom board and now want to add nRF21540 FEM module to our device tree as follows:

/ {
    nrf_radio_fem: name_of_fem_node {
        compatible  = "nordic,nrf21540-fem";
        tx-en-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
        rx-en-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
        pdn-gpios   = <&gpio0 0 GPIO_ACTIVE_HIGH>;
        mode-gpios  = <&gpio0 1 GPIO_ACTIVE_HIGH>;
    };
};
&radio {
    fem = <&nrf_radio_fem>;
};
When we compiled the project we got the error show below:

C:/ncs/v3.0.0/modules/hal/nordic/nrfx/drivers/include/nrfx_gpiote.h:75:33: error: 'NRF_GPIOTEDT_N_S_soc_S_peripheral_50000000_S_gpio_50400_P_gpiote_instance_IDX_0_PH_P_instance' undeclared (first use in this function); did you mean 'DT_N_S_soc_S_peripheral_50000000_S_gpio_10a000_P_gpiote_instance_IDX_0_PH'?
75 | .p_reg = NRFX_CONCAT(NRF_, GPIOTE, id), \

Note: If we change the nRF21540 FEM pins as follows we are not get any error

tx-en-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
rx-en-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
pdn-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
mode-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;

and we are using SDK and toolchain 3.0.0 

The issue may be related to gpiote?

Have we missed something somewhere?

Parents Reply Children
No Data
Related