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
1 answer

float to string in C++ using NRF MCU and Zephyr

I simply want to convert a float to string. Normally this is done using C++ standard library with the command to_string(float). However when I program this on my MCU nrf52840 I got garbage. This is the code #include #include…
Yann
  • 67
  • 9
0
votes
1 answer

NRF5 SDK 17.1.0 Threading Model

Ok, so stupid-newby question-time. Is the default thread model in nRF5 SDK 17.1.0 single threaded with exceptions, interrupts, events, running as ISRs in privileged (i.e. higher priority) stack space? Is that specific enough, or am I being too…
Quantium
  • 1,779
  • 1
  • 14
  • 14
0
votes
0 answers

Does MAX3421 need USB drivers?

I am using a NRF52840 and I want to configure it as USB host. For this I am using MAX3421 IC. Now I have implemented the code and it gives me timeout error. For MAX3421 to work does it need some USB class driver initialization?? Currently I haven't…
tink
  • 1
0
votes
0 answers

Code stuck at ".thumb_func .weak HardFault_HandlerHardFault_Handler" on NRF52840 using PCA10056

I'm working on a project using an NRF52840 microcontroller and the PCA10056 development board. When I debug my code, it gets stuck at the following line: .thumb_func .weak HardFault_Handler HardFault_Handler: b when i build the project i get no eror
0
votes
2 answers

How to Programme 3rd Party nrf52832 (DollaTek NRF52832 Bluetooth Module BLE )

I am coming from programming Arduino and want to use NRF52832 - I have found this board which a 3rd party breakout board for NRF52832 - I want to use this so that I can use a similar design for the antenna. Question - I have an ST-LINK programmer…
0
votes
0 answers

NFC with Seeed Studio XIAO nRF52840

I'm trying to use my Seeed Studio XIAO nRF52840 like an NFC reader and like an NFC badge (not at the same time). For this, I have bought an NFC antenna, I soldered the wires to the two slots provided below the card and I have tried the official NFC…
kik_1
  • 11
  • 2
0
votes
0 answers

`region 'RAM' overflowed` error when using lvgl for a Zephyr project

I am getting region 'RAM' overflowed errors when building a Zephyr project using lvgl 8.3 using nRF Connect for VS Code add-in. I see a lot of references to lvgl when building, such as: [352/429] Building C object…
lcj
  • 1,355
  • 16
  • 37
0
votes
0 answers

expression must have a constant value on BT_GATT_SERVICE_DEFINE

I was following this demo and trying to set up BT_GATT_SERVICE_DEFINE on VSCode using nRF Connect and adapt it for the nRF52 DK (52832) I keep getting the following error: expression must have a constant value Here is where I am getting the…
lcj
  • 1,355
  • 16
  • 37
0
votes
0 answers

FreeRTOS Framework not listed for nRF52 Platform in PlatformIO

I am working to create a new board in PlatformIO for PineTime, but have run into a challenge as the nRF52 Platform in PlatformIO but only see Arduino Framework, Mbed, and Zephyr RTOS listed but do not see FreeRTOS. I know projects like InfiniTime…
lcj
  • 1,355
  • 16
  • 37
0
votes
0 answers

How to prevent the application code from getting stuck in forever loop when using SerialFlash library in Arduino-Adafruit framework

I have been working on a project that runs on Adafruit's Bluefruit nRF52 board. I used the SerialFlash library provided by Paul Stoffregen: https://github.com/PaulStoffregen/SerialFlash. This library uses SPI protocol to communicate with the…
0
votes
0 answers

Reserve a part of memory

Currently I am making some code for a Nordic nRF chip. I want to make it power efficient so I am experimenting with it. A part of that is turning memory sections off. So my goal is to power one block of RAM and the rest can turn off. And the data…
0
votes
0 answers

performing DFU OTA using mcumgr in xamarin forms

I am very new to firmware updates and the whole zephyr rtos. I am trying to perform a firmware update using the mcumgr. I ran into some problems. I read the documentation, but it's not very well written and even the autor phrased that it isn't even…
0
votes
0 answers

Event handler for nrf_pwr_mgmt->shutdown_process()

I would like to install an event handler to execute some code before the nRF52 board goes into deep sleep initiated by the NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S. Is there a way to call a function either from the shutdown_process() or…
user14665305
  • 87
  • 1
  • 9
0
votes
0 answers

(IoT) How to use USB interface on available M.2 connector

hope you're doing well. I'm doing a project were I want to plug in a custom board with a Nordic on an internal M.2 B Key connector, to communicate via serial port with the computer where I'll run the connectivity scripts and database. The computer…
0
votes
1 answer

How to read back a value from a test register using SPI interface?

I am attempting to connect the Arducam Mini 2MP Plus to the nRF52840-DK embedded board via the SPIM interface, utilizing bare metal programming. According to the Arducam datasheet, The ArduCAM SPI slave interface is fixed SPI mode 0 with POL = 0 and…