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

Search:

Type: Posts; User: benkrasnow

Search: Search took 0.00 seconds.

  1. 180MHz with "Faster" optimization. Teensyduino...

    180MHz with "Faster" optimization. Teensyduino 1.53 with Arduino 1.8.13. As a side note, Paul's work and the Teensy community have enabled me to build prototypes amazingly quickly, and I am...
  2. Thanks everyone for reading along and for your...

    Thanks everyone for reading along and for your suggestions. Here's one last update: I did a test with a brand new Teensy 3.6 and nothing physically connected to it (photo) other than the USB. ...
  3. I have done an extensive amount of testing, and...

    I have done an extensive amount of testing, and have come to the surprising conclusion that the failure is indeed caused by the code -- not by an external voltage spike. I know, it sounds...
  4. Thanks again. Yes, I agree that I have too many...

    Thanks again. Yes, I agree that I have too many __disable_irq()'s I think I originally had these before changing the ADC irq priority to be 8. The program has no known glitches when it is running...
  5. Thanks for all of the suggestions. The plot of...

    Thanks for all of the suggestions. The plot of input voltage to ADC counts looks like this (photo attached) when it is in the failed condition. The voltage waveform being supplied is a clean...
  6. Thanks for your quick suggestion -- I was not...

    Thanks for your quick suggestion -- I was not aware of INPUT_DISABLE. It seemed to have no effect in this case, though. I should add that the above code works perfectly fine for a week, then fails...
  7. Permanent ADC damage caused by running this code

    I take a brand new Teensy 3.6 out of the package, and connect it to the computer with a short USB cable, and attach one of the analog pins and digital ground to a benchtop signal generator (photo). ...
  8. Replies
    2
    Views
    1,099

    XBAR setup on T4

    Hi all. I'm really excited about using the T4 in a big upcoming project, but am getting off to a rocky start. The XBAR can route PWM and/or GPIO into DMA triggers, which is exactly what I need. ...
  9. I may have found a partial solution: Replace the...

    I may have found a partial solution: Replace the SD.h library with SdFs. The following code has been working well with many fewer glitches, but I have not tested extensively. I renamed the object...
  10. Audio samples lost due to SD card writes

    This simple audio recorder code takes I2S input from the Teensy audio shield, and saves a mono channel continuously to SD card. I'm feeding the line-in input on the shield with a 40Hz triangle wave...
Results 1 to 10 of 10