Hello,
NCS1.9.1, nRF5340DK+nRF21540EK, Windows10 X64, VS Code,
not find [nRF21540EK_nRF5340],
about software: how to create project build?
are there any samples?

about hardware: where is TXR connected? what is its function?



thanks
Best Regards
HI,
thanks for reply,
i follow Working with RF front-end modules — nRF Connect SDK 1.9.99 documentation (nordicsemi.com)
/{
nrf_radio_fem: nrf21540_fem {
compatible = "nordic,nrf21540-fem";
tx-en-gpios = <&gpio0 39 GPIO_ACTIVE_HIGH>; //P1.07
rx-en-gpios = <&gpio0 37 GPIO_ACTIVE_LOW>; //P1.05
pdn-gpios = <&gpio0 42 GPIO_ACTIVE_HIGH>; //P1.11
spi-if = <&nrf_radio_fem_spi>;
};
fem_spi: &spi3 {
status = "okay";
sck-pin = <47>; //P1.15
miso-pin = <46>;//P1.14
mosi-pin = <45>;//P1.13
cs-gpios = <&gpio0 44 GPIO_ACTIVE_LOW>;//P1.12
nrf_radio_fem_spi: nrf21540_fem_spi@0 {
compatible = "nordic,nrf21540-fem-spi";
status = "okay";
reg = <0>;
label = "FEM_SPI_IF";
spi-max-frequency = <8000000>;
};
};
};
the overlay error,

Best Regards
Hi,
The nrf21540_ek.overlay already includes the SPI control, see https://github.com/nrfconnect/sdk-nrf/blob/main/boards/shields/nrf21540_ek/nrf21540_ek.overlay#L18 You don't do it again. Currently, we do not have SW support for SPI control. If you plan to use this, you will need to implement it by yourself. It's under development.
-Amanda