HackinSpock
Member
Hi there. I recently purchased the teensy 4.x audio board and will be using a teensy 4.1 for this project. Unfortunately, I have already used some of the pins that would have been used by the audio board, so I need to remap. (I will be using the built-in SD for the 4.1). Here is the remapping I decided on:
AUDIO BOARD => Teensy 4.1
DIN (p7) => RX7 (p28)
DOUT (p8) => TX8 (p29)
Gnd => Gnd
3.3v => 3.3v
MCLK (p23) => MCLK1 (p23)
BCLK (p21) => BCLK1 (p21)
LRCLK (p20) => LRCLK (p20)
SCL (p19) => SCL1 (pin 16)
SDA (p18) => SDA1 (pin 17)
So the main difference is that the pins for DIN/DOUT and SCL/SDA are configured to different pins on the 4.1. I downloaded the audio library and began looking through the various classes and am a bit overwhelmed on how to change these pin declarations. I'll keep at it at the meantime, but I was wondering if anyone has any recommendations to make this process go smoother, or if there is an easier way to change the pins in the library.
Thank you for your time.
AUDIO BOARD => Teensy 4.1
DIN (p7) => RX7 (p28)
DOUT (p8) => TX8 (p29)
Gnd => Gnd
3.3v => 3.3v
MCLK (p23) => MCLK1 (p23)
BCLK (p21) => BCLK1 (p21)
LRCLK (p20) => LRCLK (p20)
SCL (p19) => SCL1 (pin 16)
SDA (p18) => SDA1 (pin 17)
So the main difference is that the pins for DIN/DOUT and SCL/SDA are configured to different pins on the 4.1. I downloaded the audio library and began looking through the various classes and am a bit overwhelmed on how to change these pin declarations. I'll keep at it at the meantime, but I was wondering if anyone has any recommendations to make this process go smoother, or if there is an easier way to change the pins in the library.
Thank you for your time.