Taiyo Yuden EYSHJNZXZ (nRF52832) not working when using softdevice

newacecorp gravatar image

asked 2017-03-16 20:37:53 +0200

updated 2017-03-16 20:38:48 +0200

I am able to run nRF5_SDK_12.2.0/examples/peripheral/blinky using the armgcc toolchain without any issues but any example with a soft device enabled (e.g. nRF5_SDK_12.2.0/examples/ble_peripheral/ble_app_beacon) does not show up using LightBlue or nRF Toolbox. If I modify the sample code to turn on an LED as the first instruction in the program, it never gets there.

I have the same problem running the mbed5 blinky example (using mbed-cli instead of nordic SDK/armgcc). This works fine on a nRF52-DK but not on the EYSHJNZXZ. I am aware that mbed5 includes the s132 2.0.0 soft device, which tells me that the moment a program image includes the softdevice it won't run on the EYSHJNZXZ module.

What am I missing? Are there any special considerations for using the Taiyo Yuden module compared to a stock nRF52832? I'm at a loss. Any assistance would be greatly appreciated.

edit retag flag offensive close delete report spam

2 answers

Sort by » oldest newest most voted
Kristin gravatar image

answered 2017-03-20 09:15:13 +0200

All the SDK examples are set up to by default use external 32 kHz crystal. If the modules doesn't have an external 32 kHz crystal, you need to change the LFCLK clock source in ble_stack_init().

edit flag offensive delete publish link more
newacecorp gravatar image

answered 2017-03-20 14:22:13 +0200

Hello Kristin,

Thanks for the feedback. For the benefit of others, when using MBED (OS5), I determined that the define MBED_CONF_NORDIC_LF_CLOCK_SRC needed to be changed to NRF_LF_SRC_SYNTH so that it derives a 32KHz clock from the 32MHz crystal. This seems to work for all MBED examples, including "blinky" and "ble-LED".

targets.json: (MCU_NRF52 section)

"config": {
            "lf_clock_src": {
                "value": "NRF_LF_SRC_SYNTH",
                "macro_name": "MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC"


edit flag offensive delete publish link more


Another option is to use the internal RC oscillator instead of the synthesized clock. The synthesized clock requires the 32 MHz crystal to run all the time, while the RC oscillator doesn't. The RC oscillator will therefore use less current.

Kristin ( 2017-03-20 14:31:26 +0200 )editconvert to answer

Good point! In that case the define would be NRF_LF_SRC_RC.

NewAce ( 2017-03-20 14:41:40 +0200 )editconvert to answer

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

Question Tools

1 follower


Asked: 2017-03-16 20:37:53 +0200

Seen: 207 times

Last updated: Apr 25