Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] PWM based audio

2012-08-05 by H. Carl Ott

On Sat, Aug 4, 2012 at 8:57 PM, englsprogeny1 <englsprogeny1@yahoo.com>wrote:

> **
>
>
> Hi guys,
>
> I want to start including audio in my projects a bit more. So far I've
> designed using MP3 modules that I purchased on EBAY. I now want to design
> using the AVR's 16 bit PWM to create audio.
>
> I've found a project that does this:
>
> http://elm-chan.org/works/sd20p/report.html
>
> When I download and build the 'firmware' found at:
> http://elm-chan.org/works/sd20p/sdsg.zip
>
> Everything builds ok.
>
> Unfortunately when I change the processor from attiny861
> to an attiny2313 (in the makefile) the build does not work.
>
>
Register variations aside, different chips can have different hardware.
Note that the attiny861 has high speed pwm (64mhz).  The attiny2313 does
not.
   For pwm audio, that may make a difference.


-carl


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.