I bought a teensy 4.0 and (rev D) audio shield earlier this week. I soldered the teensy to the audio board, and used the USB passthrough mode to play audio through the teensy/audio board to line in of an amplifier.
This worked absolutely perfectly, until tonight, when I turned the whole lot back on again to play some more, and the teensy doesn't appear in device manager (as a teensy audio device)
Additionally, I can't program it (pressing button when prompted also does nothing), and the audio obviously doesn't work anymore. There was also an unpleasant high pitched whine coming through the speakers connected to the amp.
The 5V on the teensy shows 4.86V on my multimeter, but the 3.3V only shows 0.227V.
Any idea what might be wrong here? Is there any way the audio board can damage the teensy?
I've tried a number of different USB cables, and I also have a teensy 3.5 here that works with those cables without an issue.
As I've soldered the teensy to the audio board, I can't easily separate them.
The source code is absolutely trivial. I've been using VS Code and platformio to program it.
This worked absolutely perfectly, until tonight, when I turned the whole lot back on again to play some more, and the teensy doesn't appear in device manager (as a teensy audio device)
Additionally, I can't program it (pressing button when prompted also does nothing), and the audio obviously doesn't work anymore. There was also an unpleasant high pitched whine coming through the speakers connected to the amp.
The 5V on the teensy shows 4.86V on my multimeter, but the 3.3V only shows 0.227V.
Any idea what might be wrong here? Is there any way the audio board can damage the teensy?
I've tried a number of different USB cables, and I also have a teensy 3.5 here that works with those cables without an issue.
As I've soldered the teensy to the audio board, I can't easily separate them.
The source code is absolutely trivial. I've been using VS Code and platformio to program it.
Code:
/*
* A simple hardware test which receives audio from the audio shield
* Line-In pins and send it to the Line-Out pins and headphone jack.
*
* This example code is in the public domain.
*/
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
// GUItool: begin automatically generated code
AudioInputUSB usb1; //xy=164,181.99999237060547
AudioOutputI2S i2s1; //xy=504,186.14284896850586
AudioConnection patchCord1(usb1, 0, i2s1, 0);
AudioConnection patchCord2(usb1, 1, i2s1, 1);
AudioControlSGTL5000 sgtl5000_1; //xy=400,426.14284896850586
// GUItool: end automatically generated code
void setup()
{
// Audio connections require memory to work. For more
// detailed information, see the MemoryAndCpuUsage example
AudioMemory(12);
// Enable the audio shield, select input, and enable output
sgtl5000_1.enable();
// sgtl5000_1.inputSelect(myInput);
// sgtl5000_1.volume(0.5);
}
elapsedMillis volmsec=0;
void loop()
{
// every 50 ms, adjust the volume
if (volmsec > 50)
{
sgtl5000_1.volume(usb1.volume());
volmsec = 0;
}
}