5340 audio change to right channel

Hello

nRF5340-audio-DK, NCS2.0.2, VScode

press BUTTON_VOLUME_UP then button reset,can't change to channel right.

    if (CONFIG_AUDIO_DEV == HEADSET) {
        ret=channel_assignment_set(AUDIO_CHANNEL_RIGHT);
        if(ret)printk("set channel right err:%d\n",ret);
    }

change to channel right failed, return -30

  

another question,  5340-audio can DFU?

  

Best regards

Parents Reply
  • Hi

    In order to change between headset and gateway you can set CONFIG_AUDIO_DEV in your prj.conf file. 

    Set it to 1 for headset and 2 for gateway, as described in the Kconfig file:

    config AUDIO_DEV
    	int "Select which device type to compile for. 1=HEADSET or 2=GATEWAY"
    	range 1 2
    	default 1
    	help
    	  Setting this variable to 1 selects that the project is compiled
    	  as a HEADSET device.
    	  Setting to 2 will compile as a GATEWAY.

    Best regards
    Torbjørn

Children
Related