Search found 9034 matches
- Sat Feb 25, 2023 2:17 am
- Forum: ESP-IDF
- Topic: Code reusing while using interrupts
- Replies: 5
- Views: 1629
Re: Code reusing while using interrupts
It's possibly easier to create a FreeRTOS task for this. Task waits for e.g. a semaphore or queue, then handles the sensors. Either your interrupt or your normal code can raise the semaphore or put something in the queue and let the task handle the thing.
- Sat Feb 25, 2023 2:14 am
- Forum: ESP-IDF
- Topic: HTTPS cancel download of large file
- Replies: 2
- Views: 941
Re: HTTPS cancel download of large file
Smells like something is not properly re-entrant, which causes the spurious errors. Is there a way to handle the cancel in the download task, as in, the cancelling task raises a semaphore, the download task checks that and calls esp_http_client_close() function?
- Sat Feb 25, 2023 1:05 am
- Forum: Hardware
- Topic: Turning potentiometer crashes esp32
- Replies: 1
- Views: 711
Re: Turning potentiometer crashes esp32
That does not look like a potentiometer (potentiometer specs mention resistance, not pulses). More likely it's a rotary encoder instead.
- Sat Feb 25, 2023 1:04 am
- Forum: Hardware
- Topic: ESP32 C3 boot loop
- Replies: 7
- Views: 3506
Re: ESP32 C3 boot loop
ESP_Sprite wrote: ↑Fri Jan 20, 2023 2:57 amCan you still access GPIO9? If you pull that down and reset the C3, does that fix the issue?
- Sat Feb 25, 2023 1:02 am
- Forum: Documentation
- Topic: ESP32 instruction set or assembly (ASM) programming docs?
- Replies: 17
- Views: 51636
Re: ESP32 instruction set or assembly (ASM) programming docs?
Well, being able to toggle GPIO's in a few clock cycles is exactly what I expect from a MCU. We are aware of that, hence the addition of fast GPIO in later chips. We have 'fast GPIO' options in the -S2 and -C3 to get around this limit, but the ESP32 does not have that. These versions have only a si...
- Fri Feb 24, 2023 6:22 am
- Forum: General Discussion
- Topic: These errors appeared when i debug ESP32C3- mini and ESP32-C3-DevKitM-1 via ESP-PROG board on Visual Studio Code 2022.
- Replies: 1
- Views: 1013
Re: These errors appeared when i debug ESP32C3- mini and ESP32-C3-DevKitM-1 via ESP-PROG board on Visual Studio Code 20
By default, ESP32C3 JTAG is routed to the internal USB-serial-JTAG controller. You can either use that to debug (simply add an USB cable) or you can burn the fuse to route it to the JTAG GPIOs.
- Fri Feb 24, 2023 1:36 am
- Forum: General Discussion
- Topic: I need to enable GDMA in esp32c3 but I get descriptor error, did I fill descriptor correctly?
- Replies: 2
- Views: 881
Re: I need to enable GDMA in esp32c3 but I get descriptor error, did I fill descriptor correctly?
Code: Select all
dma_trans.des.size = 0;
- Fri Feb 24, 2023 1:32 am
- Forum: ESP-IDF
- Topic: UART Peripheral Interrupts
- Replies: 3
- Views: 1524
Re: UART Peripheral Interrupts
The reason is that the driver already uses that interrupt to handle the blocking read and write calls. Also note that queue reads are not 'polled'; the RTOS suspends the reading task until something (e.g. the UART interrupt) pushes something onto it, at which point (dependent on priority) it immedia...
- Fri Feb 24, 2023 1:28 am
- Forum: ESP-IDF
- Topic: usb_serial_jtag_write_bytes() doesn't always write all bytes
- Replies: 18
- Views: 6352
Re: usb_serial_jtag_write_bytes() doesn't always write all bytes
Nope. I want to test your code, but I need some time and concentration to get all the parts (korvo board, sdcard) together. If you could simplify your app a bit more so I can run it on a random devkit, that'd probably make life easier for me.
- Fri Feb 24, 2023 1:26 am
- Forum: ESP-IDF
- Topic: Status of digital to analog converter (DAC) in IDF > 5.0
- Replies: 1
- Views: 1240
Re: Status of digital to analog converter (DAC) in IDF > 5.0
Looks like you're looking at the docs for the current master, not the 5.0 release (you can select the release in the dropdown box on the left). this is for the 5.0 release, and it mentions a small inline example using dac.h.