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
1
vote
0 answers

Write to RTT using pylink-square library

Using this example of the pylink git repo, I am able to send commands to my Nordic Board and control it over the RTT. Now, I derived my own little python script from this example, where I want to send one command: def write_rtt(): jlk =…
ilja
  • 109
  • 7
1
vote
1 answer

How to configure device type in bluethooth advertising package?

I'm developing a custom bluetooth keyboard. It works now smoothly, but there's one thing I can't figure out. In macOS bluetooth settings page, the icon doesn't properly imply its device type. AirPods Pro and Logitech M590 mouse do the job…
Leo
  • 13,428
  • 5
  • 43
  • 61
1
vote
0 answers

Is there an example FreeRTOS blinky app for nRF52 DK using VSCode?

I am just getting started with embedded programming using a nRF52 DK and want to use FreeRTOS, but am struggling with a simple example to follow. All of the examples in the Nordic SDK are Zephyr. Is there a simple blinky example for nRF52 DK using…
lcj
  • 1,355
  • 16
  • 37
1
vote
1 answer

My GPIOs in the overlay file are not defined in devicetree_generated.h, zephyr fails

I am trying to use Zephyr (v.3.2.99) for a small application on the nRF52840 Dev Kit. I set up an overlay file nrf52840dk_nrf52840.overlay that is being read and processed by cmake. I get the devicetree_generated.h but it lacks the definition of…
jfarjona
  • 144
  • 1
  • 7
1
vote
1 answer

Send Battery Level notifications to nRF Connect app when battery level reaches certain level

I am new to BLE and I need help with Battery Service notifications. I am using nrf52840dk, nrf sdk 17.1.0 and I am using ble_app_proximity example which already uses Battery Service. I need to send a pop up notification from device to nRF Connect…
1
vote
2 answers

ArduinoBLE Library - Disconnected Event does not fire

This is my setup. An ESP32 running as BLE Server An nRF52840 mbed board (XIAO BLE Sense) running as BLE Client The problem is on the Client Everything seems to work apart for the Disconnected event... This is the code I almost copy/pasted from the…
1
vote
0 answers

Creating sniffer for OpenThread leads to error

I'm trying to build a sniffer for an OpenThread network using this tutorial. I built the openthread/ot-nrf528xx binaries using the USB_trans-Flag, flashed the ot-rcp.hex-File onto a Adafruit Feather nrf52840 and disabled the MSD. After that I…
Emily
  • 39
  • 3
1
vote
1 answer

Does Zephyr support sending non-IP traffic over 802.15.4?

I have an IoT application that requires me to send 802.15.4 packets without any higher level protocols. We have a small packet specification implemented in native C so all I need is to add a payload to a packet and send it over the radio (there will…
Dan
  • 176
  • 1
  • 11
1
vote
1 answer

when the µc (nRF52840) is passing into sleep mode how can we save Data that we want to use later when he's up?

I m working on an nRF52840 µc ,the µc will be woken up every 3 hours and i have to save a data(4bytes) into a tab[16] so i can send those 16 values later after 2 days.
1
vote
1 answer

Peripheral read vs RAM read + RAM write

I was debugging critical code with IOs and I came across a dilemma : What's the quickest between those two functions ? In which function will my CPU spend less time ? A : CPU reads a peripheral register and writes in peripheral register void…
GabrielT
  • 397
  • 6
  • 17
1
vote
0 answers

How can i setup my OpenThread device running MQTT-SN clients examples to connect to AWS IoT Cloud

I am currently building a open thread based application using nRF5 SDK for Thread and nRF52840 development kits. I have chosen MQTT-SN as my application level protocol to communicate with cloud. All my thread devices are sending data to Eclipse Paho…
1
vote
0 answers

Double pairing request with android. Receive two callbacks sspRequestCallback

I am testing several phones with a specific App that I can connect to my nRF BLE device. Some phones pair nicely but others do not pair as expected. They display two pairing requests. I have checked and found, my BLE device only sends one pairing…
1
vote
1 answer

HCI_UART on NRF52840, attaching the device on a Yocto based Linux SBC errors out saying "Can't init device hci0: Cannot assign requested address (99)"

I am trying to Interface a BLE module based on Nordic's nrf52840 to a Yocto based SBC, to which all the BlueZ related packages have been added. I have flashed Zephyr's sample hci_uart program onto the module. The module seems to run perfectly on my…
1
vote
0 answers

Bluezero / BlueZ slows after making connections with multiple peripheral bluetooth devices

We have a Python application that connects to 10 BLE devices at a time and performs a manufacturing test. Here is the work flow of the test:  Connects to the first of 10 devices.  Reads and writes to a few characteristics one of which reboots the…
Owen
  • 11
  • 2
1
vote
1 answer

NRF BLE chip, with bonding - bt-agent in NoInputNoOutput mode can't "forget" device

First little project at a new place and I'm having some trouble - hoping I can get some ideas. We have a BLE device using an NRF chip one which we've just enabled security and bonding. We're hoping to get our linux test fixtures set up so that the…
1
2
3
11 12