请问在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通道?
解決済! 解決策の投稿を見る。
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
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