Search found 9 matches
- Sun Aug 11, 2024 4:44 am
- Forum: ESP-IDF
- Topic: ESP32 S3 device not enumerating over built-in USB after flash
- Replies: 0
- Views: 632
ESP32 S3 device not enumerating over built-in USB after flash
I have a Waveshare 4.3" touchscreen based on an ESP32 S3, and the device has two USB ports, one for the built-in USB interface and one that uses a CH343P to provide an additional UART. I flashed a test firmware using the built-in USB port, and afterwards the device fails to enumerate at all. I've tr...
- Fri Jul 12, 2024 9:25 pm
- Forum: ESP-IDF
- Topic: How to prevent ESP_ERROR_CHECK from aborting
- Replies: 4
- Views: 1787
Re: How to prevent ESP_ERROR_CHECK from aborting
Excellent, thanks so much for the recommendations! I think I like the idea of manually probing the I2C slave, though I'm not sure exactly how to go about that.
- Fri Jul 12, 2024 5:39 am
- Forum: ESP-IDF
- Topic: How to prevent ESP_ERROR_CHECK from aborting
- Replies: 4
- Views: 1787
How to prevent ESP_ERROR_CHECK from aborting
I'm using a library to interface with an I2C OLED display (specifically this one https://github.com/nkolban/esp32-snippets/blob/master/hardware/displays/U8G2), and have a long standing problem that when the I2C display is not connected my device just crash loops. The reason this happens is because o...
- Wed Feb 07, 2024 1:41 am
- Forum: ESP-IDF
- Topic: How to pass data to IoT Button callback (via usr_data void pointer)
- Replies: 2
- Views: 852
Re: How to pass data to IoT Button callback (via usr_data void pointer)
Ah, of course! That makes total sense, thank you!
- Tue Feb 06, 2024 10:49 pm
- Forum: ESP-IDF
- Topic: How to pass data to IoT Button callback (via usr_data void pointer)
- Replies: 2
- Views: 852
How to pass data to IoT Button callback (via usr_data void pointer)
I'm trying to define a set of buttons to control an LED channel via the IoT Button component. My issue is that when the callback gets executed, whatever user data would have been passed in to the callback appears to no longer exist. Even in the case below where I am passing in a reference to a globa...
- Wed Jan 17, 2024 6:24 pm
- Forum: ESP-IDF
- Topic: How to gracefully handle failed i2c connection
- Replies: 2
- Views: 750
Re: How to gracefully handle failed i2c connection
Ah OK, I think I understand what's going on. Thank you!
- Wed Jan 17, 2024 5:23 am
- Forum: ESP-IDF
- Topic: How to gracefully handle failed i2c connection
- Replies: 2
- Views: 750
How to gracefully handle failed i2c connection
I've implemented an OLED display over i2c, and I'm trying to figure out whether there is a graceful way to fail to initialize the display gracefully and continue executing the rest of the behavior without the display. Currently when the display is not connected, the ESP boot loops with an error when...
- Sun Nov 12, 2023 6:58 am
- Forum: General Discussion
- Topic: PCNT rotary encoder example producing extra pulses
- Replies: 1
- Views: 1424
Re: PCNT rotary encoder example producing extra pulses
Been playing around with this for a week now and no progress. I've tried setting the glitch filter, but any value above 20 causes a crash with "set glitch filter failed", implying there is some undocumented upper limit to what the glitch filter can be? Would appreciate any guesses as to what is goin...
- Mon Nov 06, 2023 4:22 am
- Forum: General Discussion
- Topic: PCNT rotary encoder example producing extra pulses
- Replies: 1
- Views: 1424
PCNT rotary encoder example producing extra pulses
I've been trying to adapt the PCNT rotary encoder example https://github.com/espressif/esp-idf/blob/v4.4/examples/peripherals/pcnt/rotary_encoder/README.md , but I seem to be getting the incorrect number of pulse when calling get_counter_value . I've tried this with a few different encoders, and I g...