Help Needed: BLE Not Working on nRF52810 (Tried Zephyr & nRF5 SDK)
Hi everyone,
I really need help getting BLE working on my custom board with the nRF52810. I've been trying both Zephyr and the nRF5 SDK (using SEGGER Embedded Studio) but nothing has worked so far.
What Works
-
I’ve confirmed that my board is functional:
I can toggle an LED using GPIO. -
I’m able to flash code via SEGGER Embedded Studio.
What’s Not Working
-
BLE isn’t advertising or connecting.
-
All BLE examples I try (especially on Zephyr) either:
-
Run into memory issues, or
-
Don’t work on my target hardware.
-
-
With nRF5 SDK, I can flash successfully but nothing shows up in nRF Connect.
What I Suspect
-
Something may be wrong in my software setup.
-
Possibly incorrect clock settings (I'm using both 32 MHz and 32.768 kHz crystals like in Nordic's reference design).
-
BLE examples might be too heavy for the nRF52810's memory (192 KB Flash / 24 KB RAM).
️ My Setup
-
Board: Custom nRF52810 board (based on Nordic reference schematic)
-
Crystals:
-
32 MHz HF XTAL
-
32.768 kHz LF XTAL
-
-
Toolchain Attempts:
-
SEGGER Embedded Studio with nRF5 SDK 17.1.0 (S112 SoftDevice)
-
Zephyr + West (examples too large, RAM overflow)
-
What I’m Looking For
-
A step-by-step setup guide that is confirmed to work on the nRF52810
-
Minimal BLE example (e.g. advertising-only or Blinky)
-
Proper
sdk_config.h
orprj.conf
settings -
Advice on reducing memory footprint
-
Confirmation that my clock settings are correct
My sdk_config.h
Clock Settings (nRF5 SDK)
#define NRF_SDH_CLOCK_LF_SRC 1 // XTAL
#define NRF_SDH_CLOCK_LF_RC_CTIV 0
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 0
#define NRF_SDH_CLOCK_LF_ACCURACY 1 // 20 ppm
#define CLOCK_ENABLED 1
#define CLOCK_CONFIG_XTAL_FREQ 0 // Default (64 MHz)
Questions
-
Are there any minimal BLE examples (for Zephyr or SDK) that actually work on nRF52810?
-
Have I missed something in the clock or SoftDevice setup?
-
Is Zephyr too heavy for nRF52810 even with optimizations?
-
How do I strip down BLE configs to fit into 192KB Flash / 24KB RAM?
Any help would be hugely appreciated. If you’ve gotten BLE working on the nRF52810, please share your setup!
Thanks