Problems with Last Updates #1533
-
I was working with an ESP32 S3 and a CODEC8388 using AudioTools and AudioDriver, and everything was smooth until a few days ago. I updated both libraries a did a minor change to my code (I'm using FilteredStream and just modified the coefficients of the filter), and the program stop working. I used no filter at all to verify if I still have the same issue and it was the same. The code (Based on one of the examples of AudioDriver): #include "AudioTools.h" // install https://github.com/pschatzmann/arduino-audio-tools // I2C // I2S, your configuration for the ES8388 board AudioInfo audio_info(8000, 1, 16); // sampling rate, # channels (mono), bit depth DriverPins my_pins; // board pins uint16_t channels = 1; CsvOutput<int16_t> Serial_out(Serial); // ASCII output stream void setup() { Serial.println("Setup starting..."); Serial.println("I2C pin ..."); Serial.println("Board begin ..."); Serial.println("I2S begin ..."); // Setup CSV // Setup filter Serial.println("Setup completed ..."); // Arduino loop - copy sound to out The output: Setup completed ... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the solution! For some reason, I needed to change the order of DOPIN and DIPIN in "my_pins.addI2S(PinFunction::CODEC, MCLKPIN, BCLKPIN, WSPIN, DOPIN, DIPIN);" and everything started working again! |
Beta Was this translation helpful? Give feedback.
I found the solution! For some reason, I needed to change the order of DOPIN and DIPIN in "my_pins.addI2S(PinFunction::CODEC, MCLKPIN, BCLKPIN, WSPIN, DOPIN, DIPIN);" and everything started working again!