Processor Expert I2S with DMA, Round buffer problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Processor Expert I2S with DMA, Round buffer problem

861件の閲覧回数
tobias_strate
Contributor I

I am having problems getting the DMA to Switch between a high and a low buffer, for continuous transfer and receive. Since the DMA part of the I2S component is locked i have tried setting up the Scatter/Gather feature to help switch between the high and low buffer when finished with the major loop. which does work but it only cycles twice and then new inputs are not read. 

 

to enable continuous reading and transmitting, i have added the Receive block function inside the block received interrupt

 

The only way i have found to get it running smoothly is by calling the Disabletransfer in between transfer, this method though causes me to loose audio data due to the re enabling time 

 

Does anyone have a good method of setting it up for continuous run and use with an audio codec?

Original Attachment has been moved to: Audio_project.zip

0 件の賞賛
返信
0 返答(返信)