Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

how to fix varying pwm along with constant frequency of 20kHz in cyclon 2 ep2c5t144c8

$
0
0
Hi! I am using ALTERA cyclon 2 ep2c5t144c8n board for generating varying pulse width modulation (duty cycle from 0 to 100%) along with constant frequency of 20kHz. I have written the code and its working well but the problem is that the varying pwm is running very fast on oscilloscope due to which I cannot see the proper pattern of varying pwm. The other problem is about frequency that I want constant frequencyof 20kHz with varying pwm but its also varying like first it goes down to 10kHz then comes up at 18kHz then at 20kHz and this process repeats again and again....in short we can say that random values of frequency is generating....How can I fix this problem??? Please help me out, your answers will be highly appreciable! Thank you...!

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>