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.
Hello,
I am trying to retrieve data from FRAM(FM25W256G) using the TMS320F28377D's SPI and DMA.
SPIA as the spi master, FRAM as the spi slave. I configured transmission of bit for SPITXBUF as 8 and receipt of bit for SPIRXBUF as 8. DMA word size is 16 bit.
I am not seeing the correct data in the Rx Buffer after the SPI Rx DMA's transfer complete interrupt occurs. I can see the data in SPIRXBUF which is the same as the low 8 bit data from SPITXBUF. So I think transmission happenned in the low 8 bit of data from txData[].
Transmit data: sdata[]
Receive data: rdata[]
When I modified transmission of bit for both SPITXBUF and SPIRXBUF as 16, all of receipt data are 0.
So what should I do to make DMA transfer working correctly to receive the data in its entirety?Any kind of help would be appreciated.
Thanks!