We have an application for using the 802.15.4 protocol with a nRf52840 and a Front End Module. We are looking for an approach to take for integrating the FEM control into the firmware.
First I wanted to ask: Could you recommend an approach on how we could solve the problem of integrating the FEM control with the 802.15.4?
The possibilities that we came up with are:
1) Use the SDK 15.3 with the S140 soft device. Use the API sd_ble_opt_set() with a configured configuration structure and the soft device should take control of the FEM. Would the soft device then automatically control the FEM?
2) Use the SDK 15.3 with the S140 soft device. Then use a PPI event from when radio turns ON to Tx to initiate an action on a GPIO pin that would turn the PA of the FEM. Likewise an Rx event would create a PPI event to initiate and action on another GPIO pin that would turn the LNA ON.
3) Use the 802.15.4 stack in Zephyr. Modify the Zephyr stack to add the FEM control.
Any thoughts or recommendations that you can provide would be helpful.
Note: This is a continuation of https://devzone.nordicsemi.com/f/nordic-q-a/52822/fem---front-end-module-management.