【S32K3】S32K324 Lpspi 0~6与DMA channel的对应关系

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

【S32K3】S32K324 Lpspi 0~6与DMA channel的对应关系

ソリューションへジャンプ
583件の閲覧回数
TianyaoLi
Contributor II

请问在S32K344中,DMA的各个channel是否与LPSPI 0~6有固定的对应关系?

我将DMA_IP_HW_CH_5 配置为LPSPI0 TX,DMA_IP_HW_CH_5=4 配置为LPSPI0 RX,LPSPI0 为slave SPI,在master SPI 还没有初始化时,RX的DMA中断就触发了。

如果反过来将DMA_IP_HW_CH_5 配置为LPSPI0 RX,DMA_IP_HW_CH_5=4 配置为LPSPI0 TX,那么当master spi开始发消息后,先触发的是TX中断。是否是我配置错了SPI0对应的DMA通道?

0 件の賞賛
返信
1 解決策
566件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @TianyaoLi,

The DMA channels are not fixed to LPSPI module.

Can you please share the project or the configuration files?

From the description, I can't tell what configuration is incorrect.

 

Thank you,

BR, Daniel

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
567件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @TianyaoLi,

The DMA channels are not fixed to LPSPI module.

Can you please share the project or the configuration files?

From the description, I can't tell what configuration is incorrect.

 

Thank you,

BR, Daniel

 

0 件の賞賛
返信
536件の閲覧回数
TianyaoLi
Contributor II
感谢您的回复,问题已得到解决,谢谢。
0 件の賞賛
返信