basic-ssc-i2s-at73c213-project
Default mainpagebasic-ssc-i2s-at73c213-project
Description Graph
basic-ssc-i2s-at73c213-project
 
Purpose
This example uses the Synchronous Serial Controller (SSC) of an AT91 microcontroller to output an audio steam through the on-board AT73C213 audio DAC.

See

Description
This program plays a WAV file pre-loaded into the external SDRAM. The audio stream is sent through the SSC interface connected to the on-board AT73C213, enabling the sound to be audible using a pair of headphones.

Since the AT73C213 DAC requires that it be feeded a master clock multiple of the sample rate, it must be downloaded in external SDRAM, at address 0x20005000 it is difficult to handle any WAV file. As such, this example application is limited to playing files with the following format:
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:
    -- Basic SSC I2S AT73C213 Project xxx --
    -- AT91xxxxxx-xx
    -- Compiled: xxx xx xxxx xx:xx:xx --
    Menu :
    ------
    W: Play the WAV file pre-loaded in SDRAM
    I: Display the information of the WAV file
    
    The user can then choose any of the available options to perform the described action.
 
Source
The documentation for this Directory was generated from the following files:
  • main.c