Is Two TDM input data bus on a Teensy 4.1 possible?

Status
Not open for further replies.

feima0011

Well-known member
------------------------------------
Admin Edit: ICS-52000 microphones do not appear to work well with Teensy at 44100 Hz sample rate.

------------------------------------




I have bought a Teensy 4.1 board, I need to measure 32 microphones.

I have two ics52000 microphone array, and each array contains 16 ICS52000 microphones which share a single TDM data bus.

How can I connect the two arrays with a Teensy 4.1 ?

The Teensy 3.6 has two data pins, does that means I connect the two arrays with a Teensy 3.6 ? :confused:
 
Last edited by a moderator:
Teensy 4.x has two digital audio (SAI) ports. Both support TDM. So connect one group of 16 to the first port and the other to the 2nd port.

Documentation can be found in the design tool right side panel.

https://www.pjrc.com/teensy/gui/?info=AudioInputTDM

https://www.pjrc.com/teensy/gui/?info=AudioInputTDM2

Scroll down to "Hardware" for the pin connection info.


The Teensy 3.6 has two data pins, does that means I connect the two arrays with a Teensy 3.6 ?

That might be theoretically possible, but the audio library doesn't have any code for that usage. You'd have to write it.

Much simpler to just use Teensy 4.0 or 4.1. You also get a lot more CPU power, which might come in handy for doing 32 instances of whatever type of analysis you need.
 
No, as far as I know there are not any examples with both used.

But we do have a 31 page tutorial (and 45 minute walkthrough video) about using the audio library and design tool.

https://www.pjrc.com/store/audio_tutorial_kit.html

TMD & TDM2 instances and the connections to other audio processing are created with the design tool. While TDM doesn't appear in the tutorial (at the time only I2S was supported), it works the same basic way. Hopefully the tutorial can give you a solid understanding of how the audio library is meant to work, so that placing TDM & TDM2 into your design isn't a huge leap of faith. It really does work the same as the rest of the stuff in the library, just many more channels.
 
Great thanks for your reply. :cool: s960_thank_you_sticky_note.jpg
 
Status
Not open for further replies.
Back
Top