AutoPTS setup on nrf5340

Hello,

We are trying to test our product for qualification purposes. I found documentation for configuring a Windows environment on the nrf52 series and trying to apply it to nrf5340.

The project sits in zephyr/tests/bluetooth/tester, and seems like it has an overlay and .conf files appropriate for the nrf5340, but the README lacks information on how to actually flash it.

there are some references to hci_ipc (ipc_radio in the newer SDK?) but the network core image does not get built like it does in the various sample projects that use Bluetooth. I am hoping you can give me some pointers on how to set everything up so we can run some of the tests via AutoPTS.

I have seen some relevant discussion in case 334059.

Thanks!

  • This tester project in zephyr has some references to the nrf53 and 54 series via .overlay and .conf.

    I am using an actual Windows machine and not a VM. The PTS dongle is connected to that machine and the PTS software recognizes it.

    I managed to compile and build to nrf5340dk/nr5340/cpuapp (not ns). I know it runs since when I spam the uart (it reads commands through it) it prints "[00:01:55.353,576] <err> bttester: BT tester: invalid packet length" on the RTT. 

    Perhaps we can schedule a meeting on how to make this (or any other way of running qualification tests) work. I would very much appreciate it if we can go through the configuration and double check it.

    Thanks,

  • Hello Ran,
    There's a dongle supported from Bluetooth SIG here: https://store.bluetooth.com/products/profile-tuning-suite-pts-testing-equipment-dongle Is there a reason for why you're not using that for the qualification purposes? I'm asking as I'm not sure what your motivation for doing the Zephyr AutoPTS is.
    As I said previously, we're not familiar with the example you are working on, so it's limited what we can support you with. The nRF5340 is a dual core device and the default zephyr projects often omit the radio core/BLE stack features when they're being built. So there's a good argument for using the nRF52 device as it's a single core and will build with the guide you're looking at.
    Have you tried contacting the Zephyr discord channelhttps://docs.zephyrproject.org/latest/project/communication.html. You might be able to find some better information on how to convert the HW usage of the Zephyr example there.
    Best regards
    Asbjørn
Related