Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • JayShoe's Avatar
    10-14-2021, 07:17 PM
    Hello, I've been working on a custom board to marry the ESP32-C3-MINI with the Teensy 4.1 for development purposes. My initial research was over in Blackketter's github (this) as well as the ESP32 reference...
    0 replies | 78 view(s)
  • JayShoe's Avatar
    10-08-2021, 11:27 PM
    That's fine. The teensy can be master and provide the clocks. Only issue your going to have is that the f32 library doesn't seem to have a SAI2 driver to expose in2, lrck2, bclk2, mclk2. You can compare the files...
    8 replies | 245 view(s)
  • JayShoe's Avatar
    10-08-2021, 11:37 AM
    Oh, it doesn't do 16 bit? Take a look at the 32 bit audio library maybe? https://github.com/chipaudette/OpenAudio_ArduinoLibrary/blob/master/input_i2s_f32.h I think that input accepts 32 bit, if I'm not mistaken. ...
    8 replies | 245 view(s)
  • JayShoe's Avatar
    10-08-2021, 11:01 AM
    Connect the DAB to in2, lrck2, bckl2, and (if needed) mckl2. Then use teensy in I2S master or slave... yes, sai2 (i2s2) can run in different modes to sai1 (in1, out1, etc.) There is a thread discussing the connection...
    8 replies | 245 view(s)
  • JayShoe's Avatar
    09-20-2021, 01:06 PM
    Thanks alex6679. I should have time to test this later today. If the initial test goes well, I'll also be attempting to run SAI1 in TDM mode and SAI2 in standard stereo I2S mode. Do you think that's going to work?...
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-18-2021, 10:33 AM
    Example 5 works for me too! I'm also happy to be bothered for a solution.
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-18-2021, 01:32 AM
    I downloaded your latest files and applied them to example 5. I get a broken waveform but it seems like maybe a bit larger of a broken waveform. Disconnecting the clock lines; the clock continues to count. Teensy is in...
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-17-2021, 05:46 PM
    Awesome chipaudette!
    3 replies | 470 view(s)
  • JayShoe's Avatar
    09-17-2021, 02:32 PM
    I just downloaded your latest updates and ran it. Example 5 still runs but the waveform is broken still. Disconnecting the clocks causes the plotter to stop. I went back and retested 4 and 6... I thought the plotter...
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-17-2021, 11:35 AM
    I got example 3 compiled and running now too. Example 4 compiles, but only clocks are working on the Plotter. Example 5 compiles, but the plotter has a broken waveform. Example 6 compiles, but only...
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-16-2021, 10:52 PM
    I fixed an issue with my version of the Audio library and upgraded to 1.54. Now the error is this. Arduino: 1.8.15 (Windows 10), TD: 1.54, Board: "Teensy 4.1, Serial, 600 MHz, Faster, US English" In file...
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-16-2021, 02:57 PM
    Are you going to use I2C or SPI for communication between the Teensy4 and the ESP32?
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-16-2021, 02:31 PM
    Ah, you are right. I can see the problem with over/underflows. Your solution makes sense to me. I want to confirm that example 2 now works for me too. The same hardware setup can be easily used to swap between ESP32...
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-15-2021, 11:00 PM
    I changed to pin 21 and example 1 works! #define CONFIG_EXAMPLE_I2S_BCK_PIN 26 // (A0 on huzzah32, pin 21 on T4.1) #define CONFIG_EXAMPLE_I2S_LRCK_PIN 25 // (A1 on huzzah32, pin 20 on T4.1) #define...
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-15-2021, 10:01 PM
    My hardware. Feather HUZZAH32 Teensy 4.1 I modified the pins on the ESP32 to make it easier to find the right pins. These pinouts were easily found so I used them.
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-15-2021, 07:05 PM
    No problem. I figured as much, but wasn't sure. I also wasn't aware of VisualTeensy. I tried VT, but wound up just renaming the files and used Arduino. I compiled both ESP32 and Teensy example 1 and I have my wires...
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-15-2021, 03:11 PM
    palmerr, Congratulations on your achievement. Thank you for sharing this with the community. You've done a really remarkable job at creating this.
    57 replies | 8465 view(s)
  • JayShoe's Avatar
    09-15-2021, 12:16 AM
    Hello alex6679, Please excuse my lack of knowledge here, but how is this project compiled? Is it a library? The examples have .cpp files which don't open in Arduino, or Platform.io. We would need a ini or ino...
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-09-2021, 01:44 PM
    If I'm not mistaken, Teensy does ignore the first 16bits (by default), so maybe that code you quoted is the key?
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-09-2021, 09:51 AM
    I've also tried this. I'm very keen on following and learning how to make this work. Maybe this thread will help? One user said he got it working, some code is in the the thread below. ...
    75 replies | 2817 view(s)
  • JayShoe's Avatar
    09-03-2021, 09:04 AM
    Pretty cool! I can't wait to browse through your code to see how this works. I'm wondering how hard this would be to modify and detect actual notes, to play the synth (as you mention in your blog).
    10 replies | 482 view(s)
No More Results
About JayShoe

Basic Information

About JayShoe
Location:
USA

Statistics


Total Posts
Total Posts
196
Posts Per Day
0.16
Last Post
Teensy 4.1 ESP32-C3-MINI Module - I2C, I2S, SPI, UART 10-14-2021 07:17 PM
General Information
Last Activity
Today 09:56 AM
Join Date
06-23-2018