nrf52810 not ble advertising.. help me

Hello, I'm currently implementing BLE after I made the NRF51810 custom board.
We are testing with the BLE example BLE UART with SDK 17.1.0 VER.

The current setting is as follows.
Soft device: s112_nrf52_7.2.0_soft device.hex
Firmware: ble Uart example 10040e

sdk_config.h
1. NRFX_CLOCK_Activation 1
2. 2. NRFX_CLOCK_CONFIG_LF_SRC 0
3. NRF_CLOCK_Activation 1
4. 4. LOCK_CONFIG_LF_SR 0
5. 5. 5. NRF_SDH_CLOCK_LF_SRC 0
6. 6. 6. NRF_SDH_CLOCK_LF_RC_CTIV 16
7. 7. 7. NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
8. NRF_SDH_CLOCK_LF_Accuracy 1

The code seems to be working normally, but Bluetooth is not advertising.
I'd appreciate it if you could help me with what I can try.

<code>

int main(void)
{

////bool erase_bonds;

//Initialize.
uart_init();
printf("\r\2. uart_init.\r\n");
log_init();
printf("\r\3. log_init.\r\n");
timers_init();
printf("\r\4. timers_init.\r\n");

power_management_init();
printf("\r\6. power_management_init.\r\n");
ble_stack_init();
printf("\r\7. ble_stack_init.\r\n");
gap_params_init();
printf("\r\8. gap_params_init.\r\n");
gatt_init();
printf("\r\9. gatt_init.\r\n");
services_init();
printf("\r\10. services_init.\r\n");
advertising_init();
printf("\r\11. advertising_init.\r\n");
conn_params_init();
printf("\r\12. conn_params_init.\r\n");

////// Start execution.
printf("\r\nUART started.\r\n");
NRF_LOG_INFO("Debug logging for UART over RTT started.");
advertising_start();
printf("\r\13. advertising_start.\r\n");


//// Enter main loop.
for (;;)
{
idle_state_handle();
}

}

<circuit diagram>





Parents Reply
  • Hello,

    ''but the more confusing thing is that the same code works perfectly on the nRF52832 PCA10040 development board'' Do you mean it works on our board but not on your custom board? Then it would be a problem with hardware design.

    I can see my colleague Jared is helping you there. It is better to get help from one platform. We have summer vacation time here. So, there is some unwanted delay. You will get answer next week.

Children
Related