DAP, MP3 player with AVR32?

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello :-)

I saw on wiki page the Portable Media Player however looks like is "dead"...

Anyone knows about some kind of this hardware made with AVR32?

I am looking for it but for decode MP3 and others audio files by firmware and not any MP3 decoder IC -- I want to use Rockbox Firmware for it ;-)

I am still working on Rockbox DAP Player using Atmel AT91SAM9260 MCU. Now I would like to start learning using AVR32 and a DAP with AVR32 would be a good start point for me :-)

Thank you.

JPCasainho,
www.Casainho.net
.Portugal

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Several audio/video codecs are optimized for AVR32: libavcodec, libfaad2 and libmad. This should get you going fast if you use a device capable of running Linux.

Both my NGW100 and STK1000/STK1002 boards play video with audio without much hassle. Check out Buildroot for AVR32 at www.atmel.no/buildroot for a build system which, among other things, is capable of building the libraries mentioned above.

To take use of the libraries you can use programs like mplayer, madplay, etc. Also included in the Buildroot system.

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hce wrote:
Several audio/video codecs are optimized for AVR32: libavcodec, libfaad2 and libmad. This should get you going fast if you use a device capable of running Linux.

Thank you.

However no GNU/Linux, Rockbox have it's own micro kernel. Rockbox runs perfectly on many Ipods, Sansas, etc...

JPCasainho,
www.Casainho.net
.Portugal

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You should be able to extract the algorithms from libmad and libfaad. Unsure what type license Rockbox is of course, but IIRC libmad and libfaad are GPL.

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hce wrote:
You should be able to extract the algorithms from libmad and libfaad. Unsure what type license Rockbox is of course, but IIRC libmad and libfaad are GPL.

I think that developers of Rockbox do that :-) :

http://svn.rockbox.org/viewvc.cg...

I am mainly looking for hardware examples with AVR32.

I hope that I can store Rockbox firmware using a DataFlash. After I must have external SDRAM... can the AVR32 UC3 uses external SDRAM? or just the AVR32 AP7?

Also using an SD card to store data audio files and a simple SPI or I2C display.

JPCasainho,
www.Casainho.net
.Portugal

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

UC3A0 devices have EBI and supports SDRAM, up to 128 MB I think, 16-bit wide.

The UC3A0 device should have more than enough power as well to decode MP3, WMA and hopefully also AAC (libfaad) and OGG.

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hce wrote:
UC3A0 devices have EBI and supports SDRAM, up to 128 MB I think, 16-bit wide.

The UC3A0 device should have more than enough power as well to decode MP3, WMA and hopefully also AAC (libfaad) and OGG.


People likes a lot FLAC :-) -- that was always my question, would AVR32 be able to decode FLAC and others?

One big problem in using AVR32 is because Rockbox have a lot of drivers and code optimized for ARMs... --- If I had developers helping on making a simple port fo Rockbox for this AVR32 hardware... we could have a big deal here ;-) :-) (I mean doing a Free/Open hardware and firmware DAP).

AT32UC3Axxx of TQFP 100 would be nice to use + 64MB SDRAM + 8MB DataFlash + USB of MCU + (SPI) SD card + (I2C) color LCD display.

Does AT32UC3A have some stereo audio codec? And USB bootloader as AT90USB?

JPCasainho,
www.Casainho.net
.Portugal

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Never tried decoding FLAC, so AFAIK there is no optimized FLAC decoder.

libmad and libfaad2 is assembler optimized, so you can extract the bits from the patches within Buildroot.

UC3A0 has a builtin DAC (ABDAC in the datasheet), 16-bit stereo thingy. All devices is also shipped with a USB bootloader.

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hce wrote:
libmad and libfaad2 is assembler optimized, so you can extract the bits from the patches within Buildroot.

Nice to know :-) -- I assume that in a DAP the most work will be on audio decoding.

hce wrote:
UC3A0 has a builtin DAC (ABDAC in the datasheet), 16-bit stereo thingy. All devices is also shipped with a USB bootloader.

I was looking for some internal stereo codec, to save one more IC. But ok, Rockbox have drivers for TLV320AIC23 Stereo Audio CODEC IC.

USB bootloader is good :-)

Maybe I can start writing on wiki this ideas of hardware for this "AVR32 Rockbox Player" :-)

Anyone want to help in building this hardware? - so firmware can follow?

JPCasainho,
www.Casainho.net
.Portugal

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hce wrote:
UC3A0 devices have EBI and supports SDRAM, up to 128 MB I think, 16-bit wide.

The UC3A0 device should have more than enough power as well to decode MP3, WMA and hopefully also AAC (libfaad) and OGG.


Dear HCE,
We are portting the OGG to AVR32 AT32UC3A0512,but find some problems,do you have finished the code for it?

Best Regards,
Feng Lei