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

User avatar
rudi ;-)
Posts: 1729
Joined: Fri Nov 13, 2015 3:25 pm

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

Postby rudi ;-) » Sun Jun 04, 2017 12:04 am

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 6051 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`?
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Sun Jun 04, 2017 7:33 am

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.

Who is online

Users browsing this forum: No registered users and 55 guests