This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use nRF5 SDK to program bare nRF52832, not development board?

Hello,

I am starting development on what should be a straightforward application using the nRF52832. It is actually this BLE module, which contains the nRF52832. However, starting to develop on the device has been a bit of a pain. I am having trouble using Segger Embedded Studio because it won't detect my J-Link Mini programmer. Instead, I started looking into development on the Keil uVision application. 

The problem that I'm having is that it seems like all of the examples are meant to be used with the Nordic development boards, and not the plain board. I know they have board definitions in a header file, but a plain nRF52832 is not included. Is the only way to flash a program to my module is by me defining a custom board type and then flashing it?

Thank you

Parents Reply
  • They work the same there is no required board definitions.  The different with bare module is that no I/O are being use so you can use any.  Some pins map are defined in boards folder of the sdk.  You can define the pins you are using based on that.  One thing to be aware of is whether the module has the 32768 Hz crystal and the DC/DC builtin are not.  All SDK examples use them. If you module does not have it, you'll need to change the code to use internal RC and not activating the DC or you can add them on your PCB.

Children
Related