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