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.
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