eDMA ScatterGatter

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

eDMA ScatterGatter

1,284件の閲覧回数
oaf
Contributor IV

I'm using KDS-2.0.0 and KSDK-1.1.0.

I need to run a DMA transfer for one cycle, and think of using EDMA_DRV_ConfigScatterGatherTransfer()

with a list of only one destination (source is I2S device).

Unfortunately there doesn't seem to be any example for this, is there anyone which have a sample to provide?

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

1,107件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Ole Asbjorn Fadum,

Unfortunately, there's no demo that integrate with ScatterGatter function in SDK now.

However I can share a demo which using the eDMA ScatterGatter feature to transfer the data to external flash through the SPI interface.

The demo was created for another customer in a few month ago and the original demo spi_demo is from the TWR-K60D100M sample code KINETIS512_V2_SC,

you should use the spi_demo.c and isr.h in the SPI_DMA_TEST_Scenario2_scatter_gather file instead of the these files in the original demo, it's done.
Have a great day,
Ping

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

1,107件の閲覧回数
oaf
Contributor IV

Thanks, I'm trying to work with KSDK so the register -> API mapping must be done of course, but it's a start.

0 件の賞賛
返信