RT1024 SPI DMA问题

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1024 SPI DMA问题

1,057 Views
Geass
Contributor I

你好:

  我使用RT1024的SPI1 和SPI2 以DAM的方式周期性发送数据,当我调用LPSPI_MasterTransferEDMA()函数后发现,SPI需要十几us的延迟才会还是传输,而且调用发送函数后SPI启动发送的延迟时间是不定的,有时是十几us有时是二十几us,程序中没有其它地方使用SPI,循环调用SPI的频率大概是10Khz,我想问一下怎样才能快速启动SPI传输(调用LPSPI_MasterTransferEDMA()函数后SPI立即启动传输),还有SPI1和SPI2通过DMA模式是否可以同步传输。

0 Kudos
Reply
1 Reply

1,038 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
非常感谢使用NXP产品,很高兴为你提供技术支持!
请上传一下完整的测试代码。
Have a great day,
TIC

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply