-
Notifications
You must be signed in to change notification settings - Fork 2.2k
PWM flicker is back again with new core 2.4.2 #1653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
And this is why I made a separate release with only the core update to get a clear idea what is causing new issues. |
@DittelHome , @TD-er |
Yep, I assume it is related to core 2.4.1. |
Only for clarification: |
is it possible for you to measure pwm frequency on 2.4.1 and 2.4.2? |
@uzi18 Will do on Monday |
@uzi18 |
is it possible for You to check also duty cycle on both firmwares? |
It could be related to esp8266/Arduino#4640 and esp8266/Arduino#4872 |
@uzi18
Nope, my programing skills are too rusty. |
The PWM is done in software with a timer interrupt. Thats where the jitter comes from. It may improve if you run the ESP at 160MHz. You do so by selecting the speed in the Arduino IDE dropdown menu prior to flashing. |
@s0170071 |
pwm/tone is generated in new way on 2.4.2, please try to switch to 160 MHz maybe it is solution or still exist bug in arduino 2.4.2, so someone will. need to fill bug report there. |
esp8266/Arduino#5248 fix for this? |
This issue is no longer relevant, and can be closed. |
With latest build pwm flicker bug is back.
ESP_Easy_mega-20180815_normal_ESP8266_4096.bin
It seems that with new core (2.4.2) pwm is not working correctly. With lower pwm values you get a flicker.
Same as with core version 2.3. With Core 2.4.1 no flickering.
Info says 0000000 instead of 2.4.2:
Libraries: ESP82xx Core 00000000, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3
The text was updated successfully, but these errors were encountered: