You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//I added new option 7 for this version ESP32 Audio Kit V2.2 A247
#elif ES8388_CFG_I2S==7
#define ES8388_PIN_DOUT 35 //DATA
#define ES8388_PIN_DIN 26 //DATA_RX
#define ES8388_PIN_LRCK 25 //WS
#define ES8388_PIN_SCLK 27 //BCK
#define ES8388_PIN_MCLK 0 //MCK
With boot debugging I just see a bunch of this:
`[������m�um����2-hal-cpu.c:211] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[ 842][D][esp32-hal-psram.c:84] psramInit(): PSRAM enabled
Loading data
Firmware started successfully
Connect to ES8388 codec... 0x00: 0x05
[ 1466][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
0x01: 0x40
[ 1479][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
[ 1483][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
[ 1495][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
AdcCh1!
MixChAMPL!
[ 1512][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
[ 1522][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...`
It tries to initialize multiple buffers for the different tracks. Compiling and execution with the old ESP32 board (1.0.6) worked. They changed something that makes the allocation of big memory blocks from PSRAM in some cases impossible.
I think some changes are required to allow running this project using the latest toolchain (ESP32 Arduino board).
You could try to change TRACK_CNT to 3 or 2 instead of 4
Running into an issue where PSRAM is getting all used up and is stuck in a boot loop. see attached log boot log.
Board: ESP32 Audio Kit V2.2 A247
I edited "board_audio_kit_es8388.h" according to what I could figure out from i2c scanner and what I could find:
#define ES8388_CFG_I2C 2
#define ES8388_CFG_I2S 7
#elif ES8388_CFG_I2C==2
#define ES8388_PIN_SDA 33
#define ES8388_PIN_SCL 32
//I added new option 7 for this version ESP32 Audio Kit V2.2 A247
#elif ES8388_CFG_I2S==7
#define ES8388_PIN_DOUT 35 //DATA
#define ES8388_PIN_DIN 26 //DATA_RX
#define ES8388_PIN_LRCK 25 //WS
#define ES8388_PIN_SCLK 27 //BCK
#define ES8388_PIN_MCLK 0 //MCK
With boot debugging I just see a bunch of this:
`[������m�um����2-hal-cpu.c:211] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[ 842][D][esp32-hal-psram.c:84] psramInit(): PSRAM enabled
Loading data
Firmware started successfully
Connect to ES8388 codec... 0x00: 0x05
[ 1466][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
0x01: 0x40
[ 1479][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
[ 1483][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
[ 1495][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
AdcCh1!
MixChAMPL!
[ 1512][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
[ 1522][E][Wire.cpp:313] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...`
PSRAM-Not Enough Memory.txt
The text was updated successfully, but these errors were encountered: