Search found 8875 matches

by ESP_Sprite
Tue Mar 19, 2024 4:04 am
Forum: ESP-IDF
Topic: ADC values less than half of expected
Replies: 2
Views: 74

Re: ADC values less than half of expected

The ADC is not very linear in that region on our original ESP32; also the internal reference voltage varies a bit from chip to chip. Try to use the calibration driver , that should compensate for the reference voltage and partly for the nonlinearity, but you may be better off also changing the resis...
by ESP_Sprite
Tue Mar 19, 2024 3:59 am
Forum: Hardware
Topic: ESP32-C3 power consumption when held in reset
Replies: 1
Views: 20

Re: ESP32-C3 power consumption when held in reset

The chip is entirely off when held in reset; the exact power use is in the datasheet but iirc should be below an uA. Are you sure you do not have something else leaking power, e.g. pullups/downs?
by ESP_Sprite
Mon Mar 18, 2024 2:10 pm
Forum: ESP-IDF
Topic: WIFI sockets fail after a while
Replies: 8
Views: 337

Re: WIFI sockets fail after a while

That sounds like your issue. WiFi in particular needs some things to be in SRAM rather than external RAM, and that 12K that is left is likely fragmented enough not to be able to give up a buffer. Note that your total heap is SRAM plus external RAM, that's why it's so big.
by ESP_Sprite
Mon Mar 18, 2024 2:52 am
Forum: General Discussion
Topic: ESP32-C3-MINI SPI and I2C
Replies: 5
Views: 405

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: 8
Views: 337

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: 461

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: 2
Views: 149

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: 405

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: 1883

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: 117

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.