Which pins does the Audio Shield use exclusively?

Salchicha

Active member
I'm using Teensy 4.1 and I want to add the Rev D2 audio shield, but some the pins it connects to are already being used, does the shield need exclusive access to all of the pins it connects to or are there some I can connect other things to as well? The pins I need alternatives for are marked ***

NeoTrellis: 19 ***, 18 *** (I've tried to use the SCL2 and SDA2 pins but cant get it to work).

IL9341 Display

#define TFT_DC 9 ***
#define TFT_CS 10 ***
#define TFT_RST 8 ***
#define TFT_SCK 13 ***
#define TFT_MISO 12 ***
#define TFT_MOSI 11 ***
#define TOUCH_MOSI 26
#define TOUCH_MISO 39
#define TOUCH_SCK 27
#define TOUCH_CS 38

The alternate pins listed on the IL9341 info page are 9, 15, 20, 21 but these are all used by the audio sheild.
 
If you look at audio shield product page, there is a table that defines what pins that are used by the audio shield: https://www.pjrc.com/store/teensy3_audio.html
Audio Shield
Signal
Rev D, D2
(Teensy 4.x)
Rev C
(Teensy 3.x)
Required ForFunction
MCLK
23
(MCLK1)​
11
(MCLK)​
AudioAudio Master Clock, 11.29 MHz
BCLK
21
(BCLK1)​
9
(BCLK)​
AudioAudio Bit Clock, 1.41 or 2.82 MHz
LRCLK
20
(LRCLK1)​
23
(LRCLK)​
AudioAudio Left/Right Clock, 44.1 kHz
DIN
7
(OUT1A)​
22
(OUT)​
Audio OutputAudio Data from Teensy to Audio Shield
Goes to both headphone jack and Line-Out pins
DOUT
8
(IN1)​
13
(IN)​
Audio InputAudio Data from Audio Shield to Teensy
Comes from either Microphone or Line-In pins
SCL
19​
19​
Audio ConfigControl Clock (I2C)
SDA
18​
18​
Audio ConfigControl Data (I2C)
SCK
13​
14​
Optional Data
SD or MEM
Data Storage (SPI) Clock
MISO
12​
12​
Optional Data
SD or MEM
Data Storage (SPI) from SD/MEM to Teensy
MOSI
11​
7​
Optional Data
SD or MEM
Data Storage (SPI) from Teensy to SD/MEM
SDCS
10​
10​
Optional Data
SD Card
Chip Select (SPI) for SD Card
MEMCS
6​
6​
Optional Data
MEM Chip
Chip Select (SPI) for Memory Chip
Vol
15 / A1​
15 / A1​
Optional KnobVolume Thumbwheel (analog signal)
 
Back
Top