What is the minimum settings of QE sdma?

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

What is the minimum settings of QE sdma?

跳至解决方案
1,037 次查看
yunyuaner
Contributor I

Hi,

To make sdma work, what are the minimum settings? Is the sdma data transfer transparent to software? Take ucc_uart for example, to transfer serial data from qe to external memory, I need to setup the buffer descriptor and mark it as ready, then should the sdma take effect? I mean, there isn't further software operation on sdma, right?

Thanks

Jia

标记 (5)
0 项奖励
回复
1 解答
988 次查看
alexander_yakov
NXP Employee
NXP Employee

SDMA is Serial DMA channel, used by QE to communicate with system memory. This physical channel is split to a number of virtual SDMA channels, 2 channels per each QE communication controller, one for RX and one for Tx. You do not need to make any settings with SDMA itself to make it working, all SDMA-related initialization is performed as a part of communication controller initialization. However, SDMA has its own SDMA-specific registers, used mostly to handle SDMA errors (bus errors) and for other purposes. Please look QE Reference Manual, Section 3.1.8 for more details.

在原帖中查看解决方案

0 项奖励
回复
1 回复
989 次查看
alexander_yakov
NXP Employee
NXP Employee

SDMA is Serial DMA channel, used by QE to communicate with system memory. This physical channel is split to a number of virtual SDMA channels, 2 channels per each QE communication controller, one for RX and one for Tx. You do not need to make any settings with SDMA itself to make it working, all SDMA-related initialization is performed as a part of communication controller initialization. However, SDMA has its own SDMA-specific registers, used mostly to handle SDMA errors (bus errors) and for other purposes. Please look QE Reference Manual, Section 3.1.8 for more details.

0 项奖励
回复