GPIO 9 doesnt work as OUPUT

Kraiwinus
Posts: 1
Joined: Sun Jun 05, 2022 1:44 pm

GPIO 9 doesnt work as OUPUT

Postby Kraiwinus » Sun Jun 05, 2022 2:18 pm

Greetings!

I am very new to all this.
I am building a LoRa telemetry project based around the ESP32-C3FH , and this is something I came accros.
I am using SPI to talk to an RFM95W and I am using GPIO 9 as a SS/CS pin. To use it as a SS pin I need to set the pinMode to OUTPUT instead of the standard INPUT_PULLUP.

I am using the internal flash on the ESP32C3FH and flash mode DIO.

Page 15:
https://www.espressif.com/sites/default ... eet_en.pdf
(Internal Weak Pullup used)

Code: Untitled.cpp Select all

#include <Arduino.h>
void setup() {
pinMode(9, OUTPUT);
}
void loop() {
}
gives me this ERROR:

Code: Untitled.txt Select all

ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x8 (TG1WDT_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
Saved PC:0x40380082
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x438
load:0x403ce000,len:0x90c
load:0x403d0000,len:0x2358
SHA-256 comparison failed:
Calculated: a9753a4fc647c6545c1b919ef08db429130a48592727edca270f1e5a3da0d0a9
Expected: 3bf6ef2cf3b9eefcd4b3c70cc5d1ce5138292d101a5cb1d5db6fbebf081b0a19
Attempting to boot anyway...
entry 0x403ce000
Is there something with GPIO9 that I missed?
I tried this on GPIO10, and there it worked flawlessly.

Kind Regards!

Who is online

Users browsing this forum: Applebot, PerplexityBot, Qwantbot and 3 guests