Spi2 dma

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

Spi2 dma

985件の閲覧回数
Asaf
Contributor I

I work with mk64fn1m0xx12

1. SPI2 CAN WORK WITH DMA?

Beacuse thereis is not source for tx and rx to dmamux only tx or rx

2.can i use gpio faling adge to trigger DMA Connected to SPI2.?

ADVICE

THANK

0 件の賞賛
返信
2 返答(返信)

944件の閲覧回数
Asaf
Contributor I

Hi,

I configure spi0 to work with dma and it work properly.

I configura spi2 to work with dma diferent channel the first time i send 1byte i get interrupt and the data is ok. The second time i send 24 bytes only the first byte that transmit is correct and the other is not match to what i send and im not get interrupt at the end

Advice

0 件の賞賛
返信

963件の閲覧回数
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello,

 

Hope you are doing well. You are right. DMA request source for SPI2 is Transmit or Receive. There is not a separate source like with SPI0, but you can use it.

Yes, if your requirement is to use SPI2, you could use another pin for GPIO to trigger DMA.

Also, maybe this community post might be helpful: Using the DMA module in Kinetis Devices - NXP Community

 

Best Regards,

Ricardo

0 件の賞賛
返信