Search found 7 matches
- Tue Jan 02, 2024 9:19 am
- Forum: ESP-IDF
- Topic: Unexpected boot to factory partition
- Replies: 0
- Views: 7330
Unexpected boot to factory partition
Hi, We encounter an issue with our product built around an ESP32-WROOM-32-E. Our setup is the following: - factory partition with a kind of proprietary bootloader - ota partition with the final application - nvs partition including mandatory and optional settings for the final application When all p...
- Tue Dec 19, 2023 8:11 am
- Forum: ESP-IDF
- Topic: UART and SPI
- Replies: 5
- Views: 34581
UART and SPI -> GPIO IRQ issue
Hi, After further investigation, it looks that the issue is not related to SPI but about the GPIO IRQ (pin 34) used to manage the SPI communication. SPI communication is ok (write and read operations) but tracing my code, I observe that as soon as the UART operates on core 0, the IRQ (attached to co...
- Fri Dec 15, 2023 4:09 pm
- Forum: ESP-IDF
- Topic: UART and SPI
- Replies: 5
- Views: 34581
Re: UART and SPI
Maybe .. But I tried different implementation. Now i use only binary mutexes to protect the spi communication on core 1. But it is still the same the issue as soon as core 0 is using UART. So to summarize I have: - GPIO IRQ attached on core 1 - Task notifyed by IRQ also on core 1 doing SPI communica...
- Wed Dec 13, 2023 8:09 am
- Forum: ESP-IDF
- Topic: UART and SPI
- Replies: 5
- Views: 34581
Re: UART and SPI
Hi.
No ressources are not the same.
SPI is using GPIOs 27, 32, 33 and 35
Logging (UART0) is using GPIOs 1 and 3 (U0RXD, U0TXD)
Modbus (RS485) is using GPIOs 12, 14, 25 and 26
No ressources are not the same.
SPI is using GPIOs 27, 32, 33 and 35
Logging (UART0) is using GPIOs 1 and 3 (U0RXD, U0TXD)
Modbus (RS485) is using GPIOs 12, 14, 25 and 26
- Tue Dec 12, 2023 3:52 pm
- Forum: ESP-IDF
- Topic: UART and SPI
- Replies: 5
- Views: 34581
UART and SPI
Hi, Is there any known issue or limitations about using UART and SPI at the same time on ESP32-WROOM-32 ? In our application we have two configuration with SPI and UART in parallel and both lead to having the SPI communication broken. 1. ESP logging function (using UART0) calls from task running on ...
- Tue Apr 20, 2021 7:29 am
- Forum: ESP-IDF
- Topic: Channel selection for WIFI STA
- Replies: 2
- Views: 3163
Re: Channel selection for WIFI STA
Thanks for your reply. Finally my code works. I was mislead by the log messages showing the device connected to channel 1 when trying another (wrong) channel I (11215) DEBUG: (HEAP:146668) (0:0) [halwifi.cpp:64] Retry with channel 3 I (13275) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:...
- Mon Apr 19, 2021 4:17 pm
- Forum: ESP-IDF
- Topic: Channel selection for WIFI STA
- Replies: 2
- Views: 3163
Channel selection for WIFI STA
Hello, I get some issue to select the channel for WIFI STA. Using esp_wifi_set_config with a channel different from 0 does not have any effect on the wifi driver. It always start using the last channel used during the last successful selection. Is it a known issue ? For best understanding of my need...