psram: PSRAM ID read error: 0xffffffff
Posted: Sun Feb 11, 2024 7:15 pm
<r>Hi everyone,<br/>
I'm trying to use a psram but I get the following error<br/>
<br/>
psram: PSRAM ID read error: 0xffffffff<br/>
<br/>
this is my setup<br/>
<br/>
CHIP: ESP32 WROOM 32<br/>
<br/>
PSRAM: W25Q64 64Mbit<br/>
<br/>
I connected the CS pin of the PSRAM to pin 16 of the esp32 and the DO to 19, the DI to 23 and the CLK to 17<br/>
<br/>
this is the configuration of my platformio.ini
<CODEBOX codebox="c" file="Untitled.c"><s></e></CODEBOX></r>
I'm trying to use a psram but I get the following error<br/>
<br/>
psram: PSRAM ID read error: 0xffffffff<br/>
<br/>
this is my setup<br/>
<br/>
CHIP: ESP32 WROOM 32<br/>
<br/>
PSRAM: W25Q64 64Mbit<br/>
<br/>
I connected the CS pin of the PSRAM to pin 16 of the esp32 and the DO to 19, the DI to 23 and the CLK to 17<br/>
<br/>
this is the configuration of my platformio.ini
<CODEBOX codebox="c" file="Untitled.c"><s>
- </s>
- <br/>
- ; PlatformIO Project Configuration File<br/>
- ;<br/>
- ; Build options: build flags, source filter<br/>
- ; Upload options: custom upload port, speed and extra flags<br/>
- ; Library options: dependencies, extra library storages<br/>
- ; Advanced options: extra scripting<br/>
- ;<br/>
- ; Please visit documentation for the other options and examples<br/>
- ; https://docs.platformio.org/page/projectconf.html<br/>
- <br/>
- [env:esp32doit-devkit-v1]<br/>
- platform = espressif32<br/>
- board = esp32dev ;esp32dev<br/>
- framework = arduino<br/>
- monitor_speed = 115200<br/>
- upload_port = /dev/cu.usbserial-0001<br/>
- monitor_port = /dev/cu.usbserial-0001<br/>
- upload_speed = 921600<br/>
- board_build.flash_mode = qio<br/>
- board_build.f_flash = 40000000L<br/>
- board_build.partitions = huge_app.csv<br/>
- lib_deps = <br/>
- ArduinoJson<br/>
- TFT_eSPI<br/>
- lvgl/lvgl@^8.3.9<br/>
- https://github.com/me-no-dev/ESPAsyncWebServer.git<br/>
- https://github.com/esphome/ESP32-audioI2S.git<br/>
- build_flags = <br/>
- -DCORE_DEBUG_LEVEL=5<br/>
- -DBOARD_HAS_PSRAM<br/>
- -mfix-esp32-psram-cache-issue<br/>
- -D USER_SETUP_LOADED<br/>
- -D ILI9341_DRIVER<br/>
- -D TFT_MOSI=23<br/>
- -D TFT_SCLK=18<br/>
- -D TFT_CS=15<br/>
- -D TFT_DC=2<br/>
- -D TFT_RST=4<br/>
- -D TOUCH_CS=21<br/>
- -D LOAD_GLCD<br/>
- -D LOAD_FONT2<br/>
- -D LOAD_FONT4<br/>
- -D LOAD_FONT6<br/>
- -D LOAD_FONT7<br/>
- -D LOAD_FONT8<br/>
- -D LOAD_GFXFF<br/>
- -D SMOOTH_FONT<br/>
- -D ESP32<br/>
- -I src<br/>
- monitor_filters = <br/>
- esp32_exception_decoder<br/>
- default<br/>
- board_build.mcu = esp32<br/>
- <e>