LS1021A eDMA engine did not work correctly

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

LS1021A eDMA engine did not work correctly

1,350件の閲覧回数
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,131件の閲覧回数
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 件の賞賛
返信