SLAU902A September 2023 – January 2024
GPIO2 has many output configuration options through J42 header, but only one setting is allowed at a time. GPIO2 can be configured for general purpose output, a PDM/Digital MIC clock or data or as a second audio serial interface (ASI2). For Audio Serial Interface, GPIO2 can be configured as either the WCLK, BCLK, DIN or DOUT in controller or target mode. In controller mode, GPIO2 can be configured to receive MCLK as well. This is shown in the figure below.