GPDMA to I2S peripheral questions

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GPDMA to I2S peripheral questions

427 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdowd on Thu Nov 20 14:21:59 MST 2014
I have a memory buffer with audio data in it that I want to move to the Transmit side of the I2S peripheral. I have this done using a more conventional method (straight copy using ring buffers, works great!!) but I want to introduce the GPDMA feature.

For the flow control, am I correct in assuming that the I2S side can perform the flow control since it has a FIFO and does report it's current data level?

Also, for interrupts, I would think that there is just a GPDMA interrupt to service (TC & Error) since the peripheral (via it's flow control) would handle the constant bursts required to keep the I2S FIFO fed until the memory buffer was emtpy. Correct?

The example in periph_i2s does have a GPDMA example except that it's a straight Peripheral - Peripheral transfer. Not from memory although it has been a great source of information.

Thanks in advance for any advice you can render.

Cheers!!
标签 (1)
0 项奖励
回复
0 回复数