Maverickmax
New Member
Hi
I am thinking of using dsPIC30F for dsp application very soon but I want to be absolutely sure that I fully understand on 3 processes in regards to sampling frequency and reproducing signal on PWM channel.
1) Let say I am interested to take signal such as sine wave up to 500Hz so that means I have to set the adc at 2000Hz in comply to shannon nyquist theory.
2) At the moment, I am not going to DSP filter algorithm.
3) To reconstruct the original signal, should I use 2000Hz for PWM frequency? If higher frequency would be better, then please tell me why? To observe the signal on PWM, I would need to put 2nd pole Low pass filter RC circuit.
Once I fully grasp this concept, I will test it. If there is anything that i miss something importnat, please share your knowledge with us.
MM
I am thinking of using dsPIC30F for dsp application very soon but I want to be absolutely sure that I fully understand on 3 processes in regards to sampling frequency and reproducing signal on PWM channel.
1) Let say I am interested to take signal such as sine wave up to 500Hz so that means I have to set the adc at 2000Hz in comply to shannon nyquist theory.
2) At the moment, I am not going to DSP filter algorithm.
3) To reconstruct the original signal, should I use 2000Hz for PWM frequency? If higher frequency would be better, then please tell me why? To observe the signal on PWM, I would need to put 2nd pole Low pass filter RC circuit.
Once I fully grasp this concept, I will test it. If there is anything that i miss something importnat, please share your knowledge with us.
MM