Search found 9034 matches

by ESP_Sprite
Fri Jul 30, 2021 10:56 am
Forum: ESP-IDF
Topic: Using Multiple interrupts in esp32
Replies: 12
Views: 12986

Re: Using Multiple interrupts in esp32

Aaaaah, okay, it disables it entirely; the wording in the original post ('ESP32 is unable to service both interrupts at a time (simultaneously)') made me think there was something wrong at runtime only when both interrupts were triggered. In that case, I think the issue is that gpio_install_isr_serv...
by ESP_Sprite
Fri Jul 30, 2021 9:21 am
Forum: ESP-IDF
Topic: What is better way to store some data after deep sleep?
Replies: 7
Views: 4764

Re: What is better way to store some data after deep sleep?

What do you mean, 'doubt of performance'? What performance are you worried about?
by ESP_Sprite
Fri Jul 30, 2021 9:18 am
Forum: ESP-IDF
Topic: Using Multiple interrupts in esp32
Replies: 12
Views: 12986

Re: Using Multiple interrupts in esp32

Hm, I'm not seeing anything obviously wrong with that code... Can you tell me what problems specifically you see, that is, how do you notice specifically that the ADC interrupt isn't serviced (and how did you conclude it's the ADC interrupt and not something else in the chain that malfunctions) and ...
by ESP_Sprite
Fri Jul 30, 2021 4:20 am
Forum: ESP32 Arduino
Topic: A fatal error occurred: Timed out waiting for packet content on custom PCB
Replies: 4
Views: 4087

Re: A fatal error occurred: Timed out waiting for packet content on custom PCB

Something's wrong with communication with the flash chip. Check pin 17-22 on the module, see if those aren't accidentally bridged or shorted to something.
by ESP_Sprite
Fri Jul 30, 2021 12:47 am
Forum: ESP-IDF
Topic: Possible to use I2S to have a 16 bit data bus?
Replies: 5
Views: 4129

Re: Possible to use I2S to have a 16 bit data bus?

Yes, I2S can do 16 or even 32-bit buses.
by ESP_Sprite
Fri Jul 30, 2021 12:46 am
Forum: ESP-IDF
Topic: Using Multiple interrupts in esp32
Replies: 12
Views: 12986

Re: Using Multiple interrupts in esp32

That sounds odd... do you have a minimal example that shows this, or at least more information (how long is the ADC code delayed, for instance)?
by ESP_Sprite
Thu Jul 29, 2021 10:08 am
Forum: ESP-IDF
Topic: i2c_config_t union issue on definition of variables
Replies: 3
Views: 2918

Re: i2c_config_t union issue on definition of variables

It works if you set it in code as a struct member:

Code: Select all

config.master.spi_clock=123; //works
It does not work in a named initializer:

Code: Select all

i2c_config_t config={
	master.spi_clock=123 //does NOT work
}
by ESP_Sprite
Thu Jul 29, 2021 10:01 am
Forum: General Discussion
Topic: Ethernet ENC28j60 github example - Error: enc28j60_init: wrong chip ID
Replies: 6
Views: 5085

Re: Ethernet ENC28j60 github example - Error: enc28j60_init: wrong chip ID

My wiring is functioning properly
Just curious: what makes you so sure about that?
by ESP_Sprite
Thu Jul 29, 2021 9:56 am
Forum: ESP-IDF
Topic: [SOLVED] ESP32 firmware update from SPIFFS partition
Replies: 4
Views: 4138

Re: ESP32 firmware update from SPIFFS partition

Your code will automatically update ota_0 if it's running from ota_1 (or factory) and ota_1 if it's running from ota_0; the call to esp_ota_get_next_update_partition will give you the correct partition to update. Returning to factory is something done in the bootloader; I think there's a Menuconfig ...