High frequency PWM
Posted: Fri Feb 10, 2023 2:44 pm
Hello guys ,
I am trying to generate 10Mhz PWM signal using the LEDC.
Unfortunately whenever the frequency is above 8 Mhz , i don't get a consistent signal at all (the frequency fluctuates & same for Duty cycle)
Here is a sample for 12Mhz 50% duty cycle
Code is pretty straightforward :https://pastebin.com/VMr19BGm
What could be the issue and ty for your help in advance.
I am trying to generate 10Mhz PWM signal using the LEDC.
Unfortunately whenever the frequency is above 8 Mhz , i don't get a consistent signal at all (the frequency fluctuates & same for Duty cycle)
Here is a sample for 12Mhz 50% duty cycle
Code is pretty straightforward :https://pastebin.com/VMr19BGm
What could be the issue and ty for your help in advance.