I am working with the FRDMMCX947 and MCUXpresso IDE v24.9
The DMA request 0 of SCT0 timer should start a DMA with data for the SPI interface LP_FLEXCOMM1. The data for the DMA is in the structure "lpspi_transfer_t masterXfer;" filed.
I didn't know, how to start this DMA. In another project with the LPC54618 I used the following commands:
Send_Tx_DMA_Handle.base->CHANNEL[SEND_TX_DMA_CHANNEL].CFG |= DMA_CHANNEL_CFG_HWTRIGEN(1) | DMA_CHANNEL_CFG_TRIGPOL(1);
SPI_MasterTransferDMA(SPI6, &Send_SPI_DMA_Handle, &masterXfer))
In the MCUXpresso SDK API Reference Manual I didn't find any description about the LPSPI_Master.... functions.
What are the corresponding functions for the MCXN947 ?
A manual start of the DMA with the function "LPSPI_MasterTransferEDMALite(EIA_RS_TX_LPSPI_BASE, g_s_edma_TxHandle, &masterXfer);" works well.
Thanks
Klaus