AnsweredAssumed Answered

How to configure a block based SPORT in blackfin?

Question asked by liangbread on Jan 6, 2015
Latest reply on Jan 15, 2015 by jobo23

Hi everyone,


     I am using bf592 with the sport peripharal to interface with ADC and DAC through I2S.From the example project "Audio Codec Talkthrough - I2S (C)" in bf533,I have already know the way to set up a sampled based SPORTcommunication.Considering the less interrupt overhead,I am much more willing to use a block base SPORT,however,without figuring out what kind of DAM configuration should be take.    

     Referring to the hwr document of bf592,I have tried to chage the DMAx_X_Count to the blocksize as needed,as well ase the DMA in linear register based DMA mode.Consequently,the audio come out with some noise.I think this is cuased by the wrong DMA configuration.The attached file is the source code of my configuration of DMA and SPORT,and the ISR processing also be included.Can anyone offer me some advise on such as the DMA mode to be selected(2D or descriptor) or any other details missed?


Best Regards,