Shop OBEX P1 Docs P2 Docs Learn Events
Using the SX48 timers to generate PWM audio compared to a DAC ? — Parallax Forums

Using the SX48 timers to generate PWM audio compared to a DAC ?

BeanBean Posts: 8,129
edited 2008-01-08 03:22 in General Discussion
Has anyone used the SX48 timers to generate PWM audio ?

I could use an 8-bit DAC, or use the timers.

The SX48 would run at 20MHz giving 78125Hz PWM update rate (8-bits).

I know I'll need a filter, but will the quality be similar to the DAC ?
The audio will be 22K samples per second.

Bean.


▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Educate your children to self-control, to the habit of holding passion and prejudice and evil tendencies subject to an upright and reasoning will, and you have done much to abolish misery from their future and crimes from society"

Benjamin Franklin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
·

Comments

  • Lord SteveLord Steve Posts: 206
    edited 2008-01-08 03:22
    Bean,

    Did you ever figure this one out?· I would like to do the same thing if possible.

    Thanks!
    --Steve
Sign In or Register to comment.