DMA question

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

DMA question

545件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by schisanoa on Wed Oct 01 07:15:10 MST 2014
Hi

I would understand what is the best way to use DMA for the UART RX. I need to receive data at high data rate, about 921600 or more, and I would use the DMA to optimize the firmware, but I don't have a fixed lenght for data, so if I set a transfer for each single byte I suppose it will be not useful, and not optimized, but if I set a transfer size for the DMA of 256 byte, if I receive less than 256 byte, the DMA interrupt won't be asserted. How you may manage this problem? Any suggestion?

I use a FreeRTOS, maybe  using a queue with a timeout?

Thanks
ラベル(1)
0 件の賞賛
返信
0 返答(返信)