Search found 8912 matches

by ESP_Sprite
Mon Mar 18, 2024 2:52 am
Forum: General Discussion
Topic: ESP32-C3-MINI SPI and I2C
Replies: 5
Views: 688

Re: ESP32-C3-MINI SPI and I2C

I mean the pins the (internal) flash is connected, again, check the datasheet. Aside from that, if you want to be able to re-flash your ESP32-C3, it's obviously good to also keep from using the pins you need to do that, yes.
by ESP_Sprite
Mon Mar 18, 2024 2:50 am
Forum: ESP-IDF
Topic: WIFI sockets fail after a while
Replies: 10
Views: 681

Re: WIFI sockets fail after a while

Maybe a memory leak? You could try spinning up a separate task that prints the amount of available memory every x seconds, see if that goes down.
by ESP_Sprite
Mon Mar 18, 2024 2:45 am
Forum: General Discussion
Topic: Best practices for USB Vendor / Product ID
Replies: 6
Views: 753

Re: Best practices for USB Vendor / Product ID

I'm the guy who hands out the PIDs there. If you make any number (>=1) of devices you give away or sell or whatever, as long as you're willing to answer the questions in the readme of that repo, you'll get a PID.
by ESP_Sprite
Mon Mar 18, 2024 2:39 am
Forum: General Discussion
Topic: How to get the max speed out of ESP32 for hardware related tasks?
Replies: 3
Views: 508

Re: How to get the max speed out of ESP32 for hardware related tasks?

The issue is that 'older' microcontrollers like AVRs etc are simpler devices, with the peripherals very close to the CPU core, and in the same clock domain as the CPU core only works at a few MHz. That doesn't work for faster CPUs; you need bus logic, clock domain crossings, etc, and the GPIO subsys...
by ESP_Sprite
Sun Mar 17, 2024 6:56 am
Forum: General Discussion
Topic: ESP32-C3-MINI SPI and I2C
Replies: 5
Views: 688

Re: ESP32-C3-MINI SPI and I2C

Sorry for the late reply! Does that mean that I can use *any* pin? I know there are many precautions around other ESP32 SoCs because sometimes the SPI flash is connected and some pins are used for strapping. Yep, hence my (not otherwise used/assigned) remark. Check the datasheet for the flash pins ...
by ESP_Sprite
Sun Mar 17, 2024 3:40 am
Forum: ESP-IDF
Topic: Simple socket and errno = 11, No more processes
Replies: 28
Views: 2088

Re: Simple socket and errno = 11, No more processes

Heh, I can entirely understand why that'd make you pull your hair out. Glad you fixed it and thanks for sharing the solution!
by ESP_Sprite
Sun Mar 17, 2024 3:38 am
Forum: ESP-IDF
Topic: Can't stop watchdog reset (devkit C v4, ESP32-WROOM-32D)
Replies: 2
Views: 172

Re: Can't stop watchdog reset (devkit C v4, ESP32-WROOM-32D)

The watchdog is there for a reason; rather than trying to kill it, you're generally better off figuring out why it's unhappy in the first place.
by ESP_Sprite
Sat Mar 16, 2024 5:56 am
Forum: ESP-IDF
Topic: abort() inside ESP_LOGI
Replies: 2
Views: 2235

Re: abort() inside ESP_LOGI

Sounds like out-of-memory is a possibility, especially given it works for the first 30 mins...
by ESP_Sprite
Sat Mar 16, 2024 5:49 am
Forum: ESP-IDF
Topic: IRQ Handling Best Practices
Replies: 1
Views: 162

Re: IRQ Handling Best Practices

The GPIO subsystem only has one interrupt available (well, technically two on some chips, but I'm not sure if software supports using them both), so whatever option you pick goes for all GPIOs.
by ESP_Sprite
Fri Mar 15, 2024 2:49 am
Forum: ESP8266
Topic: Question about String
Replies: 6
Views: 601

Re: Question about String

That would certainly help. It might be as simple as a memory leak (e.g. doing a 'String *bla=new String' somewhere without delete'ing it afterwards).