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

Search:

Type: Posts; User: Subfanatic

Search: Search took 0.00 seconds.

  1. Replies
    36
    Views
    1,529

    Hi, Frank. I checked multiple times for any...

    Hi, Frank. I checked multiple times for any grounding / ground loop issues and couldn't find any. It still doesn't explain why the same issues don't appear with I2S :rolleyes:
    Anyway, I borrowed a...
  2. Replies
    36
    Views
    1,529

    Thank you so much Paul and Frank for all your...

    Thank you so much Paul and Frank for all your help. I will build and post the HEX file for testing, hopefully that will tell us somewhat more :)
  3. Replies
    36
    Views
    1,529

    Paul, I tried exactly that already with the same...

    Paul, I tried exactly that already with the same results... On the breadboard and on the PCB made only for testing purpose. I even connected only TDM and TFT pins to eliminate everything else, but...
  4. Replies
    36
    Views
    1,529

    I use the same code on T4.0 and T4.1, and the...

    I use the same code on T4.0 and T4.1, and the same code for I2S and TDM. The only thing that changes is AudioOutputI2S / AudioOutputTDM and AudioConnection (0, 1 in I2S mode / 0, 2 in TDM mode).
    I...
  5. Replies
    36
    Views
    1,529

    Like I wrote in the initial post, my preferred...

    Like I wrote in the initial post, my preferred DAC is 8-ch Texas Instruments PCM1681. I've used both PCM1681PWPR-Q1 and PCM1681PWP in several T3.6/T4.0 synth projects during last 2 years and...
  6. Replies
    36
    Views
    1,529

    Yeah, I'll try different SPI clocks next and also...

    Yeah, I'll try different SPI clocks next and also turning off DSE for pin 13. Thanks!
  7. Replies
    36
    Views
    1,529

    Thank you guys so much for trying. I can't...

    Thank you guys so much for trying. I can't understand why the problem doesn't appear with your equipment, because it's definitely not an issue with the hardware I've built: even if we disregard the...
  8. Replies
    36
    Views
    1,529

    Sure! Here's a piece of code I used to test my...

    Sure! Here's a piece of code I used to test my setup. There's a dummy drawRect in the loop just to push SPI data at 30MHz (#define ILI9341_SPICLOCK 30000000).



    #include <Audio.h>
    #include...
  9. Replies
    36
    Views
    1,529

    I'm almost positive it's a bug :( My initial...

    I'm almost positive it's a bug :( My initial setup was with 40 buffers allocated, I tried 64 and 96 with no difference whatsoever. I also tested my firmware with only 2 channels active,...
  10. Replies
    36
    Views
    1,529

    Thanks, Frank. If I only knew what the...

    Thanks, Frank. If I only knew what the differences are... ;)
  11. Replies
    36
    Views
    1,529

    Teensy 4.1 TDM issue

    Hi, Teensy warriors!

    I've run into a weird T4.1 issue. Currently working on a manufactured prototype PCB with two MCUs (T4.0 and T4.1), 4 I2S/TDM ΔΣ DACs (CS42448, PCM1681, PCM3060 and WM8731), 2...
  12. Hey there, no need to apologize :) Yes,...

    Hey there, no need to apologize :) Yes, PCM1681-Q1 is my workhorse and it worked straight away with T4 in both I2S and TDM mode. I'm using it in hardware config because it requires no pins or code...
  13. Hi, alfa66. Nope, I tried a zillion workarounds...

    Hi, alfa66. Nope, I tried a zillion workarounds and nothing worked as it should :(
    It took me a looong time to convert everything into AudioLibrary objects, but finally I have a code base that works...
  14. Replies
    20
    Views
    3,016

    Yeah, I figured out loop() cycle is a very low...

    Yeah, I figured out loop() cycle is a very low priority process and it gets intetrupted very often by a bunch of other things. Lesson learned - don't use loop() with GetBuffer/PlayBuffer, or in fact...
  15. Replies
    6
    Views
    1,040

    Teensy Button is IMHO one of the best features...

    Teensy Button is IMHO one of the best features I've ever seen on a MCU board. If your code is voluminous the compiling can take a long time, and this can be a problem if you're testing something new:...
  16. Replies
    20
    Views
    3,016

    It's OK, we all have our thing and I really want...

    It's OK, we all have our thing and I really want to hear all sugestions and/or feedback :D



    Ugh. I've tried to send a flag from ISR and use getBuffer() and playBuffer() in the loop() - been...
  17. Replies
    20
    Views
    3,016

    I'm actually using three interrupt routines in my...

    I'm actually using three interrupt routines in my code, not counting the Audio Lib (which I don't have any control over) :D One fast at audio rate (44.100Hz) to produce the complex waveforms, one...
  18. Replies
    20
    Views
    3,016

    Well, because I'm doing some other...

    Well, because I'm doing some other not-so-timing-sensitive things in Void Loop :D
    Reading inputs, calculating huge amounts of side data and drawing a meaningful representation of all that to SPI LCD...
  19. Replies
    20
    Views
    3,016

    Like I said, it was tested on T3.6 for hours and...

    Like I said, it was tested on T3.6 for hours and it works very well. I'm aware it's potentially unsafe, but:
    a) It doesn't crash just like that, I specified exactly what's going on. I know why it...
  20. Replies
    20
    Views
    3,016

    Bug report: Teensy 4.0 and AudioPlayQueue

    When AudioPlayQueue.getBuffer() and AudioPlayQueue.playBuffer() are used in an audio rate ISR, they slowly consume AudioMemory buffers and T4.0 crashes when all buffers are used (default 80 for...
  21. Do you hear the difference between ...

    Do you hear the difference between

    AudioConnection patchCord1(waveform, 0, waveshaper, 0);
    AudioConnection patchCord2(waveshaper, 0, output, 0);
    and

    AudioConnection patchCord1(waveform, 0,...
  22. Teensy 4.0, I2S, AudioPlayQueue, Timer interrupts & more

    Cheers people, hope everyone is okay!

    I've been working on an audio project with T3.6, recently migrated my code to T4.0 and I'm facing several issues/problems that I don't really know how to...
Results 1 to 22 of 22