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?