Search found 18 matches
- Wed Dec 04, 2024 5:45 pm
- Forum: IDEs for ESP-IDF
- Topic: The color palette
- Replies: 16
- Views: 30821
Re: The color palette
So it looks like, in theory, I could make a new .css file matching the colors to the previous palette and it would end up looking like the old c/c++ editor syntax?
- Thu Aug 08, 2024 8:24 pm
- Forum: IDEs for ESP-IDF
- Topic: The color palette
- Replies: 16
- Views: 30821
Re: The color palette
I too would like to second this problem. I would like to use 3.0 but the lack of syntax coloring options is a problem. According to: https://developer.espressif.com/blog/espressif-ide-lsp-support/
"The LSP C/C++ Editor is derived from the standard Eclipse Text Editor, so you can change the editor ...
"The LSP C/C++ Editor is derived from the standard Eclipse Text Editor, so you can change the editor ...
- Fri May 24, 2024 10:43 pm
- Forum: ESP-IDF
- Topic: Timer capture with gpio
- Replies: 2
- Views: 2208
Re: Timer capture with gpio
I'm not sure how I can use the pulse counter to do this. The pulse counter just counts edges, I need to correlate an edge with a time stamp.
I did end up figuring out how to use the mcpwm timer to achieve my goal.
Here's how I did it:
//We are using a mcpwm timer in order to be able to query the ...
I did end up figuring out how to use the mcpwm timer to achieve my goal.
Here's how I did it:
//We are using a mcpwm timer in order to be able to query the ...
- Fri May 24, 2024 4:42 am
- Forum: ESP-IDF
- Topic: Timer capture with gpio
- Replies: 2
- Views: 2208
Timer capture with gpio
I would like to have a free running hardware timer that gets reset on the the edge of an input gpio. I would like to be able to read this counter at various times during execution to be able to know how much time has elapsed since the last edge. Is this possible with any of the esp32 peripherals? It ...
- Thu May 16, 2024 10:01 pm
- Forum: ESP-IDF
- Topic: Long critical sections causing missed interrupts
- Replies: 1
- Views: 1284
Long critical sections causing missed interrupts
I finally figured out I was missing interrupts at times and traced it to a critical section in i2s_tdm_set_clock(). That function enters a critical section and calls i2s_hal_set_tx_clock() which calls i2s_hal_calc_mclk_precise_division() which takes 1.6ms! This is on an ESP32S3 running at 240mhz ...
- Sun Apr 21, 2024 6:26 pm
- Forum: ESP-IDF
- Topic: ESP32 I2S Read Timeout Problem
- Replies: 5
- Views: 2939
Re: ESP32 I2S Read Timeout Problem
Sorry if my previous response sounded snippy, it wasn't intended that way. I wanted to say that I do very much appreciate your response. The separate configurations is at least a workaround. I can make it work that way, but it's a waste of RAM because my dma and application buffers will need to be ...
- Sun Apr 21, 2024 2:49 pm
- Forum: ESP-IDF
- Topic: ESP32 I2S Read Timeout Problem
- Replies: 5
- Views: 2939
Re: ESP32 I2S Read Timeout Problem
Because the values I'm using are the "proper" values. The rx data will be wrong also if I set data_bit_width=I2S_DATA_BIT_WIDTH_32BIT. The RX should work just fine data_bit_width=I2S_DATA_BIT_WIDTH_16BIT, so my question is why is it not?
- Sat Apr 20, 2024 10:08 pm
- Forum: ESP-IDF
- Topic: ESP32 I2S Read Timeout Problem
- Replies: 5
- Views: 2939
ESP32 I2S Read Timeout Problem
I'm using an ESP32-D0WD-V3 with esp-idf v5.1.2. I'm trying to communicate with a codec that is i2s master that is sending 64 bclks per wclk. The data is 16bits stereo and the sample rate is 16000hz. With the following configuration I am able to transmit data correctly but the read always times out ...
- Fri Jan 19, 2024 5:46 pm
- Forum: Report Bugs
- Topic: ESP32-S3 Multiple I2s Instances exhausts interrupt resources
- Replies: 6
- Views: 91470
Re: ESP32-S3 Multiple I2s Instances exhausts interrupt resources
If you are setting up your own interrupt and want it to be a shared interrupt you can just pass ESP_INTR_FLAG_SHARED for flags to:
esp_intr_alloc(int source, int flags, intr_handler_t handler, void *arg, intr_handle_t *ret_handle)
If you are using a driver and want it to setup its interrupts as ...
esp_intr_alloc(int source, int flags, intr_handler_t handler, void *arg, intr_handle_t *ret_handle)
If you are using a driver and want it to setup its interrupts as ...
- Thu Dec 07, 2023 11:38 pm
- Forum: ESP-IDF
- Topic: ESP32s3 Disable JTAG/Serial RTS Reset
- Replies: 2
- Views: 5054
ESP32s3 Disable JTAG/Serial RTS Reset
When a terminal disconnects from the ESP32s3 JTAG/Serial port the cpu gets reset. This must be because the terminal is clearing RTS. I'm sure there's a fuse I can burn to disable this but I would like to be able to retain the functionality but dynamically disable it from my application. I can't see ...