Search found 29 matches

by electronicsguy
Fri Jun 20, 2025 5:38 pm
Forum: ESP-IDF
Topic: ESP32S3 WROOM-2 Flash 32MB, 8MN PSRAM - issue with MSPI Timing: tuning fail
Replies: 2
Views: 1838

Re: ESP32S3 WROOM-2 Flash 32MB, 8MN PSRAM - issue with MSPI Timing: tuning fail

https://github.com/espressif/esp-idf/issues/13019

I see the same thing if I try to use GPI pins 34-38. It happens sometimes, not always. Don't know what the issue is.
by electronicsguy
Sun May 25, 2025 11:33 am
Forum: ESP-IDF
Topic: ESP32 - ADS1115 Configure problem
Replies: 6
Views: 3280

Re: ESP32 - ADS1115 Configure problem



According to the ADS1115 datasheet, I need to write 4 bytes to configure the register in the following order: START - ADDRESS/RW - 00000001 - 10000100 - 10000011 - STOP
Well, someone has to write the slave addres+R/W ;-)
Notice that the I2C "device", represented by i2c_handle in your code ...
by electronicsguy
Sun Apr 20, 2025 10:11 am
Forum: ESP RainMaker
Topic: Difference between app_insights vs esp_insights
Replies: 2
Views: 2172

Re: Difference between app_insights vs esp_insights

I don't need the full rainmaker functionality right now. What I want to do is capture some basic performance data and plot it. (like memory usage, cpu usage, cpu_freq, etc)

@Piyush Can you point to a app_insights example which will enable me to add this to my existing project, without rainmaker?
by electronicsguy
Sat Apr 19, 2025 5:06 pm
Forum: ESP RainMaker
Topic: Difference between app_insights vs esp_insights
Replies: 2
Views: 2172

Difference between app_insights vs esp_insights

What's the difference between app_insights vs esp_insights? I'm finding confusing information as to how to get the insights working for my project. Some docs refer to app_insights, others refer to esp_insights.

ESP_IDF v5.4
esp32s3
by electronicsguy
Tue Apr 15, 2025 2:05 am
Forum: General Discussion
Topic: StackDepth for xTaskCreate, why so big values?
Replies: 7
Views: 21939

Re: StackDepth for xTaskCreate, why so big values?


There appears to be a FreeRTOS FAQ entry on sizing the stack which can be found here:

http://www.freertos.org/FAQMem.html#StackSize

It seems to describe a number of characteristics which go into sizing the stack. It also suggests a function to get the high water mark of stack depth actually used ...
by electronicsguy
Tue Apr 15, 2025 2:02 am
Forum: General Discussion
Topic: StackDepth for xTaskCreate, why so big values?
Replies: 7
Views: 21939

Re: StackDepth for xTaskCreate, why so big values?


Some info here:

https://github.com/espressif/esp-idf/blob/master/components/freertos/readme_xtensa.txt
https://github.com/espressif/esp-idf/blob/master/components/freertos/include/freertos/xtensa_config.h#L48


Updated broken links:

https://github.com/sifive/Amazon-FreeRTOS/blob/master ...
by electronicsguy
Fri Apr 11, 2025 1:57 am
Forum: ESP32 Arduino
Topic: Why is Arduino's main task pinned to core 1?
Replies: 9
Views: 20949

Re: Why is Arduino's main task pinned to core 1?


This is the driver I ported and extended:

https://github.com/MartyMacGyver/ESP32-Digital-RGB-LED-Drivers

As for the interrupt allocator info, a search shows it moved here:

https://github.com/espressif/esp-idf/blob/master/docs/api-reference/system/intr_alloc.rst


New link for interrupt ...
by electronicsguy
Wed Apr 09, 2025 3:15 am
Forum: ESP-IDF
Topic: driver/gpio.h: No such file or directory
Replies: 6
Views: 34487

Re: driver/gpio.h: No such file or directory


In general, your components now need to indicate which other components they depend on. For instance:

idf_component_register(SRCS ${SOURCE_FILES}
REQUIRES drivers
INCLUDE_DIRS "src")



I have a generic question about includes and Cmake. Sorry if this is too stupid, but:
1. why do we ...
by electronicsguy
Sat Apr 05, 2025 4:29 am
Forum: ESP-IDF
Topic: fail to open project configuration
Replies: 1
Views: 8416

Re: fail to open project configuration

Use small i, not capital. "idf.py" (if you're using Linux).
by electronicsguy
Wed Mar 26, 2025 4:05 pm
Forum: General Discussion
Topic: About Driving TFT with 3-wire SPI (no D/C pin, 9 bit data)
Replies: 5
Views: 8220

Re: About Driving TFT with 3-wire SPI (no D/C pin, 9 bit data)


Just in case someone else comes here:
I tried to follow @ESP_Sprite's suggestion and it worked great. I was afraid I had to toggle CS line after every 9 bits, but it appears it's not required as long as I keep CS low all the time.
Thank you @ESP_Sprite!

The way I've done it is by creating a ...

Go to advanced search