Issue regarding the IMXRT1170 PIT timer and eDMA transfer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Issue regarding the IMXRT1170 PIT timer and eDMA transfer

1,444 次查看
Sanjay1993
Contributor I


Board: MIMXRT1170-EVK
Core: M4
We are working on LPSPI_DMA with PIT timer for delay between transfer. We were not able to attain the required output by using the PIT 1 channel 1 using eDMA Channel 1.
We used peripherals for enabling the periodic trigger and we were not able to get the data transfer for SPI. Please give us a solution regarding the issue.

标签 (1)
0 项奖励
回复
1 回复

1,437 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Sanjay1993 ,

  Do you want to use the PIT to trigger the LPSPI data transfer, and LPSPI data transfer use the DMA right?

  If yes, you can use the PIT generate the interrupt, then trigger the LPSPI transfer, then use the LPSPI DMA transfer.

  About the code, you can refer to the SDK:

\SDK_2_10_0_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\lpspi\edma_b2b_transfer

SDK_2_10_0_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\pit\cm7

 

Wish it helps you!

If you still have questions about it please kindly let me know.

Best Regards,

Kerry

0 项奖励
回复