ESP32S NodeMCU: assert failed: ledc_clk_cfg_to_global_clk ledc.c:443
Posted: Sat Jul 01, 2023 10:37 am
Hello, I recently purchased a ESP32S NodeMCU Module WLAN WiFi Dev Kit C (https://www.az-delivery.de/products/esp ... r-soldered) from AZ-Delivery and am trying to connect it to a OV7670-Arduino cam via breadboard.
For this im using example code and tutorial (https://github.com/bitluni/ESP32CameraI2S), connecting up pins as prescribed on the linked project page and uploading via arduino-ide
When running my code I get following error message followed by a restart:
"assert failed: ledc_clk_cfg_to_global_clk ledc.c:443
Backtrace: 0x4008383d:0x3ffb1f80 0x4008b891:0x3ffb1fa0 0x40091309:0x3ffb1fc0 0x400d954e:0x3ffb20f0 0x400d9829:0x3ffb2150 0x400d34c0:0x3ffb2190 0x400d33f8:0x3ffb21f0 0x400d28a5:0x3ffb2230 0x400d8006:0x3ffb2290"
The code seems to run upto line 115 in the .ino-file "camera = new OV7670(OV7670::Mode::QQVGA_RGB565, SIOD, SIOC, VSYNC, HREF, XCLK, PCLK, D0, D1, D2, D3, D4, D5, D6, D7);" in setup.
I did some research and found a fix on github (https://github.com/nodemcu/nodemcu-firmware/issues/3558), editing the ledc.c file.
Sadly i can no longer find this file in the esp-32-library nor in the nodemcu-firmware referenced in the fix (https://github.com/nodemcu/nodemcu-firmware).
Is this a known issue? Might my product firmware or the tutorial-code be outdated?
As I am completely new to ESP32 I would also appreceate any advice on how to go about finding out more about this issue.
Thank you for your time.
For this im using example code and tutorial (https://github.com/bitluni/ESP32CameraI2S), connecting up pins as prescribed on the linked project page and uploading via arduino-ide
When running my code I get following error message followed by a restart:
"assert failed: ledc_clk_cfg_to_global_clk ledc.c:443
Backtrace: 0x4008383d:0x3ffb1f80 0x4008b891:0x3ffb1fa0 0x40091309:0x3ffb1fc0 0x400d954e:0x3ffb20f0 0x400d9829:0x3ffb2150 0x400d34c0:0x3ffb2190 0x400d33f8:0x3ffb21f0 0x400d28a5:0x3ffb2230 0x400d8006:0x3ffb2290"
The code seems to run upto line 115 in the .ino-file "camera = new OV7670(OV7670::Mode::QQVGA_RGB565, SIOD, SIOC, VSYNC, HREF, XCLK, PCLK, D0, D1, D2, D3, D4, D5, D6, D7);" in setup.
I did some research and found a fix on github (https://github.com/nodemcu/nodemcu-firmware/issues/3558), editing the ledc.c file.
Sadly i can no longer find this file in the esp-32-library nor in the nodemcu-firmware referenced in the fix (https://github.com/nodemcu/nodemcu-firmware).
Is this a known issue? Might my product firmware or the tutorial-code be outdated?
As I am completely new to ESP32 I would also appreceate any advice on how to go about finding out more about this issue.
Thank you for your time.