Hi
I'm calling this function:
err = ledc_set_freq(pPwmDarams->tConfig.speed_mode, pPwmDarams->tConfig.timer_num, freq);
with the values:
speed_mode=0
timer_num=3
freq=2000
This generates a reboot of the ESP32. The backtrace can be found below.
Any ideas about what may be happening?
------------------------------------------------------
I (2467) ctPwm_SetFrequency:
ctPwm_SetFrequency() pPwmDarams->tConfig.speed_mode=0 pPwmDarams->tConfig.timer_num=3 freq=2000
abort() was called at PC 0x40082d92 on core 0
ELF file SHA256: f35e4698e3f163094013548f686ba4e936b354e9829c02365ab10acaff827004
Backtrace: 0x4008f5c9:0x3ffbb0f0 0x4008f941:0x3ffbb110 0x40082d92:0x3ffbb130 0x40082eb5:0x3ffbb160 0x4014e5d6:0x3ffbb180 0x40151605:0x3ffbb490 0x400824b1:0x3ffbb4c0 0x40133722:0x3ffbb510 0x400d867b:0x3ffbb540 0x400d8507:0x3ffbb570 0x400d5c80:0x3ffbb590 0x400d2a08:0x3ffbb5b0 0x40092561:0x3ffbb5d0
Rebooting...
I (326) cpu_start: Pro cpu up.
I (326) cpu_start: Application information:
I (326) cpu_start: Project name: anna_measure_espfw
I (329) cpu_start: App version: batchTest-84-gcfdde3d-dirty
ledc_set_freq generates a reboot
-
- Posts: 22
- Joined: Thu Jan 23, 2020 9:31 am
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 230 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.