Questions tagged [nrf52]

The nRF52 is a series of system on chips (SoCs) from Nordic Semiconductor suited for Bluetooth Low Energy and ANT operations. The chips are built around a 32-bit ARM Cortex M4F CPU.

The nRF52 is a series of system on chips (SoCs) from Nordic Semiconductor suited for Bluetooth Low Energy and ANT operations. The chips are built around a 32-bit ARM Cortex M4F CPU [1].

[1] https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52832

169 questions
0
votes
0 answers

How to get nRF52840 to communicate with browser via webusb using TinyUSB?

I don't have a lot of experience with embedded devices or in-depth knowledge of programming. I have worked mostly with Arduino. Recently I got a SAMD21 board to work with webusb by selecting Arduino from USB Stack as well as using TinyUSB from USB…
jar
  • 2,646
  • 1
  • 22
  • 47
0
votes
0 answers

How to program an nRF52 DK to send BLE MIDI message when I push a button?

I'm new developing using real C language. I have more experience using Arduino. I'm trying to send a MIDI message over Bluetooth MIDI when I push one of the buttons of my Nordic nRF52 DK. But I'm not being successful. How can I do that? I tried to…
joaneves
  • 1
  • 2
0
votes
0 answers

How to connect my central device to a peripheral running custom service?

Hi i have used this tutorial : https://github.com/bjornspockeli/custom_ble_service_example to make a custom service on one of the peripheral. I have the EVK kit NRF52832 with PCA 10040. I'm using the standard sdk example of central/ble_app_gatts in…
0
votes
1 answer

How can i make sure my BLE peripheral (NRF52832) gets reconnected again after i have unpaired it?

A little new to NRF52, so please pardon if this turns out to be a noob question. I'm using nrf52832 as a peripheral and loading the standard SDK peripheral example of GATTS ( any other does result in the same). After configuring that device i try to…
0
votes
0 answers

Recasting a variable address as an integer

As per the NRF52840 microcontroller datasheet, the packet pointer is the "packet address to be used for the next transmission or reception. When transmitting, the packet pointed to by this address will be transmitted and when receiving, the received…
KC Engel
  • 43
  • 1
  • 8
0
votes
1 answer

what is nRF UART and what all I need to implement an nrf UART app on NRF52 DK?

I have an nrf52 board I was able to connect to board via USB. I downloaded a hardware profile to check the functionality and the device acted like a BLE and I was able to communicate with it. But someone said to implement UART on the device now i am…
iOSBoy
  • 13
  • 3
0
votes
2 answers

OpenThread otCoapSendRequest issue

I have started to work with OpenThread with a Nordic DK. I am working with the BLE/Thread coap example that I modified in order to be a FTD instead of a MTD. Also, on one of my devices, the CoAP is configured as a server. I figured out that when I…
0
votes
1 answer

Openthread CLI UDP communication from main.c (NRF52840)

We are working with NRF52840 dongles and want to be able to have them relay data over an OpenThread mesh network through UDP automatically. We have found within the OpenThread API a solid Udp.h library with all the Udp functions we need to create…
0
votes
0 answers

No clock signal at the SCL pin of Sparkfun nRF52832 breakout board

I am trying to use the Sparkfun nRF52832 breakout board as a master in I2C communication. I am using Arduino IDE to program the module. I defined pins 24 and 25 as SCL and SDA, respectively, and used wire.begin() in the setup to configure it as a…
0
votes
2 answers

I2C pins of nRF52832 Sparkfun breakout board require pull-up resistors?

I am trying to use press buttons via I2C using nRF52832 Sparkfun breakout board. I followed the steps given in nrf52832-breakout-board-hookup-guide and changed the I2C Data and CLK pins to 24 and 25, respectively. I connected these pins and GND of…
0
votes
0 answers

No RTC pin signals with SparkFun nRF52832 Breakout

I'm using the SparkFun nRF52832 Breakout to use the RTC signal for a sensor pressure clock line. Unfortunately, on the two RTC pins, there are no signals. To verify this point, I used an oscilloscope to read pins 0 and 1. Besides, I also created a…
Ugo
  • 11
  • 1
0
votes
1 answer

Beginner setup of a nrf52840 dongle

I bought a nordic nrf52840 dongle and I am trying to program it using the nRF connector. I have followed this tutorial https://electronut.in/nrf52840-thread/, and after I create the application.hex I need to flash it in the dongle. However when I…
0
votes
1 answer

Extern "C" error expected '=', ',', ';', 'asm' or '__attribute__' before 'int'

I am trying to include a compiled library into a C project on a Nordic nrf52840. Below (as far as I understand) is a way to link to some of the methods foo and bar within the .lib file for the rest of the project. When Trying to compile this with…
luckyging3r
  • 3,047
  • 3
  • 18
  • 37
0
votes
1 answer

Ellipsis issue with va_start() on nRF52840

I want to retreive my args from an ellipsis using va_start. Here is my code : char str[256]; void nrf_log_flash(bool is_to_save, char * log, ...){ va_list args; va_start(args, log); int ret = vsprintf(str, log, args); …
Firerazzer
  • 192
  • 1
  • 13
0
votes
2 answers

Multi connection of BLE 6LoWPAN Border Router

I am struggling to make BLE connetion with raspberry pi 3. When I make 1:1 connection, it works fine. root@raspberrypi:~# hciconfig hci0 leadv root@raspberrypi_SLAVE:~# echo "connect B8:27:EB:5D:C6:1E 1" >…