ESP32-S2 SD-Speicherkarte

Annex for ESP32
Post Reply
Willi55
Posts: 21
Joined: Mon Apr 12, 2021 4:57 pm
Has thanked: 14 times
Been thanked: 1 time

ESP32-S2 SD-Speicherkarte

Post by Willi55 »

Die Speicherkarte wird offensichtlich beim booten eines ES32-S2 nicht angesprochen.
Ich vermute, daß die SPI-Schnittstelle beim booten mit den Standartpins (MOSI-GPIO23, MISO-GPIO19 usw) aktiviert wird.
Diese GPIOs können jedoch beim ESP32-S2 nicht verwendet werden. Ich verwende deshalb die GPIOs 10-13, die auch in der Konfigurationtabelle eingetragen wurden. Ein TFT-Display kann über die SPI-Schnittstelle erst nach dem ausführen des Befehls SPI.SETUP angesprochen werden. Anscheinend werden erst dann die in der Konfigurationstabelle angegebenen GPIOs der SPI-Schnittstelle richtig zugeordnet.
User avatar
cicciocb
Site Admin
Posts: 1899
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1269 times
Contact:

Re: ESP32-S2 SD-Speicherkarte

Post by cicciocb »

Yes, it is quite possible, this version is not really debugged
Willi55
Posts: 21
Joined: Mon Apr 12, 2021 4:57 pm
Has thanked: 14 times
Been thanked: 1 time

Re: ESP32-S2 SD-Speicherkarte

Post by Willi55 »

@ cicciocb

Gibt es denn eine Möglichkeit auf die Daten der SD-Speicherkarte zuzugreifen, auch wenn diese nicht im Bootvorgang eingebunden wird ?
User avatar
cicciocb
Site Admin
Posts: 1899
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1269 times
Contact:

Re: ESP32-S2 SD-Speicherkarte

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Fri Feb 24, 2023 11:26 am @ cicciocb

Is there a way to access the data on the SD memory card, even if it is not included in the boot process?
No, the SDCARD must be enabled before otherwise only the internal filesystem is selected
Willi55
Posts: 21
Joined: Mon Apr 12, 2021 4:57 pm
Has thanked: 14 times
Been thanked: 1 time

Re: ESP32-S2 SD-Speicherkarte

Post by Willi55 »

@ cicciocb

Ist es denn wahrscheinlich, daß in einer zukünftigen Version für den ESP32-S2 die GPIO Zuordnung in der Konfigurationstabelle schon beim Bootprozess berücksichtigt wird ?
User avatar
cicciocb
Site Admin
Posts: 1899
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1269 times
Contact:

Re: ESP32-S2 SD-Speicherkarte

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Fri Feb 24, 2023 12:53 pm @ cicciocb
Is it likely that in a future version for the ESP32-S2 the GPIO assignment in the configuration table will already be taken into account during the boot process?
Yes
Post Reply