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

sample code of nrf51822

Hi.

I bought the nrf51822 kit, and I have questions to ask.

  • I know that there are many sample code provided by nordic.

I know that the sample code will run in nRFgo studio.

Can I run this sample code in c or c ++?

What if I can do it?

How does this relate to jlink's company segger?

Segger uses c or c ++, but I do not understand.

  • Is there sample code to set the transmit power and advertising interval of ble?

I want to code this part, but I do not have a sample code, so I have a problem.

Maybe my questions are hard to understand because I am still not enough, but please answer.

Best regards,

  • Hello sy

    I recommend you read this post. There are several tutorials here on both Bluetooth Low Energy and our SDK.

    The language used in Nordics SDK is C.

    On the nRF51 DK (pca10028) you connect to your computer using the USB. The interface MCU receives data from the USB, and will handle the flashing of the nRF chip. If you wish to use a Segger device you can use the "Debug In" port (P18 on the DK) to program the chip, bypassing the interface MCU. For the pca10028 user guide see this link.

    Best regards

    Jørn Frøysa

Related