Issue regarding the IMXRT1170 PIT timer and eDMA transfer

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

Issue regarding the IMXRT1170 PIT timer and eDMA transfer

476件の閲覧回数
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 返信

469件の閲覧回数
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 件の賞賛