******************************************************************************* ** Copyright © 2006, Xilinx, Inc. ** This design is confidential and proprietary of Xilinx, Inc. All Rights Reserved. ******************************************************************************* ** ____ ____ ** / /\/ / ** /___/ \ / Vendor: Xilinx ** \ \ \/ Version: 1.0 ** \ \ Filename: test_ac97_readme.txt ** / / Date Last Modified: 8/31/2006 ** /___/ /\ Date Created: 8/31/2006 ** \ \ / \ ** \___\/\___\ ** **Device: **Purpose: **Reference: ** ******************************************************************************* ** ** Disclaimer: LIMITED WARRANTY AND DISCLAIMER. These designs are ** provided to you "as is." Xilinx and its licensors make and you ** receive no warranties or conditions, express, implied, ** statutory or otherwise, and Xilinx specifically disclaims any ** implied warranties of merchantability, noninfringement, or ** fitness for a particular purpose. Xilinx does not warrant that ** the functions contained in these designs will meet your ** requirements, or that the operation of these designs will be ** uninterrupted or error free, or that defects in the Designs ** will be corrected. Furthermore, Xilinx does not warrant or ** make any representations regarding use or the results of the ** use of the designs in terms of correctness, accuracy, ** reliability, or otherwise. ** ** LIMITATION OF LIABILITY. In no event will Xilinx or its ** licensors be liable for any loss of data, lost profits, cost ** or procurement of substitute goods or services, or for any ** special, incidental, consequential, or indirect damages ** arising from the use or operation of the designs or ** accompanying documentation, however caused and on any theory ** of liability. This limitation will apply even if Xilinx ** has been advised of the possibility of such damage. This ** limitation shall apply notwithstanding the failure of the ** essential purpose of any limited remedies herein. ** ******************************************************************************* Application: test_ac97 ----------------------- A recording of the audio input provided by the user on either the Line In or Mic In audio port is made, and then played out through the Line Out audio port. CONFIG Switch Settings: 00010101 1. Connect the Host PC to the ML501 (J1 header) using a PC-IV or Platform USB JTAG cable 2. Connect the Host PC serial port to the ML501 serial port using a null modem cable and launch a terminal program on the Host (eg. TeraTerm) with the settings: 9600 baud, 8-N-1, No flow control 3. Connect the ML501 to a DVI monitor or to a VGA monitor with the appropriate adapter 4. Attach a set of speakers to the Line Out audio port 5. Attach a microphone to the Mic In audio port 6. Insert the production ML501 CF card and power-up the board 7. Launch and open the ML501 EDK project (system.xmp) 8. Launch a Shell window using XPS menu selection: Project > Launch EDK Shell 9. Download bitstream in shell window by typing: impact -batch etc/download.cmd 10. XPS menu selection: Debug > Launch XMD 11. At XMD% prompt type: cd microblaze_0/code 12. At XMD% prompt type: rst 13. At XMD% prompt type: dow test_ac97.elf 14. At XMD% prompt type: con 15. In the terminal window associated with the serial port, answer the "Sound loopback..." question with M. Additional messages will be sent to the serial port 16. Speak into the microphone 17. A copy of the audio input should be heard on the Line Out audio output port Serial Port Output: ------------------- Start INIT Reset Done PowerDown Reg State (Should be 0x000F) = F Turning on External Power Amp Sound loopback. Do you want to loopback Line in or Mic (L,M) DAC sample rate= 0 hz ADC sample rate= 0 hz vendor id 1= 4144 vendor id 2= 5374 Extended Audio ID= 605 PowerDown Reg State (Should be 0x000F) = F Misc Control Bits = 10 General Purpose reg state = 0 config reg state = 7000 Record Start Play Start