Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSRAM not available #62

Open
VivantSenior opened this issue Jul 16, 2024 · 2 comments
Open

PSRAM not available #62

VivantSenior opened this issue Jul 16, 2024 · 2 comments

Comments

@VivantSenior
Copy link

VivantSenior commented Jul 16, 2024

Hi,

I ordered 5 pcbs with already soldered components. Out of these 5 pcbs one reports 0B PSRAM available. I'm using ESPHome with @tetele's MicroWakeWord configuration.

Configuration related to the board itself and PSRAM:

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: esp-idf
    version: recommended
    sdkconfig_options:
      CONFIG_ESP32_S3_BOX_BOARD: "y"

psram:
  mode: octal
  speed: 80MHz

After upload not much RAM is used:

RAM:   [=         ]  11.3% (used 36960 bytes from 327680 bytes)
Flash: [========  ]  82.9% (used 1521433 bytes from 1835008 bytes)

But when enabling micro wake word I receive an error:

[C][psram:020]: PSRAM:
[C][psram:021]:   Available: NO
...
...
[E][esp-idf:000]: E (20485) AUDIO_PIPELINE: audio_pipeline.c:255 (audio_pipeline_init): Memory exhausted

When I enabled debug I can see that there is 0B PSRAM available:
Bedroom VA PSRAM

This is the problematic board:
PCB_no psram

Other PCB reports much more available PSRAM and even 2 times more free heap:

[C][psram:020]: PSRAM:
[C][psram:021]:   Available: YES
[C][psram:024]:   Size: 8191 KB

Kitchen VA PSRAM
8 291 859 bytes is ~8MB which is accurate for ESP32-S3R8 board.

ESPHome config for both boards is exactly the same. What can be a reason for this issue?

@jherby2k
Copy link

jherby2k commented Aug 7, 2024

I don't have this problem. maybe something with your board specifically? Got a better pic of that chip?

[10:26:47][C][psram:020]: PSRAM:
[10:26:47][C][psram:021]:   Available: YES
[10:26:47][C][psram:024]:   Size: 8191 KB

@VivantSenior
Copy link
Author

@jherby2k, I made two pictures. Please see them below.
IMG_1500-min

IMG_1501-min

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants