LS1021A eDMA engine did not work correctly

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

LS1021A eDMA engine did not work correctly

1,324 次查看
lion3875
Contributor II
We are trying to use fsl-edma engine, but it did not work correctly, it has been in processing state until the tx task to be killed.
And then, we are trying to use dmatest.ko module, attempt to prove the fsl-edma works well, but get same result.
We are reference linux\documentation\dmaengine\dmatest.txt & client.txt in the debugging process.
According to the debugging info within the fsl-edma.c, we found that the dma src-addr & dst-addr have been set correctly, and the dma-request has been enabled.
Does anyone could make some suggestion, or provide a proven method, thanks for your attention.
标签 (1)
标记 (1)
0 项奖励
回复
1 回复

1,105 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello li ang,

Please refer to the attached eDMA test result through Audio interface.

In LS1021 dts file, you could find sai is defined as the following.

            sai1: sai@2b50000 {
                        #sound-dai-cells = <0>;
                        compatible = "fsl,vf610-sai";
                        reg = <0x0 0x2b50000 0x0 0x10000>;
                        interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&platform_clk 1>, <&platform_clk 1>,
                                 <&platform_clk 1>, <&platform_clk 1>;
                        clock-names = "bus", "mclk1", "mclk2", "mclk3";
                        dma-names = "tx", "rx";
                        dmas = <&edma0 1 47>,
                               <&edma0 1 46>;
                        status = "disabled";
                };


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复