LPC55S69 - Simple example of SCTIMER triggering SPI DMA transfer

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

LPC55S69 - Simple example of SCTIMER triggering SPI DMA transfer

1,642件の閲覧回数
IanMcCarthy
Contributor I

Hi All,

So many options, so little time...

Does anyone have a simple example where a free running SCTIMER will trigger a single TX byte/word DMA transfer on an SPI interface.

We have SCTIMER running generating PWM and we have SPI DMA running using various linked descriptor strategies...but we can't at the moment get an SCTIMER match to trigger a DMA transfer.

Any help/pointers would be gratefully appreciated.

Thanks.

0 件の賞賛
返信
1 返信

1,633件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

It is okay to use SCTimer to generate fixed period signal to trigger DMA, but we have not example code for the solution.

For your application that you use SCTimer to trigger DMA, you have to configure the SCT DMA request 0, which is set up in DMAREQ0,

xiangjun_rong_1-1650007851392.png

 

You have to set up the Input Mux register  to generate trigger signal to trigger DMA channel

xiangjun_rong_0-1650007749467.png

Pls have a check if you set them or not.

BR

XiangJun Rong

 

0 件の賞賛
返信