This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Creating a Central device

Hallo Community,

I am new with Nordic chips, now Im trying to develop a BLE central, then i took the BLE_CENTRAL BLE_APP_UART example to start doing it, the SDK is the SDK13, the boards PCA10040 and using Eclipse neon. But when I flash the board with the project, it 's any connectiong with my BLE peripheral.

I am printing some some, during the code in order to figure out if the code is working, I know is not the best debugging, I got problem in ble_stack_uint, more precise here:

    NRF_LOG_INFO("Clock_.\r\n");
nrf_clock_lf_cfg_t clock_lf_cfg = NRF_CLOCK_LFCLKSRC;

NRF_LOG_INFO("SD handler_.\r\n");
// Initialize the SoftDevice handler module.
NRF_LOG_INFO("SD handler_1.\r\n");
SOFTDEVICE_HANDLER_INIT(&clock_lf_cfg, NULL);
NRF_LOG_INFO("SD handler_2.\r\n");

Something is happening with SOFTDEVICE_HANDLER_INIT becuase the next log_info is not dispaying anything in the RTT windown.

Do you have any idea what is going on?

Regards, David Caraveo

Parents
  • Have you tried to follow the Getting started guide ? If you flash the precompiled hex file, would it work ?

    Could you provide your hex file ? Which exactly Softdevice did you flash ?

    I would suggest you to compile and test using GCC and make first, before you test on Eclipse. "No source available for" suggest the the project was not configure properly in Eclipse.

    Please try to test with normal ble_peripheral first , it's easier to verify if the board work properly with peripheral code. The device should advertise after programming.

Reply
  • Have you tried to follow the Getting started guide ? If you flash the precompiled hex file, would it work ?

    Could you provide your hex file ? Which exactly Softdevice did you flash ?

    I would suggest you to compile and test using GCC and make first, before you test on Eclipse. "No source available for" suggest the the project was not configure properly in Eclipse.

    Please try to test with normal ble_peripheral first , it's easier to verify if the board work properly with peripheral code. The device should advertise after programming.

Children
No Data
Related