I am making a SPI communication program for CC3200 using DMA, pingpong and TIRTOS. The problem is, that there are no examples. I have copied the transfer part from I2SCC3200DMA.c and it seems to work. Now I had to make the interrupt function and that can also be found in I2SCC3200DMA.c . I would like to understand how it works, but it uses function MAP_uDMAIntStatus (uDMAIntStatus) and that is not documented, well. I am inclined to think, that MAP_uDMAIntStatus() & 0x00000020 has something to do with transmit, FIFO or DMA and MAP_uDMAIntStatus() & 0x00000010 with receive, but where are these hex numbers defined, what do they mean.
In additon, the function uses pControlTable, as TIRTOS programs should, but what are the bits in ulControl. If I am right, this table should no be read directly, so where are the functions to read the table.
SPICC3200DMA.c uses also TIRTOS, but uses MAP_SPIIntStatus() in spiHwiFxn.
udma_demo.c uses ROM_UARTIntStatus, but is not TIRTOS(?)
DmaControlTable is defined in CC3200_LAUNCHXL.c and also set, but not referenced anywhere.
Which one is the right one to use, should I use ControlTable, how, or can I read the registers directly, where to get more information.
Best regards,
Pauli