# Taiyo Yuden EYSHJNZXZ (nRF52832) not working when using softdevice

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 close delete

Sort by » oldest newest most voted

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().

more

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"
},


...

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.

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

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

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

[hide preview]

## Recent blog posts

• ### Introducing nRF5 SDK for Mesh

Posted 2017-07-20 09:42:44 by Pär H

Posted 2017-07-19 06:53:42 by Mohammad Afaneh
• ### Unique Thread/Bluetooth multiprotocol solution with nRF5 SDK for Thread and nRF52840 SoC by Nordic

Posted 2017-07-14 10:31:56 by Krzysztof Loska
• ### nRF Connect macros (currently Android only)

Posted 2017-07-14 13:29:14 by Aleksander Nowakowski
• ### Power Optimization — From 3 to 7 Months on a Single Charge

Posted 2017-07-10 14:34:39 by Yaniv Nis

## Recent questions

• ### Real UART TX transmit depth?

Posted 2017-07-22 01:21:21 by samsonc

Posted 2017-07-21 19:11:52 by TravisFS
• ### app_timer_freertos.c/app_timer_stop bug?

Posted 2017-07-21 19:11:15 by loquat
• ### Are there any particular practices or instructions should i follow if I want to write a custom library

Posted 2017-07-21 18:13:10 by binhnguyens
• ### fstorage in chosen area

Posted 2017-07-21 18:02:00 by cedric