Hopefully you're using Teensy 4, as these 2 can't work together on earlier Teensy 3 boards.
Thank you for your attention, Paul.
Yes, I'm preparing to use a T4.1 w/rev D audio shields, one modified for quad.
"To make this work, just use "i2s_quad" and "pt8211_2", like this:"
Yes, except I'm generating 6 distinct waveforms and connecting 4 mixers' outputs to the quad I2S DAC/SGTL5000-1/SGTL5000-2, plus 2 mixers' outputs to the PT8211_2 object. Otherwise, it's the same.
"As the right-side documentation says when you click on each, connect the I2S signals on pins 21, 23, 7, 32, 20 (and also 6 & 8 if using i2s_quad input). Except for pin 32 & 6, these should happen automatically if you just stack the audio shields above or below Teensy."
Yes, those pin #s correspond to both audio shields' spec sheets. But I'm confused by the design tool's pinout info that corresponds to your following statement:
"Connect the PT8211 signals on pins 4, 2, 3."
There appears to be a discrepancy in the documentation:
PT8211 DS | Audio Design Tool
7 DIN | 2 DIN
20 WS | 3 FS(?)
21 BCK | 4 BCK
"It will "just work" if you use these 2 outputs and wires the signals to the correct pins."
IOW, since pin #7 is already being used as DIN by SGTL5000-1, then that header should be clipped, before reaching the PT8211 shield. Then, the PT8211's pin 7 needs an input GPIO, so you're saying to connect it to T4.1's pin #2 (OUT2)? Okay, then I should also cut the T4.1's header pins 20 & 21 and reroute the PT8211's pins 20 & 21 to the T4.1's pins 3 & 4, LRCLK2 & BCLK2, respectively?
"No need to dive into the audio library code."
Great to know. But, won't I also need to define the output_i2s_hex.h library for 6 channel I2S outputs?
Thank you for clarifying my confusion, Paul.
