arduino-esp32
arduino-esp32 copied to clipboard
loop freeze: arduino framework
Board
ESP32 wt32-s3-wrover (wt32sc01 plus)
Device Description
https://en.wireless-tag.com/product-item-26.html
Hardware Configuration
https://en.wireless-tag.com/product-item-26.html
Version
v3.0.1
IDE Name
Platformio
Operating System
win11
Flash frequency
40mhz
PSRAM enabled
yes
Upload speed
115200
Description
loop stop loop (undefined time) freeze and not crash cpu WORKING: interrupt, pwm display, pwm generator, webserver, wifi, usb msc cdc, serial (debug), sd, temperature internal sensor NOT working any loop function led is only for testing loop
Sketch
#define EXT_ICSE (GPIO_NUM_21)
void loop(){
lv_timer_handler(); //lvgl gui
info_time_update();// displat current datetime
geiger_tube_conversion(); // conversione int to double
cpm_measure(); // update display data
if(IS_CHARGE == true){
battery_charge();// fake battery charge (no ext battery)
}
info_sd_label_update(); // sch 4
display_count();
if(COLONANNA==true){
digitalWrite(EXT_ICSE, HIGH);
}else{
digitalWrite(EXT_ICSE, LOW);
}
COLONANNA = !COLONANNA;
}
Debug Message
none, no guru
Other Steps to Reproduce
[platformio] default_envs = wt32-sc01-plus
[env:wt32-sc01-plus] platform = espressif32 board = esp32-s3-devkitc-1 framework = arduino board_build.partitions = default_8MB.csv board_build.mcu = esp32s3 board_build.f_cpu = 240000000L upload_speed = 115200
lib_deps = mathieucarbou/ESP Async WebServer@^2.10.5 lvgl/lvgl@^8.3.1 lovyan03/LovyanGFX@^0.4.18 bblanchon/ArduinoJson@^6.21.2 paulstoffregen/Time@^1.6.1 fbiego/ESP32Time@^2.0.0 lib_extra_dirs = lib/async_web_server ;smarthome asynctcp patch lib/ArduinoMD5 ; md5 build_flags = -DNDEBUG -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS ; end -DPIO_FRAMEWORK_ARDUINO_ENABLE_EXCEPTIONS -DPIO_FRAMEWORK_ARDUINO_ENABLE_RTTI -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -I lib -D PLUS=1 -D LV_LVGL_H_INCLUDE_SIMPLE -D LV_MEM_SIZE="(96U * 1024U)" -D CORE_DEBUG_LEVEL=0 ; 5 verbose 0 none -D ARDUINO_USB_MODE=1 monitor_filters = esp32_exception_decoder build_type = debug [env:detect_only_medium_or_high_defects] check_severity = medium, high
I have checked existing issues, online documentation and the Troubleshooting Guide
- [X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.