Search found 78 matches

by ok-home
Tue Nov 05, 2024 7:07 am
Forum: ESP-IDF
Topic: problem with LED
Replies: 5
Views: 600

Re: problem with LED

jsmith56x wrote:
Tue Nov 05, 2024 6:42 am
But no led_strip.h in my c:\espressif directory
connect led_strip component
idf_component.yml
https://github.com/espressif/esp-idf/tr ... blink/main
by ok-home
Tue Nov 05, 2024 6:14 am
Forum: ESP-IDF
Topic: problem with LED
Replies: 5
Views: 600

Re: problem with LED

Don't work ESP32-C3-DevKitM-1 has a rgb LED on it IO8-GPIO8 RGB LED https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32c3/esp32-c3-devkitm-1/user_guide.html#id7 try https://github.com/espressif/esp-idf/blob/master/examples/get-started/blink/main/blink_example_main.c CONFIG_BLINK_LED_ST...
by ok-home
Mon Oct 28, 2024 10:53 am
Forum: General Discussion
Topic: CMake in esp-idf
Replies: 3
Views: 741

Re: CMake in esp-idf

by ok-home
Wed Oct 23, 2024 3:29 am
Forum: ESP-IDF
Topic: Access to PSRAM on ESP32 3 causes asserts
Replies: 10
Views: 1698

Re: Access to PSRAM on ESP32 3 causes asserts

It appears on further testing that the panics are happening upon led_strip_refresh as well as ESP_LOGx calls after the PSRAM buffer is read or written. Seems like any serial communications after PSRAM access causes the issue? (BTW, tried both SPI2_HOST and SPI3_HOST for the SPI display with the sam...
by ok-home
Sun Oct 20, 2024 12:10 pm
Forum: ESP-IDF
Topic: Need more timers on ESP32-S3
Replies: 5
Views: 1348

Re: Need more timers on ESP32-S3

I used all 4 timers on my ESP32-S3 project and I found out I'll need some more. I previously worked on some other MCU that had a similar number of timers, but had a MCP module that had it's own timers that were available. I can see that ESP32-S3 also has MCPWM module with timers so I was wondering ...
by ok-home
Fri Oct 18, 2024 4:24 pm
Forum: ESP-IDF
Topic: gpio_config() call set PIN low immediately with PULLUP enabled
Replies: 3
Views: 992

Re: gpio_config() call set PIN low immediately with PULLUP enabled

rsimpsonbusa wrote:
Fri Oct 18, 2024 3:59 pm
WHY???? I need it to be HIGH on configuration (actually to do NOTHING).
first set the level, then connect it to the output.
gpio_set_level(GPIO_NUM, 1);
gpio_set_direction(GPIO_NUM, GPIO_MODE_OUTPUT);
by ok-home
Mon Oct 14, 2024 1:50 am
Forum: Showcase
Topic: Logic analyzer on ESP32 for self-diagnostics
Replies: 15
Views: 73868

Re: Logic analyzer on ESP32 for self-diagnostics

on a side note via commenting // logic_analyzer_ll_set_clock(sample_rate); actually default values will be applied according to the ESP32 technical reference manual. The default values are equivalent with these lines I2SX.clkm_conf.clkm_div_num = 4; I2SX.sample_rate_conf.rx_bck_div_num = 6; .... ac...
by ok-home
Thu Oct 03, 2024 8:47 pm
Forum: General Discussion
Topic: run a task every 0.25 us
Replies: 10
Views: 2865

Re: run a task every 0.25 us

Right now, I'm contemplating about the possibility of running the ESP-SPI in slave mode while generating the 4MHz /CS and 16-24MHz SCK signals via another peripheral (LEDC,...).), feeding the two clock signals to both the ESP-SPI and the ADC. as far as I saw in the datasheet AD - esp32s3 GSPI-2 sho...
by ok-home
Wed Sep 25, 2024 8:44 am
Forum: General Discussion
Topic: SPI configurable segmented transfer
Replies: 3
Views: 2377

Re: SPI configurable segmented transfer

I think you only need DMA_CONTINUE if you mess with the DMA descriptor chain. If your circular buffer is exactly that (a static chain that happens to have the last descriptor pointing at the first), you should simply be able to let it run. Unfortunately SPI with GDMA cannot receive/send in one tran...