Actually my problem seems to be precisely the one pointed out in this thread:
https://forum.pjrc.com/index.php?threads/f_cpu_actual-error-in-teensy-4-but-not-teensy-3.57236/&p=212642&viewfull=1#post212642
It was written in clockspeed.c where...
Thanks @MarkT
The issue is that I don't want to modify the source code of the teensy library.
I know I could include <cstdint> in AudioStream.h (I actually did for test) but I think/guess it should compile as is without me having to modify the...
Thank you very much Paul.
I already tried to explore the "Create your own class" method, but it fails at compile stage using:
- Arduino IDE 2.3.6
- Teensy 1.59.0 in Boards Manager
- MacOS Sonoma 14.2.1 / MacBookPro M2 Pro
I get standard c++...
You have 2 options.
To process the data in your program, similar to how Arduino's library works, use the "queue" objects. Then write your program to repeatedly check whether the queue(s) delivering data have more for you to process, and/or...
Ok thanks, this updated version seems about right I think then:
The DC power of my ADC and DAC PCBs needs explicitely to be 5V, can I use USB-C to provide power to the Teensy board and get the 5V DC power from one of the Teensy pin?
What is...
Schematic looks ok in principle.
Recommend a few edits:
Add pin numbers. Use design tool docs panel.
Check power supply voltage, probably not 5V
(most important part) Edit "STM32" to "Teensy"
If you want a known-working TDM solution to get you going, take a look at this thread. Tindie link (which I can't immediately find on the thread) is
https://www.tindie.com/products/palmerr223/teensy-8x8-audio-board/. A single board gives you 8...
I did this principle scheme to illustrate what I would like to do.
Would this kind of wiring work by using:
- "i2s" block as for stereo input
- "i2s_hex" block for 6 channel output
and insert my DSP code in the middle?
Thank you so much @PaulStoffregen for all those detailed advices.
I will definitely have a look to all the resources you mentioned and see if I can figure out how to make this work.
For TDM, I found this Analog Devices chip that could be perfect...
The Teensy 4.x boards are ideal for this. Start at this page https://www.pjrc.com/teensy/td_libs_Audio.html, look at the Design Tool which is linked from it (and be sure to look at the Info pane at the right, which tells you what pins to use)...
Hi everyone,
First post in here, glad to join the community.
I am currently trying a multichannel audio processing algorithm (2 channels in, N channels out) demonstrator on an embedded device.
I started to build it using an Arduino GIGA R1...