Post Go back to editing

Simple audio in-out code for the ADSP-BF706 EZ-KIT

I have an audio in-out program in C for the ADSP-BF706 EZ-KIT mini, about 80 lines in length. It's simple and very easy to understand. It's also completely self-contained - it doesn't use any of the header files that the "TalkThrough_BF706Mini.c" program uses (supplied with the kit). It includes a basic TWI driver, SPORT0 set up and configuration routine for the on board codec (ADAU1761). With some simple modifications it can be used for filtering, both FIR and IIR. The file is attached. All welcome to use free.

PatrickG

BF706_audio_inout.pdf
Parents
  • Hi Patrick,

    it seems your program (and my version of it) does not run in
    release mode. I guess the delay loops in write_TWI are getting
    too short or are removed completely by the compiler in release mode.
    The attached version Audio_Filter_v3 has new delay loops.
    Debug mode could also explain the poor results for the FIR filters in C.

    Regards

    Uwe

    Audio_Filter_v3.zip
Reply
  • Hi Patrick,

    it seems your program (and my version of it) does not run in
    release mode. I guess the delay loops in write_TWI are getting
    too short or are removed completely by the compiler in release mode.
    The attached version Audio_Filter_v3 has new delay loops.
    Debug mode could also explain the poor results for the FIR filters in C.

    Regards

    Uwe

    Audio_Filter_v3.zip
Children
No Data