Zigbee support by Bsim simulator

Dear fellow developer 

Based on the Bsim description, it should be able to support emulation on zigbee since the hardware running is supported and implemented.
But i could not compile the zigbee samples successfully on bsim simulator due to the following conflict: This combination of SoC and floating point ABI is not supported by the SoftDevice Controller lib. and also the mpsl library support. 

I was wondering is there a way to solve this problem?

Parents
  • Dear Edvin 

    Noted on this, thanks for the help. 
    In this case, i was wondering whether the construct of packet data (aka the mac layer) requires the proprietary softdevice control or it is read from certain registers? if it does not requires the proprietary library like the mpsl may be i can disable that or by pass that to make the emulation running? Any advice on this would be really helpful.

    Thanks 

  • Hello,

    We are talking about Zigbee still, right?

    If you are not using BLE at all, then the Softdevice Controller will not be used. However, the MAC layer packets in the Zigbee applications are constructed by the Zboss stack, which is actually a 3rd party stack. It is also not open source, so I don't have anything to point to here. 

    Aaron_10086 said:
    proprietary softdevice control or it is read from certain registers

    Apart from the MAC address itself, I dont think you can read any registers. At least not during runtime. 

    You can probably read out the address using the FICR registers (not sure what chip you are using, but here it is for the nRF52840:

    https://docs.nordicsemi.com/bundle/ps_nrf52840/page/ficr.html

    Best regards,

    Edvin

  • Hey guys,

    facing a similar issue, but i use BLE on an nrf52833, not Zigbee.

    I defined some tests and when I try to run

    west twister -T tests/ble_driver/advertise/ -p nrf52_bsim

    a similar error that is get is:

    CMake Error at ~/ncs/v2.8.0/nrfxlib/softdevice_controller/CMakeLists.txt:34 (message):
      This combination of SoC and floating point ABI is notsupported by the
      SoftDevice Controller lib.

    In the ~/ncs/v2.8.0/nrfxlib/softdevice_controller/CMakeLists.txt I added this to be printed:

    softdevice_controller_variant: peripheral
    SOFTDEVICE_CONTROLLER_LIB_DIR: ~/ncs/v2.8.0/nrfxlib/softdevice_controller/lib/bsim_nrf52/soft-float
    SOFTDEVICE_CONTROLLER_LIB: ~/ncs/v2.8.0/nrfxlib/softdevice_controller/lib/bsim_nrf52/soft-float/libsoftdevice_controller_peripheral.a

    This means it tries to access folders not present. The only things present are:
    ~/ncs/v2.8.0/nrfxlib/softdevice_controller/lib$ ls
    nrf52  nrf53  nrf54h  nrf54l  nrf54l_ns
    

     So bsim_nrf52 is not there. Do you have any ideas?

  • You can't use the bsim with the softdevice controller unless you have the source code. However, the softdevice controller is not open source, so you need to use Zephyr's Bluetooth stack.

    Best regards,

    Edvin

Reply Children
No Data
Related