Trouble In Implementing A DAC Using PWM/Timer Method To Be Used In A VOIP Project
I have an ATMega128 and I want to implement a DAC converting a coming digital signal to an analog signal.I found that I can do this internally using Timer/counter in PWM mode. The problem is I couldn't find a code example doing this even for ATMega16 or 32. I also read your code example of how to generate an audio sound using PWM in AVR.Is it that the same thing ?? and can I use something like that ?...please help me and if you have a code example implementing a simple DAC it would be great, It doesn't need to be for ATMega128 it could be for Mega16 or 32 and I could modify it.
Post a reply to Amira Hussein Ahmed
Think you can help Amira Hussein Ahmed ? Then post your thoughts that might help Amira Hussein Ahmed. You will earn a lot of reputation in the technical community.