GPDMA with variable transfer size?

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

GPDMA with variable transfer size?

392件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fpg on Fri Nov 18 09:57:31 MST 2011
Hello all!

I'd like to use GPDMA to store text files into flash sent down to the microcontroller on UART. During setup of the DMA one must determine the transfer size but what if it is not a given constant? How could I stop DMA after the file is transferred?
Perhaps I could watch rx activity with a timeout and if no data is received for a while then disable DMA. Can I trust UART status flags when it is connected to DMA?
Or is there an option in DMA setup that I looked over?
0 件の賞賛
返信
0 返答(返信)