Hi, i have a problem with my teensy 3.6 and audio board sgtl-5000
I'm testing the audio streaming from USB (Windows 10 64 Bit) and i have a repetitive streaming interruption...
180 Mhz, Faster ( #define F_BUS 90000000 ) interruption is every +- 5 seconds
192 Mhz, Faster ( #define F_BUS 96000000 ) interruption is every +- 7 seconds
the same configuration but 144 Mhz, fast, in T3.2 works fine...
Audio:
https://www.dropbox.com/s/6bv4er8zhvyd7i2/usb_interruprion.mp3?dl=0
I'm doing something wrong i think...
I'm testing the audio streaming from USB (Windows 10 64 Bit) and i have a repetitive streaming interruption...
Code:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
// GUItool: begin automatically generated code
AudioInputI2S i2s1; //xy=98,67
AudioInputUSB usb1; //xy=113,121
AudioMixer4 mixer1; //xy=360,81
AudioMixer4 mixer2; //xy=432,194
AudioOutputI2S i2s2; //xy=1009,88
AudioOutputUSB usb2; //xy=1045,153
AudioConnection patchCord1(i2s1, 0, mixer1, 0);
AudioConnection patchCord2(i2s1, 1, mixer2, 0);
AudioConnection patchCord3(usb1, 0, mixer1, 1);
AudioConnection patchCord4(usb1, 1, mixer2, 1);
AudioConnection patchCord5(mixer1, 0, i2s2, 0);
AudioConnection patchCord6(mixer1, 0, usb2, 0);
AudioConnection patchCord7(mixer2, 0, i2s2, 1);
AudioConnection patchCord8(mixer2, 0, usb2, 1);
AudioControlSGTL5000 sgtl5000_1; //xy=172,201
// GUItool: end automatically generated code
void setup() {
sgtl5000_1.enable();
AudioMemory(40);
sgtl5000_1.lineOutLevel(13);
sgtl5000_1.lineInLevel(0);
sgtl5000_1.adcHighPassFilterDisable();
sgtl5000_1.muteHeadphone();
}
void loop() {
}
180 Mhz, Faster ( #define F_BUS 90000000 ) interruption is every +- 5 seconds
192 Mhz, Faster ( #define F_BUS 96000000 ) interruption is every +- 7 seconds
the same configuration but 144 Mhz, fast, in T3.2 works fine...
Audio:
https://www.dropbox.com/s/6bv4er8zhvyd7i2/usb_interruprion.mp3?dl=0
I'm doing something wrong i think...