Search found 5 matches

by rustyx
Mon Jul 12, 2021 8:10 am
Forum: ESP-IDF
Topic: atomic test and modify uint32_t
Replies: 4
Views: 9821

Re: atomic test and modify uint32_t

Too bad ESP8266 doesn't seem to fully support std::atomic . Atomic loads/stores work fine, but compare_exchange_weak() , compare_exchange_strong() , ++ , etc, end up with a link error " undefined reference to `__atomic_compare_exchange_2` ". Of course it's not an issue on a single-core system. But i...
by rustyx
Wed May 08, 2019 7:48 pm
Forum: General Discussion
Topic: ESP32 WROOM 32 won't enter serial bootloader mode
Replies: 6
Views: 33629

Re: ESP32 WROOM 32 won't enter serial bootloader mode

Both IO0 and IO2 must be low to enter download mode. Are you sure you pull IO2 down, not up? It's pulled down in ESP32 by default.
by rustyx
Sat Apr 13, 2019 2:37 pm
Forum: General Discussion
Topic: ESP32 Power consumption considerations
Replies: 10
Views: 154265

Re: ESP32 Power consumption considerations

A better approach to testing current draw is to get a ESP32 Test Board. Like one of these. With the ESP32 removed test the current draw of the board alone. Then pop the ESP32 in there and subtract the new reading from when it was removed. That board has the same linear regulator as other boards. It...
by rustyx
Mon Apr 01, 2019 8:35 pm
Forum: General Discussion
Topic: ESP32 Power consumption considerations
Replies: 10
Views: 154265

Re: ESP32 Power consumption considerations

After that module consumes average 130 mA with 0.6A current spikes. The spikes have duration of 0.5 ms and appear in bursts with spike rate of 100 ms. 100ms is the WiFi beacon rate. But my ESP32 dev kit (thus including the USB chip and power LED) consumes 40mA when connected to WiFi, spiking to ~15...
by rustyx
Fri Mar 15, 2019 9:46 pm
Forum: ESP-IDF
Topic: ESP32 I2C slave snoop mode
Replies: 0
Views: 3171

ESP32 I2C slave snoop mode

I need to snoop I2C data sent to two other devices on the same bus.

Is it possible to configure snoop mode for I2C with ESP32 I2C slave mode? In other words, slave mode but without specifying the device ID and without responding with ACK, just reading in the data.