Using nrf5340dk with the nrf21540 EK

Hey I have a question regarding the setup described in the title. I have an application built upon the "Throughput Sample" of Nordic Semiconductor. To get a farther Distance, the Receiver gets an nrf21540 EK, connected via the Arduino Headers and a SMA cable. Now I added the Shield via Extra C-Make option in The VS Code Extension:

-DSHIELD=nrf21540ek and
-Dhci_ipc_SHIELD=nrf21540ek

However, this is the only thing I did so far. The resources online are diverse and I don't know where to start. Can i just plug it in now and it automatically
works? Do i need to change something in my code for it to work?
I use the 2.6.0 SDK in Visual Studio Code

An answer would help a lot! Thanks!
Parents Reply
  • I see, so is it only possible to choose these 2 values?

    Because in my country there is the regulation that the maximum E.I.R.P is 100mW, so 20dbm. As my antenna has a dbi of 7, i want to set the gain value to 13 (so that the total strength is 20). Is this possible? Thanks

    If you don't support antenna diversity, what is the reason to have 2 antenna ports on the 21540? 

Children
Related