display
New Member
I am try to make a function of audio playback by pic16.
I have got the pcm date by software and save it in Flash .
Through reading date form Flash adjust the dutycycle of the pwm.The pic get a value of 128 ,then the dutycycle of the pwm is 50% -e.g.(the pcm is 8bits and the sampling rates is 1oKHZ ) But the output is not satisfying.I have used a LPF but the output sounds like that the affect is not obvious.
I have no idea that whether my method of the pcm-pwm convert is correct.
I need some advice .Thank you .
I have got the pcm date by software and save it in Flash .
Through reading date form Flash adjust the dutycycle of the pwm.The pic get a value of 128 ,then the dutycycle of the pwm is 50% -e.g.(the pcm is 8bits and the sampling rates is 1oKHZ ) But the output is not satisfying.I have used a LPF but the output sounds like that the affect is not obvious.
I have no idea that whether my method of the pcm-pwm convert is correct.
I need some advice .Thank you .
Last edited: