DMA Bus error on source

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

DMA Bus error on source

1,209件の閲覧回数
Florijan
Contributor III

Hello!

I am using MKL25Z128  (mask 1N97F). The FTM timer triggers DMA ch1 which should copy PIT_CVAL0 (32 bit current value) to a 32 bit variable in RAM. But the DMA returns Bus Error on Source. If I change the source form PIT_CVAL0 to ordinary variable in RAM it works fine. My question is: Is it possible to use DMA to transfer PIT_CVAL0 (32 bit current value) to a variable in RAM using FTM trigger?

Best regards,

Florijan

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

985件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi florijan japelj,

    Thank you for your interest in kinetis product, I would like to provide service for you!
    It is possible to use DMA to transfer PIT_CVAL0(32 bit current value) to SRAM , if your FTM trigger is just the DMA request.

    I use the SPI transfer as the request, and it is ok to transfer PIT_VAL0 to SRAM.

Wish it helps you!


Have a great day,
Jingjing

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

0 件の賞賛
返信