Help with development

Hi

I'm using two nRF5340 Audio DK's for my university project. I'm just trying to familiarise myself with the audio examples by sending audio from one kit to another but I can't figure out how it works.

I've connected both kits to my laptop, edited the json file to say which board gets programmed as what, run buildprog.py with the following command in the right directory: python buildprog.py -c app -b debug -d both -t unicast.

then it took a while and finished 

(for some reason the formatting gets messed up in vs code when you change the size of the terminal but the table looked better when it first loaded)

My issue is that the big RGB LED on the backs of the didn't change colour. Also how do I actually go about sending audio from one to another over BLE?

  • Hi,

    it took a while and finished 

    (for some reason the formatting gets messed up in vs code when you change the size of the terminal but the table looked better when it first loaded)

    The first screenshot seems to be correct showing headset to be configured as FRONT_LEFT. However, this headset is not visible in your second screenshot. You could try to disconnect your FRONT_RIGHT headset completely and reconnect your FRONT_LEFT headset. In addition, you could try to specify core (-c) as "both" instead of "app". There is information in documentation on how to run the script.

    Best regards,
    Dejan

  • Hi Dejan,

    I disconnected the front right headset as I wasn't using it then I tried a few things

    python buildprog.py -c both -b debug -d both -t unicast

    which gave this table. Once again the RGB lights on the boards didn't change to indicate that they were programmed as a left headset (blue) and gateway (green)

    so I tried this command 

    python buildprog.py -c both -b debug -d both -t unicast --pristine -p    

    (adding --pristine and -p)

    and got some errors 

    then I tried this command

    python buildprog.py -c both -b debug -d both -t unicast -p --recover_on_fail

    and got different errors.

    However, this is the first time the RGB light on the gateway has lit up correctly (green)

    then I tried the above command but with a pristine build and still got errors and the RGB on the gateway device stopped lighting up.

  • Hi,

    Which version of the audio DKs do you use?

    Which NCS version do you use?

    Best regards,
    Dejan

  • I'm using two nRF5340 audio DKs both version 1.1.0

    NCS version v3.2.1

    Best regards.

    Lawrence

  • Hi Lawrence,

    Can you please check your cables?
    Try connecting your devices directly to your PC and avoid using USB hub.

    Can you try to build and program headset (FRONT_LEFT) separately?

    Do you see any difference in result when programming devices one by one vs programming concurrently?

    Just to make sure that your boards are working fine and that you can program something on them, can you try to flash hello_world sample and check the result?

    Best regards,
    Dejan


Related