⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basic-ac97-project.html

📁 Development tools for the AT91CAP9-DK.Examples on how to use the AT91CAP9-DK features and peripheral
💻 HTML
字号:
<!DOCTYPE PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>Atmel Corporation - Basic AC97 1.4</title>
        <link rel="stylesheet" type="text/css" href="css/style.css" />
    </head>
    
    <body>
        <h1>Basic AC97 Project 1.4</h1>

        <div id="breadcrumb">
            <a href="../index.html">Main</a> >
            <a href="examples.html">Examples</a> >
            AC97
        </div>

        <h2>Purpose</h2>
        <p>
            This example shows how to use the AC97 controller of AT91 microcontrollers to
            play and record sound, as well as control the on-board AC97 codec configuration.
        </p>

        <div class="requirements">
            <h2>Hardware Requirements</h2>
            <p>
                This package can be used with the following Atmel evaluation kits:
                <ul>
                    <li>AT91SAM9263-EK</li>
                    <li>AT91SAM9RL-EK</li>
                    <li>AT91CAP9-DK</li>
                </ul>
            </p>
        </div>

        <h2>Description</h2>
        <p>
            When launched, this program displays a menu on the DBGU, enabling the user
            to choose between several options:
            <ul>
                <li>Play a pre-loaded WAV file using the AC97 codec output</li>
                <li>Display the WAV file information (sample rate, etc.)</li>
                <li>Record a sample using the AC97 codec microphone input</li>
                <li>Play back the recorded file</li>
                <li>Adjust the playback volume</li>
            </ul>
        </p>
        <p>
            To be able to play a WAV file, it must first be loaded prior to launching
            the application. It must be downloaded in external SDRAM, at address 0x20005000;
            this can be easily done using SAM-BA.
        </p>
       
        <h2>Usage</h2>
        <ol>
            <li>
                Build the program and download it inside the evaluation board using SAM-BA.  Please refer
                to the <a href="http://www.atmel.com/dyn/resources/prod_documents/doc6132.pdf">SAM-BA User Guide</a> for
                more information about this step.
            </li>
            <li>
                Using SAM-BA, download the provided WAV file inside the external SDRAM at offset 0x5000.
            </li>
            <li>
                Plug earphones to the "headphone line out" jack of the evaluation board.
            </li>
            <li>
                Plug a microphone to the "microphone input" jack of the evaluation board.
            </li>
            <li>
                On the computer, open the DBGU port with a terminal application
                (e.g. HyperTerminal on Microsoft Windows).
            </li>
            <ul>
                <li>Settings: 115200 bauds, 8 bits, 1 stop bit, no parity, no flow control.</li>
            </ul>
            <li>
                Start the application.
            </li>
            <li>
                The application menu should appear as shown below (example for AT91SAM9263):
                <blockquote>
                    <code>
                        -- Basic AC97 Project 1.4 --<br />
                        Menu :<br />
                        ------<br />
                          W: Play the WAV file pre-loaded in SDRAM<br />
                          I: Display the information of the WAV file<br />
                          R: Start recording sound<br />
                          +/-: Adjust volume (16)
                    </code>
                </blockquote>
                The user can then choose any of the available options to perform the described
                action.
            </li>
        </ol>
        <h6>Atmel Corporation ©2008</h6>
    </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -