Hi,
I need to integrate the Skyworks RFX2401 FEM module into my custom nRF5340 based project.
The following code snippet has been included in the custom_nRF5340_cpunet.dts file.
nrf_radio_fem: rfx_2401_fem { compatible = "skyworks,sky66112-11", "generic-fem-two-ctrl-pins"; ctx-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; crx-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; tx-gain-db = < 22 >; rx-gain-db = < 11 >; }; &radio { fem = <&nrf_radio_fem>; };
Added gpio_fwd in the custom_nRF5340_common.dts file
gpio_fwd: nrf-gpio-forwarder { compatible = "nordic,nrf-gpio-forwarder"; status = "okay"; fem { // don't forward CPS/CHL pins, it's manually done by the application gpios = <&gpio1 10 0>, // CTX / P1.10 <&gpio1 13 0>; // CRX / P1.13 }; };
Enable the given below config macros in thein the hci_rpms\prj.conf
CONFIG_MPSL_FEM=y CONFIG_MPSL_FEM_SIMPLE_GPIO=y
FEM functionality seems to be non-functional after the following modifications.
Even after activating the configuration macros (CONFIG_MPSL_FEM=y, CONFIG_MPSL_FEM_SIMPLE_GPIO=y), they still display as 'n'. They are not visible in both the build\zephyr.config and build\hci_rpmsg\zephyr.config files.
Is there a requirement to include additional macros or incorporate specific code sections to enable FEM?