Search found 3 matches
- Wed Mar 02, 2022 6:07 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32-S3 LDEC驱动存在的问题
- Replies: 1
- Views: 1698
Re: ESP32-S3 LDEC驱动存在的问题
我们之后会在函数里增加一些检查,去确保系统不会因为 IntegerDivideByZero 报错而导致重启。但是获取到的clock_divider的值为0的问题本质应该是由于你在调用ledc_timer_config之前就调用了ledc_get_freq,这不符合LEDC驱动预期的函数调用顺序。使用LEDC驱动时应当先调用ledc_timer_config 和 ledc_channel_config做配置, 然后再调用其余的API。
- Mon Nov 01, 2021 11:41 am
- Forum: ESP-IDF
- Topic: skip external interrupts with gpio_install_isr_service() but not with gpio_isr_register()
- Replies: 2
- Views: 2227
Re: skip external interrupts with gpio_install_isr_service() but not with gpio_isr_register()
I believe you have encountered a race condition which causes interrupt being lost. Here is the Github PR link that has raised this issue: https://github.com/espressif/esp-idf/pull/6853 . We do have an internal fix for this issue. Once it has be reviewed, it will be merged to master, and the PR will ...
- Mon Oct 11, 2021 4:03 am
- Forum: ESP-IDF
- Topic: ASM example for ESP32-C3 ISR
- Replies: 1
- Views: 3485
Re: ASM example for ESP32-C3 ISR
ESP32C3 is based on the RISC-V architecture, therefore, the way of how interrupts are processed in the ASM vector table is different than the way for ESP32 (Xtensa architecture). Basically, ESP32C3 allows for high-level interrupt handlers being coded in C, and there is no much time-benefit from writ...