0% found this document useful (0 votes)
58 views17 pages

AVR32 UC3: USB Audio Player Guide

The document discusses an audio player application using the AVR32 UC3 microcontroller. It can play audio formats like MP3, WMA and AAC from USB mass storage devices or an iPod. It also describes the software, hardware reference design and evaluation kit for developing the application.

Uploaded by

mekki1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views17 pages

AVR32 UC3: USB Audio Player Guide

The document discusses an audio player application using the AVR32 UC3 microcontroller. It can play audio formats like MP3, WMA and AAC from USB mass storage devices or an iPod. It also describes the software, hardware reference design and evaluation kit for developing the application.

Uploaded by

mekki1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

AVR32 UC3 – Atmel Internal

AVR32 UC3
Audio Player over USB

AVR32 Support
[email protected]
AVR32 UC3 – Audio Player over USB

Market Opportunities

„ iPod Docking Stations


„ Car Radios
„ Internet Radios
„ MP3 player docking stations
„ Mobile phone docking stations
„ PDA docking stations
„ Speaking Vending machines
„ Household appliances

September 08 2
AVR32 UC3 – Audio Player over USB

The new AVR32 UC3 Microcontrollers

UC3 Flash
Microcontroller

September 08 3
AVR32 UC3 – Audio Player over USB

AVR32 UC3 Flash Microcontrollers


Best
in
Class
„ Lowest Power Consumption !
23mA @ 60 MHz
ƒ More MHz per mW
1.3 mW / MHz
ƒ Dynamic Power Management
2xAA battery = 19 years

„ Higher Performance 83 DMIPS @ 66 MHz


ƒ More work per clock cycle
6-layer databus
ƒ High speed data transfers
33 Mbit/s SPI
ƒ Unrivalled DSP performance

„ Shortest time to market Free DSP library


ƒ AVR32 Software Framework
Free TCP/IP Stack
ƒ High quality development tools
Free USB Stack
ƒ Experienced tech support staff

September 08 4
AVR32 UC3 – Audio Player over USB

Audio Decoder

„ MP3
ƒ Using Libmad decoder
ƒ Bitrate 320Kbit/s 44.1KHz Stereo
ƒ ID3 tag support up to V2.4

„ WMA
ƒ Using Microsoft WMA V10
ƒ Bitrate 320Kbit/s 44.1KHz Stereo

„ AAC
ƒ Planned Q4/2008

„ WAV
ƒ Planned Q4/2008

September 08 5
AVR32 UC3 – Audio Player over USB

Audio Decoder

Middleware Load ROM RAM License

MP3 Decoder 21-25 MHz 51K 30K www.underbit.com/products/mad/

Libmad
WMA Decoder 30-45 MHz 136K 50K www.microsoft.com

(V10)
AAC (Helix) 48 MHz 27 K 30 K https://helixcommunity.org/

AAC+ (Helix) 60 MHz 40 K 100 K https://helixcommunity.org/

(estimate)

September 08 6
AVR32 UC3 – Audio Player over USB

Other Software Modules

Middleware Load ROM RAM License

USB Mass N.A 43K <3K http://www.atmel.com/dyn/products


Storage Stack /tools_card.asp?tool_id=4192
<1MHz
(Device+Host)
FAT12/16/32 N.A. 18K 1K http://www.atmel.com/dyn/products
Library /tools_card.asp?tool_id=4192
(including file
navigation
library)

September 08 7
AVR32 UC3 – Audio Player over USB

USB Host Interface

„ Store your music on a USB Key or


other USB mass storage devices.

ƒ USB Host Mass storage class. The USB


has OTG functionality, thus provides
for a mini-Host.

ƒ Using USB 2.0 Full Speed interface


(12MBps).

September 08 8
AVR32 UC3 – Audio Player over USB

File System

„ All FAT formats support: FAT12/16/32.


ƒ 256 level of directory depth support
ƒ File folder name: ASCII and UCS-2 supported. No length
limit upon file system.

ƒ File browsing is supported during playback.


ƒ NTFS not supported.

„ Folders and files can be numbered.


ƒ Empty folder are skipped
ƒ 2 methods:
- Local: files in current folder played first, then
subfolders played.
- Global: flat model: all folders are seen as playlists at
the same level.

September 08 9
AVR32 UC3 – Audio Player over USB

Audio Player API

„ Simple set of commands to control the software


decoders:
ƒ Play/Stop/Pause
ƒ Fast forward/Fast rewind
ƒ Disk Navigation (file name, ID3 management).
„ Full interface is described in a single API header file.

September 08 10
AVR32 UC3 – Audio Player over USB

iPod Control

„ IPod Control through USB


ƒ Support Apple iPod authentication “Made for iPod”
(NDA required).
ƒ USB Stream (USB Audio class): music DRM management
is done by the iPod and music is streamed over USB.
ƒ IPod Control (USB HID class): control the iPod (volume,
browse…) through the standard USB iPod cable.
ƒ Sort by album, track, title, year, genre all the files on your
iPod.
ƒ Support latest iPod Nano, Classic, Touch, iPhone.

September 08 11
AVR32 UC3 – Audio Player over USB

Deliveries

„ Software
ƒ Project for GCC and IAR compilers
ƒ Source code (WMA is provided in binary form)
ƒ iPod Software under NDA only

„ Application Note
ƒ AVR32730 AVR32 UC3 iPod Interface through USB

ƒ AVR32709 AVR32 UC3 Audio Player over USB

September 08 12
AVR32 UC3 – Audio Player over USB

EVK1105

„ Complete HW and SW Reference Design


ƒ Control your IPOD
ƒ Play MP3, WMA and AAC from a USB device
ƒ Connect to Internet and listen to Internet radio
ƒ Prepared for WLAN
ƒ Prepared for Bluetooth
ƒ Prepared for Zigbee

„ Available November 2008

EVK1105 September 08 13
AVR32 UC3 – Audio Player over USB

Typical Block Diagram

Optional Optional
WLAN Module Bluetooth Module

Apple SPI USART


Made for iPod
DRM

AT32UC3A0512
USB
0 - 66 MHz
128 – 512kB Flash I2S DAC
32 – 64 kB SRAM

SDRAM
(optional)

September 08 14
AVR32 UC3 – Audio Player over USB

EVK1105

„ AT32UC3A0512 (512K of flash, 64K of RAM)


„ USB device and host
„ Serial emulation through USB
„ Ethernet
„ 256Mbit SDRAM
„ JTAG and Nexus interface
„ Audio output
„ LCD (240x320)
„ QTouch buttons
„ MMC/SD socket
„ 64Mbit dataflash

EVK1105 September 08 15
AVR32 UC3 – Audio Player over USB

EVK1105
Serial to USB
Audio USB host Ethernet
And device
Header
extension

JTAG

LCD
(240x320) Nexus Trace

UC3A0512 User Buttons


using QTouch

September 08 16
AVR32 UC3 – Audio Player over USB

The new AVR32 UC3 Microcontrollers

UC3 Flash
Microcontroller

September 08 17

You might also like