Search found 71 matches

by kbaud1
Fri Jun 23, 2023 10:23 pm
Forum: General Discussion
Topic: Reading the UART
Replies: 5
Views: 6987

Re: Reading the UART

This appears to be described in 3.16 item #3: https://www.espressif.com/sites/default ... ata_en.pdf
The solution is to have enough instructions or NOPs between successive FIFO reads (check the assembly to be sure).
by kbaud1
Tue Jul 12, 2022 9:40 pm
Forum: General Discussion
Topic: AP automatically set to open channel?
Replies: 0
Views: 1294

AP automatically set to open channel?

IDF I have been looking through the documentation and I haven't found this answer yet. Also googled and searched this forum. Seems like an obvious question. When initializing the esp32 in AP mode, you can specify the channel to use. But how do you know that channel is currently available? It seems i...
by kbaud1
Fri Jun 10, 2022 6:01 pm
Forum: General Discussion
Topic: UART/DPORT reads with SPI flash access hangs both cores
Replies: 1
Views: 2125

UART/DPORT reads with SPI flash access hangs both cores

This simple test program demonstrates a malfunction on ESP32-WROOM modules when there are UART reads on one core and SPI flash reads on the other core. Within seconds of running, both cores hang forever (with the WDT disabled). This can be seen when numbers stop printing out, and we also have LEDs o...
by kbaud1
Mon Mar 28, 2022 10:37 pm
Forum: General Discussion
Topic: Grounding unused input only pins?
Replies: 4
Views: 4285

Re: Grounding unused input only pins?

Thank you jaderrosa, I read that post before creating mine. It only recommended using a pull-down resistor in critical applications, "to keep all pins in a known state." This leaves unanswered my question about which of two specific scenarios would be better: grounding the pin (directly, not with a ...
by kbaud1
Fri Mar 18, 2022 11:49 pm
Forum: General Discussion
Topic: ESP32 AP name?
Replies: 2
Views: 2144

ESP32 AP name?

Does the ESP32 come already set with a unique MAC address (or something like this) for wifi? Where is it programmed? (in Efuse, flash, etc.) For example can multiple ESP32's power up in the same room and be connected to as AP's at the same time from different computers, without them thinking they ar...
by kbaud1
Fri Mar 18, 2022 11:42 pm
Forum: General Discussion
Topic: Grounding unused input only pins?
Replies: 4
Views: 4285

Grounding unused input only pins?

I am using the WROOM module and my design has one unconnected pin (GPIO36 aka SENSOR_VP) that cannot be software-configured as an output or with an internal pull-up or pull-down. I can't figure out whether it would be better to ground this pin, or leave it floating. The problem with floating is that...
by kbaud1
Thu Jan 13, 2022 10:18 pm
Forum: General Discussion
Topic: Factory ESP32 toggling pins not mentioned in docs?
Replies: 1
Views: 5717

Factory ESP32 toggling pins not mentioned in docs?

We have built a new CNC controller that uses the ESP32. When we apply power to the board to program it starts triggering relays in the power section. This could be dangerous. The pins affected are connected to GPIO 16 and 17. Before we designed this board, we verified according to the docs that thes...
by kbaud1
Mon Jun 28, 2021 2:36 pm
Forum: General Discussion
Topic: Global disable warnings as errors
Replies: 1
Views: 2577

Re: Global disable warnings as errors

Ah, this does it:

_Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
by kbaud1
Mon Jun 28, 2021 2:34 pm
Forum: General Discussion
Topic: Global disable warnings as errors
Replies: 1
Views: 2577

Global disable warnings as errors

There is a way to do it on a per library basis: viewtopic.php?t=17724

but, is there a way to do it globally?
by kbaud1
Mon Jun 15, 2020 4:02 pm
Forum: General Discussion
Topic: Is 5-6V safe on non-ADC IO pins?
Replies: 1
Views: 3616

Is 5-6V safe on non-ADC IO pins?

We powered an ESP32 with 3.3V, and we programmed every IO pin to slowly cycle high/low in open drain output mode with pullups and pulldowns disabled. We then checked for a voltage drop across a 3.3K resistor connected from 5V to each pin. Of course we saw about 5V when the pin switched low, but when...