usb-device-audio-speaker-project
Default mainpageusb-device-audio-speaker-project
Description Graph
usb-device-audio-speaker-project
 
Purpose
The USB Audio Speaker Project will help you to get familiar with the USB Device Port(UDP) and SSC interface on AT91SAM microcontrollers. Also it can help you to be familiar with the USB Framework that is used for rapid development of USB-compliant class drivers such as USB Audio Device class.

You can find following information depends on your needs:
See

Requirements
This package can be used with all Atmel evaluation kits that have both UDP and SSC interface.

The current supported board list:
Description
When an EK running this program connected to a host (PC for example), with USB cable, the EK appears as a desktop speaker for the host. Then the host can play sound through host software. The audio stream from the host is then sent to the EK, and eventually sent to audio DAC connected to AC97 of AT91SAM chips. At the same time, the audio stream received is also sent back to host from EK for recording.

Usage
  1. Build the program and download it inside the evaluation board. Please refer to the SAM-BA User Guide, the GNU-Based Software Development application note or to the IAR EWARM User Guide, depending on your chosen solution.
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 bauds
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Start the application.
  4. In the terminal window, the following text should appear:
    -- USB Device Audio Speaker Project xxx --
    -- AT91xxxxxx-xx
    -- Compiled: xxx xx xxxx xx:xx:xx --
    
  5. When connecting USB cable to windows, the LED blinks, and the host reports a new USB device attachment (if it's the first time you connect an audio speaker demo board to your host). You can find new "USB Composite Device" and "USB Audio Device" appear in the hardware device list.
  6. You can play sound in host side through the USB Audio Device, and it can be heard from the earphone connected to the EK.
  7. When playing sound, you can also record through the USB Audio Device on the host.
 
Source
The documentation for this Directory was generated from the following files:
  • main.c