Page 1 of 1

CS(CE) and CLK(SCLK) Pins now swapped! GPIO16 and GPIO17 in PSRAM

Posted: Sun Jun 04, 2017 12:04 am
by rudi ;-)
hi guys

more and more confusing now :)

Wrover Starter Kit says:
-> GPIO16 and GPIO17 are used as the CS and clock signal for PSRAM. To ensure
reliable performance, the two GPIOs are not led out.
wrover_get_started.jpg
wrover_get_started.jpg (71.48 KiB) Viewed 6037 times
means
GPIO16 = CS
GPIO17 = CLK

but we read now in the future/pSRAM_maloc


To connect the ESP-PSRAM chip to the ESP32, connect the following signals:
  • PSRAM /CE (pin 1) - ESP32 GPIO 17
    PSRAM SO (pin 2) - flash DO
    PSRAM SIO[2] (pin 3) - flash WP
    PSRAM SI (pin 5) - flash DI
    PSRAM SCLK (pin 6) - ESP32 GPIO 16
    PSRAM Vcc (pin 8) - ESP32 VCC_SDIO

thanks - please.

ps
and yes, if you see here in the pSRAM code ...
https://github.com/espressif/esp-idf/bl ... sram.c#L50
the pins swapped to the describtion

which part is the right part now`?

Re: CS(CE) and CLK(SCLK) Pins now swapped! GPIO16 and GPIO17 in PSRAM

Posted: Sun Jun 04, 2017 7:33 am
by ESP_Sprite
As I said in the other topic: please do not take off the cuff sentences like "pin a and b are used as funca and funcb" as a hard 1-to-1 mapping; they are just illustrative to indicate e.g.they're not to be used for other purposes. If we did mean an 1-to-1 mapping, we've used the word 'respectively'. Always check the documentation directly relating to what you want instead.