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
  • Can someone please explain how to make use of more than 2 channels? This code is great, but how to enable the auxiliary outputs LOUTN and LOUTP? I want to send audio over to pins 1 and 2 on P7 on the EZKIT 706. Ideally I'd like to just have audio_buffer extended from a length of 2 to a length of 4, but whenever I try doing something like this, everything goes nuts. Any advice would be appreciated.

  • The ADAU1761 CODEC used on the board has just two ADC channels, but with input and output mixers. So you can mix all available inputs with diffferent gains to the ADCs. On the output side it's similar. You have mixer settings which define how to compose the different output signals available from the sources. See the ADAU1761 datasheet for details. I have included the block diagram below.

Reply
  • The ADAU1761 CODEC used on the board has just two ADC channels, but with input and output mixers. So you can mix all available inputs with diffferent gains to the ADCs. On the output side it's similar. You have mixer settings which define how to compose the different output signals available from the sources. See the ADAU1761 datasheet for details. I have included the block diagram below.

Children