Other Parts Discussed in Thread: SYSCONFIG
I tried to implement a SPI Slave with TX DMA, based on the example of AM65x "pdk_am65xx_08_00_00_36\packages\ti\drv\spi\soc\dma\v2\SPI_dma.c" for the AM64x.
In AM64x SDK, UDMA_PDMA_CH_MAIN0_MCSPI1_CH0_TX is provided as chPrms.peerChNum. With this configuration I get an DMA_COMPLETE Interrupt after SPI transfer, but no data is transfered to the MCSPI_TX_0 Register.
1.) Is it even possible to use the MCSPI TX DMA on the AM64x?
2.) Is it possible to use the TX DMA without using/enabling the send FIFO of the SPI? Goal is to load only the first 4 Bytes at start of transfer, to be able to write the source buffer in RAM right before the SPI access happens.
3.) Is the UDMA_PDMA_CH_MAIN0_MCSPI1_CH0_TX defined with 0xC300 in the headers is correct for the AM64x?
If all above is correct or possible:
4.) Is there an running AM64x_EVM example similar to the AM65x example: pdk_am65xx_08_00_00_36\packages\ti\drv\spi\example\mcspi_slavemode?