Search found 23 matches

by bstolk
Tue Mar 29, 2022 4:42 pm
Forum: ESP32 Arduino
Topic: Saving SSID+passwd after WPS procedure.
Replies: 3
Views: 5064

Saving SSID+passwd after WPS procedure.

I am running the WIFI/WPS Example on my ESP32C3U. While this does get me an IP address, and makes my μcontroller ping-able on my network, I would like to store the result of the WPS on the device (I am using the M5Stack STAMP-C3U μcontroller.) NOTE: I use the push-button on my router to connect. Any...
by bstolk
Thu Mar 24, 2022 1:48 am
Forum: Report Bugs
Topic: ESP32C3 DevKitM-1 documentation has incorrect SPI pin out.
Replies: 2
Views: 3658

Re: ESP32C3 DevKitM-1 documentation has incorrect SPI pin out.

Ah, OK.
Thanks for clearing that up @ESP_Sprite. I appreciate it.
by bstolk
Thu Mar 24, 2022 1:00 am
Forum: ESP32 Arduino
Topic: ESP32-C Device stuck in a boot loop: SHA-256 comparison failed
Replies: 5
Views: 9278

Re: ESP32-C Device stuck in a boot loop: SHA-256 comparison failed

Hi @bstolk afaik GPIO6 to GPIO11 are normally used for flash. So yes, like @GregP72 already wrote, use different GPIOs for I2C. Thanks Felix I am confused... I am not supposed to use GPIO6, GPIO7, GPIO8, GPIO9, GPIO10 and GPIO11 for anything? Doesn't that severely hamper the usefulness of this boar...
by bstolk
Wed Mar 23, 2022 10:48 pm
Forum: Report Bugs
Topic: ESP32C3 DevKitM-1 documentation has incorrect SPI pin out.
Replies: 2
Views: 3658

ESP32C3 DevKitM-1 documentation has incorrect SPI pin out.

The documentation on the ESP32C3 dev kit is incorrect in the pin-out diagram. https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/hw-reference/esp32c3/user-guide-devkitm-1.html# On this diagram it states that the SPI CLOCK is at GPIO6. In reality, it is on GPIO4, which can be confirmed wit...
by bstolk
Thu Jan 20, 2022 6:09 pm
Forum: ESP32 Arduino
Topic: SPI on ESP32-C3
Replies: 1
Views: 6474

Re: SPI on ESP32-C3

Ah, OK.

I see that the IDE defines the symbol
SCK / MISO / MOSI as 4 / 5 / 6

Using that the Adafruit SSD1306 works fine, and can use the default SPI object.

NOTE: It would be useful to add those to the pin-out diagram of the ESP32-C3-DevKitM-1.
by bstolk
Thu Jan 20, 2022 5:37 pm
Forum: ESP32 Arduino
Topic: SPI on ESP32-C3
Replies: 1
Views: 6474

SPI on ESP32-C3

Does the ESP32-C3 have hardware SPI? Looking at the pinout https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/_images/esp32-c3-devkitm-1-v1-pinout.jpg I see no MISO MOSI SCLK pins. I am trying to run the Adafruit SSD1306 sample here, with HW SPI. https://github.com/adafruit/Adafruit_SSD13...
by bstolk
Sat Jan 15, 2022 3:59 am
Forum: ESP32 Arduino
Topic: Default I2C pins on ESP32-3C
Replies: 10
Views: 32738

Re: Default I2C pins on ESP32-3C

ESP_Sprite wrote:
Sat Jan 15, 2022 3:43 am
You should be able to simply reflash it; does that not work?
Reflash, as in reprogram?

When I build and upload a new program, I get the same issue. I use arduino ide.

Can I reflash the bootloader, maybe? If so, how?
by bstolk
Sat Jan 15, 2022 12:43 am
Forum: ESP32 Arduino
Topic: Default I2C pins on ESP32-3C
Replies: 10
Views: 32738

Re: Default I2C pins on ESP32-3C

I think GPIO 8/9 for I2C is indeed dangerous. I tried scanning the I2C bus with a OLED attached, and I am now left with a corrupted board, that spews this in a never ending stream: ESP-ROM:esp32c3-api1-20210207 Build:Feb 7 2021 rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, cl...
by bstolk
Sat Jan 15, 2022 12:20 am
Forum: ESP32 Arduino
Topic: ESP32-C Device stuck in a boot loop: SHA-256 comparison failed
Replies: 5
Views: 9278

ESP32-C Device stuck in a boot loop: SHA-256 comparison failed

My ESP32-C was working previously, but after hooking up GPIO9/8 to try I2C, I think I somehow corrupted it? Now it is stuck in this boot loop. I tried reset, and power-cycle, to no avail: ESP-ROM:esp32c3-api1-20210207 Build:Feb 7 2021 rst:0x3 (RTC_SW_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT) Saved PC:...
by bstolk
Fri Jan 14, 2022 11:47 pm
Forum: ESP32 Arduino
Topic: Turning off radio on ESP32-C3
Replies: 1
Views: 5450

Turning off radio on ESP32-C3

Hi,

I use the Espressif ESP32-C3-DevKitM-1 with Arduino IDE (nightly build.)

For my use, I don't need WIFI nor do I need Bluetooth.

Are the radio function enabled by default, or disabled?

If they are enabled, how can I turn them off? Is there example code on how to do that with Arduino-IDE coding?