This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPI0 as slave with DMA

Other Parts Discussed in Thread: TM4C1231H6PGE

Hallo,

I have TM4C1231H6PGE and tivaware 1.0.

I need SSI0 to be slave, and I want to use DMA to transfer.

I attach a slice of code I use to setup SSI0 and DMA. When I try to run only first character seems to be read.

For example if the string "DATA\n\r" is sent by master (verified with logic analizer), in data[] array I find "DDDDDDD" (w/o '\0' termination).

where am I wrong? How an interrupt can be triggered at the end of transfer? How can I know if a transfer is in progress?

best regards