ESP32-S3-WROOM1 PSRAM I2S Audio Question
Posted: Tue Sep 19, 2023 5:35 pm
I have built an internet radio application that currently runs on Arduino IDE with a ESP32-S3-WROOM2 Dev Board using the audo.h i2s routine, WIFI, and IR remote. I recently purchased some less costly Dev Boards that have ESP32-S3-WROOM1 and 16Mb Mem and 8 Ram. For the Wroom2 board I programmed with OPI PSRAM enabled and OPI 80MHZ flash mode. On the WROOM1 boards that does not work.
I get a serial info message back:
E (290) cpu_start: Octal Flash option selected, but EFUSE not configured!
abort() was called at PC 0x40376ef5 on core 0
Backtrace: 0x40377702:0x3fceb260 0x4037d1d5:0x3fceb280 0x40382e39:0x3fceb2a0 0x40376ef5:0x3fceb320 0x403cd6e7:0x3fceb350 0x403cd9a6:0x3fceb380 0x403c9911:0x3fceb4b0 0x40045c01:0x3fceb570 |<-CORRUPTED
ELF file SHA256: c4dd50560fb5055a
E (355) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
If I change the flash to OIO 80MHZ and leave the OPI PSRAM enabled I get a message after connection to WIFI from the audo_info():
info PSRAM found, inputBufferSize: 638965 bytes
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
If I just disable the PSRAM I also get a message after WIFI connection:
info PSRAM not found, inputBufferSize: 14399 bytes
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
The crash occurs when audio connect to host is made. The WIFI connection is established and working at that point. Interestingly I imported the arduiono wifi audio application to Platformio IDE using an Adafruit Feather s3 with PSRAM board option and the program ran once but on reboot failed and I have not been successful getting it to run after that one time.
I would appreciate any suggestions for how to configure the EFUSE or other comments on enabling PSRAM that readers might have. I think th eWROOM2 had 1.8V PSRAM but I do not know what the WROOM1 has. My guess is 3.3V. How do I tell?
I get a serial info message back:
E (290) cpu_start: Octal Flash option selected, but EFUSE not configured!
abort() was called at PC 0x40376ef5 on core 0
Backtrace: 0x40377702:0x3fceb260 0x4037d1d5:0x3fceb280 0x40382e39:0x3fceb2a0 0x40376ef5:0x3fceb320 0x403cd6e7:0x3fceb350 0x403cd9a6:0x3fceb380 0x403c9911:0x3fceb4b0 0x40045c01:0x3fceb570 |<-CORRUPTED
ELF file SHA256: c4dd50560fb5055a
E (355) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
If I change the flash to OIO 80MHZ and leave the OPI PSRAM enabled I get a message after connection to WIFI from the audo_info():
info PSRAM found, inputBufferSize: 638965 bytes
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
If I just disable the PSRAM I also get a message after WIFI connection:
info PSRAM not found, inputBufferSize: 14399 bytes
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
The crash occurs when audio connect to host is made. The WIFI connection is established and working at that point. Interestingly I imported the arduiono wifi audio application to Platformio IDE using an Adafruit Feather s3 with PSRAM board option and the program ran once but on reboot failed and I have not been successful getting it to run after that one time.
I would appreciate any suggestions for how to configure the EFUSE or other comments on enabling PSRAM that readers might have. I think th eWROOM2 had 1.8V PSRAM but I do not know what the WROOM1 has. My guess is 3.3V. How do I tell?