Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: SomeoneFromGermany

Search: Search took 0.00 seconds.

  1. Replies
    75
    Views
    3,317

    Everything works!:D An other audioshield did the...

    Everything works!:D
    An other audioshield did the trick...

    Thank you for your great help!!!
  2. Replies
    75
    Views
    3,317

    Update: I took a look with the oszilloscope. ...

    Update:
    I took a look with the oszilloscope.
    SAI1 outputs what you would expect: 2,8 MHz BCLCK, 11MHz MCLK, data in 32 falling BLCK edges in one cycle of LRCLK and the last 16 bit always zeros. ...
  3. Replies
    75
    Views
    3,317

    The connection between the teensy and the...

    The connection between the teensy and the audioshield is no problem thanks to the audiolibrary. I tried exacly that using the OutputI2S instead of the spdif output. The only hope is that i connected ...
  4. Replies
    75
    Views
    3,317

    That does indeed makes sense. Now i get Right and...

    That does indeed makes sense. Now i get Right and left channel data.

    But how do we get this data to the audio shield now?
    I didnt had much hope that it would be that easy to just set outputI2S...
  5. Replies
    75
    Views
    3,317

    Example 4 and 6 are working! I have jet to...

    Example 4 and 6 are working!
    I have jet to analyze the waveform, but so far it looked promising.

    EDIT:
    Example 6 only works with the left channel. Right channel has no data.

    Both example...
  6. Replies
    75
    Views
    3,317

    Example 5: I wrote a python-script (available...

    Example 5:

    I wrote a python-script (available here https://github.com/NoMedia-py/TeensySerialSamplesToCSV) that records samples of the output of your examples and saves it to a csv file which can...
  7. Replies
    75
    Views
    3,317

    Example 5 works now. There are still inserted...

    Example 5 works now.
    There are still inserted zeros, but this should be no problem if the ESP is master.
    25890

    I haven't tested the other examples jet.
    I' happy to be bothered, to find a...
  8. Replies
    75
    Views
    3,317

    I tried example 5 and it still didnt got any data...

    I tried example 5 and it still didnt got any data on the plotter.
    Also i had to copy everything to the same folder, because it woldn't compile. I think this has something to do with the Arduino ide.
  9. Replies
    75
    Views
    3,317

    Example 5 still has the same broken waveform on...

    Example 5 still has the same broken waveform on my setup too.

    In the current version (examples1-6) all configurations should be the same, except the MODE_Master/SLAVE.


    I will make few...
  10. Replies
    75
    Views
    3,317

    Example 4: Still nothing on the Plotter......

    Example 4:

    Still nothing on the Plotter...
    25881

    I also dont have an oszilloscope on hand right now.
    Do you think it would be good to look at the signals?
    if so i will organize one for...
  11. Replies
    75
    Views
    3,317

    Its exactly the same here. Example 4 and 6: ...

    Its exactly the same here.

    Example 4 and 6:
    No reaction at the plotter.
    25879

    Example 5:
    only a few right looking samples.
    25880
  12. Replies
    75
    Views
    3,317

    I only soldered the pin to other pins on the...

    I only soldered the pin to other pins on the ESP32 and not the teensy... So the DOUT of the ESP32 was on the wrong pin...

    So you mean you miss the foundation for the SAI2-slave config?
    Maybe Paul...
  13. Replies
    75
    Views
    3,317

    Probably I2C with some high clock...

    Probably I2C with some high clock frequency(havent deceided jet).
    I2C1 of teensy because of the audioshield.
  14. Replies
    75
    Views
    3,317

    For the ESP32 side of things, if someone wonders,...

    For the ESP32 side of things, if someone wonders, yes the ESP32 can use audio and SerialBt at the same time:



    #include <arduino.h>
    #include "esp32_bt_music_receiver.h"
    #include...
  15. Replies
    75
    Views
    3,317

    Its working. 25866 There are also insertet...

    Its working.

    25866
    There are also insertet zeros.

    I played a 12Hz sinewave:
    25867
    after what I have seen so far there are quite many zeros inserted.

    I dont think this will be a problem,...
  16. Replies
    75
    Views
    3,317

    I am sure that the ESP32 outputs audio data. In...

    I am sure that the ESP32 outputs audio data.
    In my test with the 8-bit dacs there was definitively audio. I tested a 1Hz sinewave and with the oszilloscope it was visible that it changed the way...
  17. Replies
    75
    Views
    3,317

    I would love to. With SAI2 you mean I2S2? So...

    I would love to.
    With SAI2 you mean I2S2?
    So just connecting the ESP32 to I2S2 and (if this works) the audioshield to I2S1?
  18. Replies
    75
    Views
    3,317

    You can rename the "main.cpp" file to "main.ino",...

    You can rename the "main.cpp" file to "main.ino", but you have to be careful, because arduino IDE wants you to put the file in an folder called main. Make sure that you copy the other .h and .cpp in...
  19. Replies
    75
    Views
    3,317

    I dont know what im doing wrong. I receive no...

    I dont know what im doing wrong. I receive no data at the teensy with your second solution.
    I quadruple-checked my connections and changed the ESP32, but the teensy shows no reaction. Plotter stays...
  20. Replies
    75
    Views
    3,317

    I tried your example2 code and changed the pins...

    I tried your example2 code and changed the pins of the I2S interface of the ESP32 to:


    #define CONFIG_EXAMPLE_I2S_LRCK_PIN 25
    #define CONFIG_EXAMPLE_I2S_BCK_PIN 26
    #define...
  21. Replies
    75
    Views
    3,317

    You used the same I2S config for the teensy as...

    You used the same I2S config for the teensy as you mentioned before?
  22. You used the same I2S config for the teensy as...

    You used the same I2S config for the teensy as you mentioned before?

    ... wrong thread...
  23. Replies
    75
    Views
    3,317

    match* Like this: 25809

    match*
    Like this:
    25809
  24. Replies
    75
    Views
    3,317

    I tried your I2S configuration, but there was...

    I tried your I2S configuration, but there was again no sound nor readable peak at the teensy.
    The clock and the audio-data doesn't mach like in one of the first pictures i posted in this thread.
  25. Replies
    75
    Views
    3,317

    No, im trying to receive 2 channel audio from the...

    No, im trying to receive 2 channel audio from the ESP32 and an additional 2 channels from the audioshield.

    Do you think my theorie with the MSB/LSB could be the key?
  26. Replies
    75
    Views
    3,317

    I found the setup alex6679 was refering to: ...

    I found the setup alex6679 was refering to:



    I2S1_RMR = 0;
    //I2S1_RCSR = (1<<25); //Reset
    I2S1_RCR1 = I2S_RCR1_RFW(1);
    I2S1_RCR2 = I2S_RCR2_SYNC(rsync) | I2S_RCR2_BCP // sync=0; rx is...
  27. Replies
    75
    Views
    3,317

    I changed my test-setup to a teensy 4.1 and...

    I changed my test-setup to a teensy 4.1 and soldered a test-PCB for better testing, because in the audio design GUI its noted that
    "On Teensy 3.x, the BCLK/LRCLK ratio is 32, which is not...
  28. Replies
    75
    Views
    3,317

    It also works for me at this point. But only with...

    It also works for me at this point. But only with the DAC's of my test teensy 3.6. There is this high-pitch noise. Not the same when using a passthroug USB->DAC's. My best guess at this point is that...
  29. Replies
    75
    Views
    3,317

    Its 500mV per division. (Oszilloscope is an Rohde...

    Its 500mV per division. (Oszilloscope is an Rohde & Schwarz RTB2004)

    The BCLK is only transfered to the ESP32. I checked this at first.
    The yellow waveform in the first image is the BCLK with...
  30. Replies
    75
    Views
    3,317

    I tried quad channel with an audio shield, but...

    I tried quad channel with an audio shield, but the audio is still very bad.

    I don't know if this is an soft- or hardware problem but without I2S data the audioshield outputs 27 to 100kHz signal...
  31. Replies
    75
    Views
    3,317

    This could work for my example, but for my...

    This could work for my example, but for my project i need the teensy as a master, because i want to use the audioshield simultaneously with the ESP32 in quad-channel.



    Works.... But with a lot...
  32. Replies
    75
    Views
    3,317

    ESP32 as I2S input-device

    Hello,

    I want to use an ESP32 as an bluetooth audio reciver.
    I found this https://github.com/dvxlab/esp32_bt_music_receiver library which is easy to use and can strem audio directly to the...
  33. Bitmaps from SD card with SSD1963 parallel TFT display

    Hello,

    I tried to display bitmaps from an SD card with an Teensy 3.6 on a SSD1963 16bit parallel TFT display using the UTFT library.
    The drawBitmap method takes an array of integers to display a...
  34. Replies
    98
    Views
    14,082

    @Paul Are you planning to make the teensyduino...

    @Paul
    Are you planning to make the teensyduino add-on work with the new arduino IDE 2.0 soon?
  35. Oh, well sorry for disturbing... I'm just stupid....

    Oh, well sorry for disturbing... I'm just stupid.
    I had an sd card extension in use. I took it out and it worked like a charm. XD
  36. Ok, Thanks. I will try this in the next few...

    Ok, Thanks.
    I will try this in the next few days. If i find an other bug that i can not solve by myself i will snitch your time again :D.
  37. Is there an other thing i could try beside...

    Is there an other thing i could try beside changing the interrupt priority?
  38. AudioInputUSB usb1; AudioInputI2S ...

    AudioInputUSB usb1;
    AudioInputI2S i2s1;
    AudioMixer4 LEFTC;
    AudioMixer4 RIGHTC;
    AudioPlaySdWav SDwav;
    AudioOutputI2S ...
  39. @Frank B understandable.

    @Frank B understandable.
  40. No i didn't knew this... But either way the leds...

    No i didn't knew this... But either way the leds freak out.
  41. At a priority of 16 it still clicks like before....

    At a priority of 16 it still clicks like before. I increased the priority all the way to 1,where it only clicks around two times per play.
    But at a priority of 11 my SK6812 led strips startet to...
  42. Thats a great idea... But i don't know how to do...

    Thats a great idea... But i don't know how to do this.
    The only line i know is the one for the interuppt priority (NVIC_SET_PRIORITY).
  43. Hello, I have a problem with loud clicking...

    Hello,
    I have a problem with loud clicking noises, when using the teensy threads and teensy audio at the same time.
    When the teensy (4.1) plays a wav file from the sd card then there are always...
  44. SK6812 with Paul Stoffregen's WS2812Serial library

    Hello,

    does someone know which parameter I have to use in "WS2812Serial leds(numled, displayMemory, drawingMemory, pin, "here");" to get the library working with the slightly smaller timing of...
  45. Thanks! That helps me a lot by my project.

    Thanks!
    That helps me a lot by my project.
  46. Teensy 4.1 Random Number Hardware

    Hello,

    I don't exactly know if the t41 has a random number hardware, but I remember to read something about this in the manual.
    Does someone know if the t41 has one and how I can use it?
  47. Thanks! I searched for a driver and the best...

    Thanks!
    I searched for a driver and the best looking was this one: https://github.com/IoTBits/ESP32_SGTL5000_driver/.
    But this mainly includes binary files and I can't use them properly in the...
  48. ESP32 with teensy audio Shield/library?

    Hello there,

    I wonder if there is any possibility to use the teensy audio shield (Rev C or D) with the ESP32.
    I found some librarys but I couldn't include them into my Arduino IDE.
    Also I want...
Results 1 to 48 of 48