DMA question

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

DMA question

542 次查看
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 回复数