Can I programmatically swap pin 21 and pin 23 functions? (TDM interface)

eryvh

Member
Hi everyone,

I'm using the Teensy 4.1 Audio Library for a project with a TDM microphone.

On my custom PCB, I made a mistake and wired the microphone's BCLK input to pin 23 (MCLK) instead of the library's default pin 21.

Before I attempt a difficult hardware modification on the finished board, I have a simple question:

Is there a direct way to programmatically swap the functions of these two pins, so that the TDM BCLK signal is output on pin 23?
 
Back
Top