Forum Rule: Always post complete source code & details to reproduce any issue!
-
Member
I'm getting random freezing in my code while playing wav files from sd cards with this beta. (I did not get them with before.)
My code is available here: https://github.com/profezzorn/TeensySaber
I'm running on a Teensy 3.2 with a teensysaber board, but a prop shield + sd adapter will work too.
-
Member
I have narrowed down the freezing problem to the SPI library.
If I replace the new SPI code with the old SPI code, the freezing problem goes away.
Also, when the freezing occurs, the SD card is locked up (SD.begin() fails) until I cycle the power.
-
Senior Member+

Originally Posted by
hubbe
I have narrowed down the freezing problem to the SPI library.
If I replace the new SPI code with the old SPI code, the freezing problem goes away.
Also, when the freezing occurs, the SD card is locked up (SD.begin() fails) until I cycle the power.
Did you look at Teensyduino-1-37-Beta-2-(Arduino-1-8-3-support) ?
Some SPI changes went in - a WIP that may need attention. May be updated with Beta_3 in coming day(s) - when it does - if you can put up a demo sketch that fails it will be important to get it diagnosed.
-
Administrator
1.37-beta3 is available. Closing this thread. Please comment on 1.37-beta3.
https://forum.pjrc.com/threads/44904...no-1-37-Beta-3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules