This page (v2.8.0) https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/nrf/app_dev/device_guides/fem/fem_nrf21540_gpio_spi.html
Suggests copying the following into devicetree.

Is there an example project with nrf FEM support which is tested?

This page (v2.8.0) https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/nrf/app_dev/device_guides/fem/fem_nrf21540_gpio_spi.html
Suggests copying the following into devicetree.


BenjaminGatti said:I was hoping someone would compile the solution in v2.9.0 and provide tested documentation.
Please consider prioritizing this request given there really is no tested documentation for the nrf21540 (+SPI) in the latest sdk.?
We are working on updating the documentation, but it will take some time.
BenjaminGatti said:I am now able to compile this flag in v 2.9.0 for the 52811 (and 52840)
Good job! What did you do to make it work?
BenjaminGatti said:flag triggers a memory error of some kind - maybe stack size error?
Some times just increasing stack size CONFIG_MAIN_STACK_SIZE fixes thing like this. Try that.
I think the problem might be in the first post: the nrf52811 may only have a port 0 and not a port 1. the examples unfortunately for the 52840 do not transpose particularly well to the 52811, as there may also not be a spi3 in the nrf 52811. The example team may benefit from some encouragement to create samples for the small devices first - which will likely transpose without error to the larger chips.
If the documentation team needs any assistance on this, I can help.