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?

  • One of the reasons I invested in the nRF5340 Audio DK was as a way to learn Zephyr using what I assumed was a well-documented and software-supported development kit focused on a subject I was interested in.

    There is exactly one example application for this board, so complicated and byzantine that it can't even be built without dedicated scripts, and while it adequately showcases the 5340's impressive BLE Audio capabilities, it can't be used as a reference guide on how to use any of the DK's other features.

    Nordic doesn't even seem to know how to program the codec's DSP peripheral (which was a major selling point for me). I understand that the board's purpose is development, but every step in this learning process has been agony.

    My modest suggestion that Nordic consider at least making the example code match the silkscreen so that beginners can study it doesn't seem unreasonable to me, though I appreciate you taking the time to explain the rationalization.

Related