Repository navigation
fixes no-pulse failsafe not working on ESP32C3 - #3609
pkendall64 merged 2 commits into
Conversation
|
Which receiver, fw version, PWM channel, PWM frequency is this? I can't confirm the stated issue with a BFPV SuperP, V4.0.0, 50Hz PWM. I'm looking at the PWM output with the rx in a "no pulses" failsafe situation and all I see is the expected low level flat line. Scope: DSCope U3P100, 1 GSa/s. |
I'm using a ESP32-C3 from the RadioMaster XR2 receiver. It looks like I fixed this in my own fork a long time ago but only after I started to work on the XR2, so I think the ESP32-Pico (which is what the SuperP uses, according to their marketing material) is not effected. Maybe because the Pico uses MCPWM instead of LEDC |
|
You're right, the issue only shows on ESP32C3 devices. I could reproduce the problem only on ESP32C3 receivers. Your PR fixes it. |
fd05172 to
d730f08
Compare
|
Rebased and force-pushed so we can get this in 4.0.1 |
|
I am seeing 'last position' being output when 'no pulses' is selected on the radiomaster ER6 receiver. Is it possible this bug is not limited to the ESP32C3? I have not switched to the 4.x release yet due to a binding issue I could not resolve. |
fixes no-pulse failsafe not working on ESP32, specifying 0 as microseconds does not result in no pulses, instead I see 1.33 microsecond pulses on the o'scope and logic analyzer.
the technique used to fix this problem will detach or reattach the ledc