Altera_Forum
Honored Contributor
16 years agoDE2 audio examples using DSP Builder
The attached is DE2(2C35) development board version of the example attached with http://www.alteraforum.com/forum/showthread.php?t=2058.
Simple DSP Builder based designs controlling WM8731 audio codec: sound_basic_dspb\sound_basic.mdl : just take in analog Line-In input and send it on Line Out output. sound_echo_dspb\sound_echo.mdl : add delayed echo to Line-In input and send it on Line Out output. Since DE2 board allow only 2-wire(I2C) access for the codec chip register control, this design adopted 2-wire access instead of 3-wire(SPI) in previous DSP kit version. To play with them: 1. open aic_audio HDL import block and push compile (if the HDL import block shrinks up after the compilation, please extend down the block size). 2. Compile and Program from Signal compiler. Note: *_add_user.tcl script assigns the pins, including Clock and aclr. My tool versions are: Quartus II/DSP Builder v8.1, MATLAB 2007b (may be compatible with other versions)