Morning rudi!rudi ;-) wrote:have a nice week start my friend!
greetings fly out to friends all over the globe
done!
best wishes
rudi
Woah, AWESOME job! So what ram is that?
Cheers,
Seon
unexpectedmaker.com
Morning rudi!rudi ;-) wrote:have a nice week start my friend!
greetings fly out to friends all over the globe
done!
best wishes
rudi
yes will upload next timeseonroz wrote:Hey rudi, Can I get a hi-res shot of a close up around the PSRAM? I can't see what you did about 10k pull-up or any decoupling caps.
The images you posted are hard to see, thanks
Thanks
Seon
unexpectedmaker.com
Thanks, I thought I could see a resistor there, just wanted to make sure.rudi ;-) wrote:yes will upload next timeseonroz wrote:Hey rudi, Can I get a hi-res shot of a close up around the PSRAM? I can't see what you did about 10k pull-up or any decoupling caps.
The images you posted are hard to see, thanks
Thanks
Seon
unexpectedmaker.com
the 10k pull up is sitting at the psram in this mod
and connected to Vcc (8) and CS#(1) pin of pSRAM
Vcc(8) pin goes to Vcc 3.3V
CS#(1) pin goes to IO9
i did not use in this decoupling caps - but you can use one between Vcc(8) and GND(4) directly on the pSRAM.
best wishes
rudi
Great shot! Thanks rudi!rudi ;-) wrote:
Seon, in this i used Lyontek LY68L6400SL (64Mbit / 3.3V )seonroz wrote: ..So what ram is that?
Code: Select all
menuconfig PSRAMMODULES
bool "PSRAMMODUL"
default n
help
Select this option to enable a PSRAMMODUL.
choice PSRAMMODUL_SELECT
prompt "Select the ESP_PSRAM_MODUL you want used for PSRAM"
default CONFIG_PSRAM_PICO_D4_V4
depends on PSRAMMODULES
help
PSRAM_WROVER Wrover Modul (all)
PSRAM_PICO_D4_V4 PICO D4 V4 Modul
You can select here a Modul you want use for PSRAM.
config PSRAM_WROVER
bool "WROVER Modul (all)"
help
Select this: Wrover Modul (all)
config PSRAM_PICO_D4_V4
bool "PICO D4 V4"
help
Select this: PICO D4 V4 Modul
endchoice
Code: Select all
// PICOD4 Support by custom change
// see customer rudi 29.August 2017
// https://www.esp32.com/viewtopic.php?f=2&t=2713&start=30#p13380
// proposal to do:
// change for menuconfig work later to set the right esp32 modul
// or let it do this auto mode by chip package identify
// comes later as patch
#ifdef CONFIG_PSRAM_PICO_D4_V4
#define PICO 1
#endif
#ifdef CONFIG_PSRAM_WROVER
#define WROVER 1
#endif
#ifdef PICO
#define FLASH_CLK_IO 6 //Psram clock is a delayed version of this in 40MHz mode
#define FLASH_CS_IO 16 // 11
#define PSRAM_CLK_IO 10 // 17
#define PSRAM_CS_IO 9 // 16
#define PSRAM_SPIQ_IO 17 // 7
#define PSRAM_SPID_IO 8
#define PSRAM_SPIWP_IO 7 // 10
#define PSRAM_SPIHD_IO 11 // 9
#endif
#ifdef WROVER
#define FLASH_CLK_IO 6 //Psram clock is a delayed version of this in 40MHz mode
#define FLASH_CS_IO 11
#define PSRAM_CLK_IO 17
#define PSRAM_CS_IO 16
#define PSRAM_SPIQ_IO 7
#define PSRAM_SPID_IO 8
#define PSRAM_SPIWP_IO 10
#define PSRAM_SPIHD_IO 9
#endif
Code: Select all
//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");
ESP_EARLY_LOGE(TAG, "ESP32PICOD4 Nice to see this here now Yeah ;-)");
// return ESP_FAIL;
}
Users browsing this forum: No registered users and 335 guests