Other Parts Discussed in Thread: TMDSIDK437X
Tool/software: TI-RTOS
Hi everyone,
I am reading and trying understand the code in SPI_dma.c. We are currently using DMA with SPI quite successfully but we need to make some custom modifications to the SPI driver in the PDK.
In particular, I am puzzled why the driver allocates a "dummy paRAM set", because it does not appear to actually be used, in the code at http://git.ti.com/keystone-rtos/spi-lld/blobs/master/soc/dma/v1/SPI_dma.c#line336, EDMA3_DRV_linkChannel() returns an error because the channel parameter, EDMA3_DRV_LINK_CHANNEL, is out of range. At least this is true when I tested on TMDSIDK437X development board.
Although the linked channel does not get used, it does not appear to affect the SPI transfer. The TX and RX channels raise an interrupt on completion as expected.
I am wondering if the dummy param set is redundant, or is there some reason for it being there that I have missed?
Regards