Hello,
I want to attach PSRAM memory LY68L6400SLIT with Espressif ESP32-WROOM-32 2.4GHz WiFi+Bluetooth chip. Iam using wroom adapter, I am using barebone chip. I assume that this is possible, as I have found tutorial online http://blog.pagefault-limited.co.uk/lol ... pgrade-mod but got trouble an any connection I have tried did not work.
I have tried following combinations (memory chip -> esp chip):
CE -> d3
SIO1 -> io17
SIO2 -> d0
VSS -> gnd
VCC -> 3.3V
SIO3 -> cmd
SCLK -> CLK
SIO0 -> d1
chip boots but ps memory is undetected
CE -> io16 + 10K pul up resistor
SIO1 -> d0
SIO2 -> d3
VSS -> gnd
VCC -> 3.3V
SIO3 -> d2
SCLK -> io17
SIO0 -> d1
this combination crashes chip prior booting
I am looking for guidance what is the propper combination to connect memory chip via QPI interface.
ESP32 WROOM-32 with PSRAM Module
-
- Posts: 3
- Joined: Sun Mar 21, 2021 9:58 am
ESP32 WROOM-32 with PSRAM Module
- Attachments
-
- memory module
- Screen Shot 2021-03-21 at 14.27.11.png (70.75 KiB) Viewed 9420 times
-
- adapter
- New-Electrical-Socket-Programmer-Tool-ESP32-Adapter-Socket-For-ESP-WROOM-32-Module-Micro-USB-Type.jpg_q50.jpg (98.06 KiB) Viewed 9420 times
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 WROOM-32 with PSRAM Module
Suggest you look into the datasheet for the specific WROOM32 module you have. Some of them do not have the flash pins connected to the castellated pads.
-
- Posts: 3
- Joined: Sun Mar 21, 2021 9:58 am
Re: ESP32 WROOM-32 with PSRAM Module
Hello
I have removed metal chip case. I used multimeter to find which exact flash pins are connected to chip pins, I have found following
(flash PIN -> esp32 pin)
CE -> not connected to pin
SIO1 -> d0
SIO2 -> d3
VSS -> gnd
VCC -> 3.3V but no direct connection to pin
SIO3 -> d2
SCLK -> clk
SIO0 -> d1
I have used this combination already with CE and SCLK of PSRAM connected to io 16, 17. this crashes my esp32 chip.
I have removed metal chip case. I used multimeter to find which exact flash pins are connected to chip pins, I have found following
(flash PIN -> esp32 pin)
CE -> not connected to pin
SIO1 -> d0
SIO2 -> d3
VSS -> gnd
VCC -> 3.3V but no direct connection to pin
SIO3 -> d2
SCLK -> clk
SIO0 -> d1
I have used this combination already with CE and SCLK of PSRAM connected to io 16, 17. this crashes my esp32 chip.
Re: ESP32 WROOM-32 with PSRAM Module
Crashes how? Post the log
-
- Posts: 3
- Joined: Sun Mar 21, 2021 9:58 am
Re: ESP32 WROOM-32 with PSRAM Module
- rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
- configsip: 0, SPIWP:0xee
- clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
- mode:DIO, clock div:2
- load:0x3fff0018,len:4
- load:0x3fff001c,len:1044
- load:0xff2b0000,len:-1
- 1162 mmu set 00010000, pos 00010000
- 1162 mmu set 00020000, pos 00020000
- 1162 mmu set 00030000, pos 00030000
- 1162 mmu set 00040000, pos 00040000
- 1162 mmu set 00050000, pos 00050000
- 1162 mmu set 00060000, pos 00060000
- 1162 mmu set 00070000, pos 00070000
- 1162 mmu set 00080000, pos 00080000
- 1162 mmu set 00090000, pos 00090000
- 1162 mmu set 000a0000, pos 000a0000
- 1162 mmu set 000b0000, pos 000b0000
- 1162 mmu set 000c0000, pos 000c0000
- ets Jun 8 2016 00:22:57
(spiram -> esp32 pin)
CE -> gpio 16 + 10k pull up resictor
SIO1 -> d0
SIO2 -> d3
VSS -> gnd
VCC -> 3.3V
SIO3 -> d2
SCLK -> gpio
SIO0 -> d1
The output is very criptic for me Im unsere where is the problem.
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 WROOM-32 with PSRAM Module
That is a very terse log... can you crank up the bootloader logging level a bit in e.g. menuconfig?
Re: ESP32 WROOM-32 with PSRAM Module
That won't help because it doesn't finish loading the second stage bootloader from flash. Connecting the psram is probably messing up the spi signals.ESP_Sprite wrote: ↑Mon Mar 29, 2021 2:36 amThat is a very terse log... can you crank up the bootloader logging level a bit in e.g. menuconfig?
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 WROOM-32 with PSRAM Module
Was hoping to get at least some logging before the crash, but you're probably right.
Who is online
Users browsing this forum: nguyennamdsn and 75 guests