DEVZONE BLOG FEED

Nordic Developer Zone - The Nordic developer’s best friendThe original goal of Nordic Developer zone was to create a resource for our customers that would complement direct Nordic technical support. It should simplify and help them with their design efforts. It should be a place where everyone can contribute, Nordicers and our customers and partners alike. It had a simple mantra – ‘Ask questions, share info, and be inspired’. As Nordic Developer Zone enters its 4th year, we can safely say i...

IntroductionThis example shows a simple GPIO driver for seamless handling of the GPIO and GPIOTE peripherals of the nRF52 series. This example is particularly intended for developers who wish to develop their own driver. The code is available on GitHub at the following URL: https://github.com/NordicSemiconductor/nrf52-drv-gpio-example.Keil GUI pointersThe figure below points out the important Keil GUI buttons for running this example. Steps to run the exampleFollow these steps to run the example: E...

 TL;DRIf you just want to navigate (without debugging) through the nRF5-SDK using CLion, follow the following steps. For debugging go to “Debugging the nRF52 with CLion” in the full post. (optional) Create a backup for your current nrf5-SDK directory cd into the root of the nrf5-SDK directory curl -s https://raw.githubusercontent.com/Jumperr-labs/nrf5-sdk-clion/master/nrf5-sdk-to-clion.sh | bash Open “./CMakeLists.txt” and uncomment the desired project’s path (you can uncomment multipl...

DEVZONE FORUM

Hi,Reading from flash, an already programmed key, returns zero. Using sdk 12.1, sd s132_nrf52_3.0.0, nrf52832, and pstorage. The key is programmed after uploading the fw, image using jlink. Please advise if I am missing any other api calls or if pstorage api would be the recommended way (please provide pstorage sample to register two pages).Thanks in advanced. void read_key_from_flash(void) { uint32_t err_code; uint32_t page = 118; //offset 0x76000 uint8_t word_count = 8; //number of 32 bits words read ui...

Hello,I'm working on an application where we have a number of sensors and a radio that each require a connection to the nRF52. Specifically, 4 of these peripherals need a SPI connection to the nRF52 and one needs an I2C connection. We can put two of the peripherals on the same SPI bus with very little issue, since the two peripherals operate at strictly different times. The other 2 SPI peripherals need to be checked at approximately 1 kHz and 100 Hz, respectively (we need to read data out of a buffer befo...

Our current project (custom nrf52 board SDK12.2) is set up as a peripheral device with the phone being the central device. This nrf52 device is plugged in and power consumption is not an issue.We would like to have more than 1 phone be able to be connected to the nrf52 device at one time and make settings changes.Am I correct in my assumption that the nrf52 set up as a central device can handle multiple connections?What changes in my program will need to be made when changing an existing project from peri...