Can Zigbee coordinator and Bluetooth host run together on nrf52840

SDK used :NRF Connect SDK

MCU:NRF52840

Problem:In the NRF Connect SDK, I only see the dual protocol of Zigbee End Device and Bluetooth slave ("light_switch" example).Is there a possibility of Zigbee coordinator+Bluetooth host? If possible, what should I do?

I really hope you can answer this question. thank you!

Parents Reply
  • I thought it would be as easy as using the overlay file that you already get with the other samples that are supported for BLE coexistence to a higher degree. I just tried building it with the configuration overlay file that comes with the light switch sample now, and that seems to work.

    Try building the network coordinator sample with this overlay for instance:

    # BLE configuration
    CONFIG_BT=y
    CONFIG_BT_SMP=y
    CONFIG_BT_PERIPHERAL=y
    CONFIG_BT_DEVICE_NAME="Zigbee_Switch"
    CONFIG_BT_DEVICE_APPEARANCE=833
    CONFIG_BT_MAX_CONN=1
    CONFIG_BT_MAX_PAIRED=1
    CONFIG_BT_PHY_UPDATE=n
    
    # Enable the NUS service
    CONFIG_BT_NUS=y
    
    # Enable bonding
    CONFIG_SETTINGS=y
    CONFIG_BT_SETTINGS=y
    
    # BLE uses ECB peripheral directly
    CONFIG_CRYPTO=n
    CONFIG_CRYPTO_NRF_ECB=n
    

    For further reading, have a look at the section on BLE coexistence from our light switch sample, and this page on coex in general.

    Regards,

    Elfving

Children
Related