Assuming one is not using I2C, does this mean the DMA channel can be used for any flexcomm interface 0 RX function (ie SPI if flexcomm 0 is configured for SPI)?
I'm now working through using DMA with a UART -- the example code and driver are mindbendingly undocumented.
Based on the example lpcxpresso55s28_usart_dma_transfer, the DMA channels are associated with all configurations of a Flexcomm.
There are two requests for each Flexcomm: one for transmit, the other for receive. When configured to work as I2C, one of the requests is for when the Flexcomm is used as an I2C slave, and the other is used when the Flexcomm is used as an I2C master.
So for Flexcomm 0, the table lists:
DMA Channel 4: Flexcomm Interface 0 RX / I2C Slave
DMA Channel 5: Flexcomm Interface 0 TX / I2C Master
It's the same for the other Flexcomms.
There are a couple of examples that use the Flexcomm as an SPI master or slave using DMA transfers.