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
  • Hallo Patrick,

    my BF706 audio filter program has a bug. The lines

     

    if (*pREG_DMA1_STAT & ENUM_DMA_STAT_IRQDONE)
        *pREG_DMA1_STAT = ENUM_DMA_STAT_IRQDONE;

     

    are missing in the SPORT0_RX_interrupt_handler.

    Maybe this is useful for the development of your own DMA interrupt software.

    The attached version BF706_Audio_Filter_v2 should be correct.

     

    Best regards

    Uwe

    BF706_Audio_Filter_v2.zip
Reply
  • Hallo Patrick,

    my BF706 audio filter program has a bug. The lines

     

    if (*pREG_DMA1_STAT & ENUM_DMA_STAT_IRQDONE)
        *pREG_DMA1_STAT = ENUM_DMA_STAT_IRQDONE;

     

    are missing in the SPORT0_RX_interrupt_handler.

    Maybe this is useful for the development of your own DMA interrupt software.

    The attached version BF706_Audio_Filter_v2 should be correct.

     

    Best regards

    Uwe

    BF706_Audio_Filter_v2.zip
Children
No Data