Search found 5 matches

by dami98
Thu Jul 11, 2024 6:09 am
Forum: ESP-IDF
Topic: Sometimes First Stage Bootloader keeps resetting for TG0WDT_SYS_RST and esp-idf application is not started
Replies: 0
Views: 845

Sometimes First Stage Bootloader keeps resetting for TG0WDT_SYS_RST and esp-idf application is not started

ESP_IDF: v4.4.6 Chip: esp32s3-wroom1 n8r2 In our custom boards we are in production with, we found two samples with a strange behaviour: when the board is powered on, sometimes the app start normally while sometimes it get stuck in the first stage bootloader and keeps resetting for TG0WDT_SYS_RST an...
by dami98
Mon Jun 19, 2023 10:19 am
Forum: Hardware
Topic: i2c clock speed reduction when failing to communicate to a slave
Replies: 3
Views: 3153

Re: i2c clock speed reduction when failing to communicate to a slave

Doing some more in depth research i noticed the following: if f_scl=400kHz at beginning, f_scl=5khz at the end; if f_scl=100kHz at the beginning, f_scl=1,25kHz at the end; the ratio is 80 which is the same ratio as APB_CLK / REF_TICK This means that when esp32s2 fails to communicate to the sensor, i...
by dami98
Fri Jun 16, 2023 10:14 am
Forum: ESP-IDF
Topic: i2c issues on i2c_hw_fsm_reset
Replies: 0
Views: 955

i2c issues on i2c_hw_fsm_reset

Hi everyone, i am working on a project using the ESP32-S2, i am communicating with a sensor using I2C. Everything works fine if the I2C connection is kept working. If i try disconnecting and reconnecting the sensor (thus powering it off), when i connect it back again, sometimes the ESP32S2 is capabl...
by dami98
Wed Jun 07, 2023 1:40 pm
Forum: ESP-IDF
Topic: DMA with External RAM (PSRAM)
Replies: 1
Views: 1555

DMA with External RAM (PSRAM)

Hi all, i'm currently working on a project in which i am driving a tft display via SPI using an ESP32-S2-WROVER module. I am using LVGL as a graphical tool to build the UI. At the moment i am using a frame buffer in internal memory to draw the screen and then, its content is transferred to the displ...
by dami98
Thu Jun 01, 2023 12:24 pm
Forum: Hardware
Topic: i2c clock speed reduction when failing to communicate to a slave
Replies: 3
Views: 3153

i2c clock speed reduction when failing to communicate to a slave

Hi all, i am facing a problem when my ESP32-S2 fails to communicate to an i2c slave, the problem is better described in the following. At start the i2c port is set to work with a clock frequency of 400 MHz and it works fine until i disconnect the i2c slave. When i connect it again, the esp32s2 is ab...