HOW DO I SET UP BLE WITH NRF XIAO BLE SENSE zephyr?

Hi!

I’m developing an application using nRF SDK 2.9.0 with the Xiao BLE Sense. I created a new project based on Zephyr’s UART peripheral example.

The application runs perfectly on the nRF52840 DK. It also builds successfully for the Xiao BLE Sense. However, when I deploy it to the Xiao BLE Sense, BLE does not work.

debugging it gets tuck to uart_callback_Set():

	err = uart_callback_set(uart, uart_cb, NULL);
	if (err) {
		k_free(rx);
		LOG_ERR("Cannot initialize UART callback");
		return err;
	}

I suspect I might be missing some configuration steps. Could this be related to the device tree (DTS) or some board-specific settings?

What additional steps should I take to get BLE working properly on the Xiao BLE Sense?

Thanks in advance!

Parents
  • Hello,

    Can you share the prj.conf file of your application? Try including the configurations below inside prj.conf and see if this resolves the issue. I don't have this particular board you are using So I have some limitation testing this on my end.

    CONFIG_UART_ASYNC_API=n 
    CONFIG_SERIAL=n 
    CONFIG_UART_CONSOLE=n 
    

    Kind Regards,

    Abhijith

  • okey, i will try it. However, the same project with the DK works well, meanwhile with the xiao blee seed does not. since the problem is the board, i do not think the problem is the prj.conf right?

    additionally, i have disabled the uart and i have the application working on the xiao seeed board (BLE working). 
    My goal is also to have the uart activated in the near future.

    Thanks!

Reply
  • okey, i will try it. However, the same project with the DK works well, meanwhile with the xiao blee seed does not. since the problem is the board, i do not think the problem is the prj.conf right?

    additionally, i have disabled the uart and i have the application working on the xiao seeed board (BLE working). 
    My goal is also to have the uart activated in the near future.

    Thanks!

Children
No Data
Related