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)
  1. #include <Arduino.h>
  2. void setup() {
  3.   pinMode(9, OUTPUT);
  4. }
  5. void loop() {
  6. }
gives me this ERROR:
  1. ESP-ROM:esp32c3-api1-20210207
  2. Build:Feb  7 2021
  3. rst:0x8 (TG1WDT_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
  4. Saved PC:0x40380082
  5. SPIWP:0xee
  6. mode:DIO, clock div:1
  7. load:0x3fcd6100,len:0x438
  8. load:0x403ce000,len:0x90c
  9. load:0x403d0000,len:0x2358
  10. SHA-256 comparison failed:
  11. Calculated: a9753a4fc647c6545c1b919ef08db429130a48592727edca270f1e5a3da0d0a9
  12. Expected: 3bf6ef2cf3b9eefcd4b3c70cc5d1ce5138292d101a5cb1d5db6fbebf081b0a19
  13. Attempting to boot anyway...
  14. 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: No registered users and 74 guests