Hi
I'm looking for an example implementaion code on the nRF52840 without an operating system. Is there some example or application note?
I connected the SPI and all IO Pins. I have no Zephyr code.
Regards
Hi
I'm looking for an example implementaion code on the nRF52840 without an operating system. Is there some example or application note?
I connected the SPI and all IO Pins. I have no Zephyr code.
Regards
Hi
When you say "without an operating system", what do you mean?
If you wonder which SDK to use between the nRF Connect SDK and the nRF5 SDK, see our nRF Connect SDK and nRF5 SDK statement.
For new designs, the nRF Connect SDK is recommended for new designs.
Regards,
Sigurd Hellesvik
Hi Sigurd
I have a running c-code with BLE Mesh functions. Now I added the nRF21540 and like to implement the driver, but can't find the instructions how to do this. I think there are some files and functions to add to the project and like to refer to a example project.
Regards
And I guess the Working with RF front-end modules will be useful.
yes, this is usefull, I think I will start with this.
I added the files manually to my propject and will call the functions according to the docu. There are a lot of options and functions which are not needed and this is the reason why I asked for an example which is for adding the nRF21540 to an existing BLE project. The reason is that all is working, but the range of the BLE signal is too low. I added the nRF21540 and have to add the software layer to control the nRF21540, this is what I have to do.
Here the files I added to my project 
Hi
Normally for working with the nRF21540 in the nRF Connect SDK, Kconfig handles most of the includes, libraries and drivers.
Therefore, if someone wanted to add nRF21540 functionality to their project, it should be as simple as building for a different board.
I would recommend them to have make a custom board using inspiration from the nrf21540dk_nrf52840 to include the nRF21540 into their BLE application, in addition to the documentation I have already provided to you.
While this likely is not the same as your workflow, it might be able to help you some.
Regards,
Sigurd Hellesvik
Sorry to bother you again, but this is exactly what I am looking for:
Therefore, if someone wanted to add nRF21540 functionality to their project, it should be as simple as building for a different board.
But to be honest I don't know how to use the Kconfig. I will fread the docus maybe I missed some basic informations
Dominik Eugster said:I'm working with the nRF5 SDK
Hold on
This one said "nRF Connect SDK" a bit ago. Did you change it?
All the information I told you since that message has been relevant for the nRF Connect SDK, and will not work for the nRF5 SDK.
See the nRF Connect SDK and nRF5 SDK statement for the difference between the SDKs.
Please check carefully which SDK you are using, and inform me of the version so I can assist you best with your issue.
I am done with my workday now, so I will continue helping on this case tomorrow.
Regards,
Sigurd Hellesvik
Yes, I am working with the nRF5_SDK and the softdevice, I edit the post in the same minute after posting the first time, sorry
I think I have to use this interface? Mesh PA/LNA interface
Yes, I am working with the nRF5_SDK and the softdevice, I edit the post in the same minute after posting the first time, sorry
I think I have to use this interface? Mesh PA/LNA interface
Hi
It seems like we do not have any specific example for using the nRF21540 with the nRF5 SDK for Mesh.
However, using the PA/LNA interface you linked should work, the nRF21540 is a Front-end module with RF PA and LN after all.
If you use this along with the nRF21540 Product Specification, my guess is that it will work.
Regards,
Sigurd Hellesvik
Ok,. thanks for information, I will try to implement it. to control the nRF21540 I will implement the SPI instructions manually. Is there a reference for all commands/registers which I can use over the SPI?
I am checking the Chip ordering codes (I bought 2500 Chips from Digikey in January) and hope that they are not affected with the Errata problems. In case they are, what can I do? Send them to Nordic?
Regards, Dominik
The Errata you mention is for Revision 1.
Try to ask DigiKey if they know which revision of the 21540 you receive.
If they are the revision 1, I can not help you with that. Either contact the Nordics sales manager in your region or Digikey about it in that case.
Regards,
Sigurd Hellesvik
Oh, and also, have a look at PA/LNA module documentation, in case you have not seen it yet.
Regards,
Sigurd Hellesvik
thank you, I will implement and try it