Error in nRF5340 Audio DK sample application

I've been studying the CS47L63 register configuration file (cs47l63_reg_conf.h) included with the nr5340_audio application in extremely fine detail, and have discovered what I believe is an error.

The CS47L63 features two separate Audio Serial Ports (ASP1 and ASP2) on eight of its GPIO pins. ASP1 is correctly configured on pins 1-4 by setting each of their function registers to GPn_FN=0 (alternate pin-specific functions).

However the ASP2 GPIO pins 5-8 are seemingly incorrectly configured with their registers set to GPn_FN=1 (logic-level outputs), meaning that even if ASP2 is enabled, the P11 connector pins on the nRF5340 Audio DK labeled "Aux I2S" will never transceive their documented signals.

Shouldn't the ASP2 GPIO pins be configured to GPn_FN=0 just like the ASP1 GPIO? Is there a reason they've been disconnected from ASP2? I understand that they can be repurposed to output other interrupt and status signals, but shouldn't their default configuration match their labels and documentation?

Am I missing something, or did Nordic?

  • Hi,

    Thank you for providing additional information. We will look into this internally. 

    Best regards,
    Dejan

  • Hello,

    Dejan is out, but I am just pitching in some background to the way it is.

    The ASP2 port is not used by the default audio application. So, the use of this port is up to the user, and as such I guess there is no right or wrong configuration of it. As you rightly argue, the silk screen and schematic does label this as an ASP port, but as this can be both GPIO in, GPIO out, ASP in and ASP out, we opted for the labeling that we have.  Please configure this port as you like in your application.

    ace.johnny said:
    Do I at least win a bug bounty t-shirt? :)

    Ohhh... that could be a interesting thing to have. I will take a note of whether this could be something we could have.

    Kenneth

Related