esp32-pico-d4 work with exteranl psram issue.

bruceatsmart
Posts: 2
Joined: Mon May 20, 2019 3:59 am

esp32-pico-d4 work with exteranl psram issue.

Postby bruceatsmart » Mon May 20, 2019 4:25 am

Hi ESP32 team!
does the esp32-Pico-d4 can support external psram ?

the IDF seems can not work with psram for this chip, but the chip datasheet gives the referer psram schamatic connection.

please help comforme this .
thank you!

//psram gpio init , different working frequency we have different solutions
esp_err_t IRAM_ATTR psram_enable(psram_cache_mode_t mode, psram_vaddr_mode_t vaddrmode) //psram init
{
uint32_t chip_ver = REG_GET_FIELD(EFUSE_BLK0_RDATA3_REG, EFUSE_RD_CHIP_VER_PKG);
uint32_t pkg_ver = chip_ver & 0x7;
if (pkg_ver == EFUSE_RD_CHIP_VER_PKG_ESP32D2WDQ5) {
ESP_EARLY_LOGE(TAG, "ESP32D2WD do not support psram yet");
return ESP_FAIL;
} else if (pkg_ver == EFUSE_RD_CHIP_VER_PKG_ESP32PICOD2) {
ESP_EARLY_LOGE(TAG, "ESP32PICOD2 do not support psram yet");
return ESP_FAIL;
} else if (pkg_ver == EFUSE_RD_CHIP_VER_PKG_ESP32PICOD4) {
ESP_EARLY_LOGE(TAG, "ESP32PICOD4 do not support psram yet");
return ESP_FAIL;

}

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: esp32-pico-d4 work with exteranl psram issue.

Postby ESP_Angus » Mon May 20, 2019 5:40 am

Support was added earlier this year, but it's not in a stable release yet.

It's in the IDF master branch and the release/v3.3 branch now, and will be in the v3.3 final release.

The master branch commit is here: https://github.com/espressif/esp-idf/co ... 2cb39c92e6

Who is online

Users browsing this forum: No registered users and 202 guests