I am experiencing an issue when using either AudioBoardStream or I2SCodecStream class with the ESP32 lyrat-mini board. The problem arises specifically when calling the kit.begin() or i2s.begin() for either class.
When I include the kit.begin() method in the setup, the debugging logs show something like the following output:
Nothing in the sketch will execute after this point. removal of the kit.begin() from setup() will allow execution of the following lines.
The issue is most likely to do with the I2SCodecStream since it is used by the AudioBoardStream class.
Device Description
I am using an ESP32 LyraT-Mini-V1.2. The board has the same 8311 and 7243 codec chips as stated in the lyrat mini driver class.
Sketch
// This is just pulled from your examples library. Applies to all sketches I have had where I am using AudioBoardStream
#include "AudioTools.h"
#include "AudioLibs/AudioBoardStream.h"
AudioBoardStream kit(LyratMini);
StreamCopy copier(kit, kit);
void setup(void) {
Serial.begin(115200);
AudioLogger::instance().begin(Serial, AudioLogger::Debug);
auto cfg = kit.defaultConfig(RXTX_MODE);
cfg.sd_active = false;
cfg.input_device = ADC_INPUT_LINE2;
kit.begin(cfg);// exclude this line and you won't get this crash
}
void loop() {
copier.copy();
}
### Other Steps to Reproduce
The same code above works as expected on `AudioKitEs8388V1` and `LyraTV43` boards. However fails to work on lyra t mini.
### What is your development environment
Using both platformio and arduino IDE; issue replicates on both. Flashing from a Mac OS ARM
### I have checked existing issues, discussions and online documentation
- [X] I confirm I have checked existing issues, discussions and online documentation
Problem Description
I am experiencing an issue when using either AudioBoardStream or I2SCodecStream class with the ESP32 lyrat-mini board. The problem arises specifically when calling the kit.begin() or i2s.begin() for either class.
When I include the kit.begin() method in the setup, the debugging logs show something like the following output:
Logging will nearly always cut out like this. With a different audio stream driver logs should look something like this.
Nothing in the sketch will execute after this point. removal of the kit.begin() from setup() will allow execution of the following lines.
The issue is most likely to do with the I2SCodecStream since it is used by the AudioBoardStream class.
Device Description
I am using an ESP32 LyraT-Mini-V1.2. The board has the same 8311 and 7243 codec chips as stated in the lyrat mini driver class.
Sketch