EasyManuals Logo

Espressif Systems ESP User Manual

Default Icon
191 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #97 background imageLoading...
Page #97 background image
Chapter 4. Software framework
After routing the SDA signal of the SPI screen to GPIO35 of ESP32-S2, I expect that the SDA signal is low
when idle and high when writing data. But why does this pin turn out to be high when idle and low when
writing data on power-up? How to achieve my expected result?
Please modify the mode member variable in the spi_device_interface_con󰝘g_t structure.
4.4.13 Timer
What should I pay attention to when using the HW timer interrupt with ESP8266?
Please refer to ESP8266 Technical Reference Manual regarding the related APIs.
If you are using NonOS SDK, please refer to ESP8266 Non-OS SDK API Reference.
Generally, when using hardware interrupts, you should 󰝘nish executions as soon as possible and put the callback
function into IRAM to avoid the potential impacts of Cache.
For RTOS SDK, IRAM_ATTR should be added to the function.
For NonOS SDK, ICACHE_FLASH_ATTR should not be added before the function.
How to set interrupt priority for timers?
Only with the chip of ESP32, esp_timer can set the interrupt priority by modifying CON-
FIG_ESP_TIMER_INTERRUPT_LEVEL.
General Purpose Timer can set the interrupt priority by modifying the last parameter of the interface
timer_isr_callback_add.
4.4.14 Touch Sensor
When using ESP32 to develop Touch Sensor applications, where can I nd references?
Please refer to Software and Hardware Designs.
When there is water on ESP32-S2 Touch Sensor, does it block or recognize the Touch event with its water-
proof function?
When there is a small amount of water droplets, the waterproof function of the ESP32-S2 Touch Sen-
sor can work normally. In the event of a large area of standing water (i.e. the Touch contact area is
completely covered), the Touch will temporarily lock and will not resume operation until the water is
cleared.
Espressif Systems 80
Submit Document Feedback
Release master

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif Systems ESP and is the answer not in the manual?

Espressif Systems ESP Specifications

General IconGeneral
BrandEspressif Systems
ModelESP
CategoryMotherboard
LanguageEnglish