Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

CII DSP kit audio examples using DSP Builder

I made a sample driver for TLV320AIC23 Stereo Audio CODEC chip which is mounted on CII DSP kits in Verilog-HDL. I attach the files with two very simple DSP Builder projects.

sound_basic_dspb\sound_basic.mdl : just take in analog Line-In input and send it on Line Out/Headphone output.

sound_echo_dspb\sound_echo.mdl : add delayed echo to Line-In input and send it on Line Out/Headphone output.

To play with them:

1. open aic_audio HDL import block and push compile (after compilation, the HDL import block shrinks up, please extend down the block size).

2. Compile and Program from Signal compiler.

Both examples are for 2C70 kit. Sound_basic.mdl runs on 2C35 kit with just replacing the board block. On the other hand, since sound_echo.mdl uses some amount of M4K as delay FIFO, you have to reduce the FIFO size arund half in delay_echo_L/R block for 2C35.

Remark: To set the pin assignments of the codec chip, I used *_add_user.tcl.

14 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    WOW!! This is truly wonderful!! Thanks a lot my friend! I was really lost with my code and couldn't figure out what the problem was..... i haven't tested your code yet though.... i will write you again when i have finished testing.

    :)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    COOL!! the file is working just fine! I've changed the configuration parameters and tested the outcomes.... they are just perfect!!

    ThanK You EOFZ for helping me!! :)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    EOFZ, you made a sample driver for TLV320AIC23 Stereo Audio CODEC chip which is mounted on CII DSP kits in Verilog-HDL.

    But i´m missing the MIC-in. Pls, can you help me?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi friends!....i have a question on the driver for TLV320AIC23 Stereo Audio CODEC by EOFZ, it's possible yet??

    Thank you