I am getting the problem with the SPI1 DMA data Transmission. Details are furnished below.
We are configuring the SPI1 as Master - disable,
Continuous - enable,
CON[14:15]= 00 (interrupt for every byte transfer)
ZEN - enable,
OEN - enable,
CPOL - 0,
CPHA - 1, and
DMA enabled for both Tx and Rx of SPI1 but interrupt is only Enabled for DMA Rx.
Peripheral Clock - 2MHz.
Serial Clock - 500KHz.
For every 1 Sec, we are communicating to this controller with 64 bytes of Data from Master. Eventhough the Slave selection is low before the start of the communication,we are getting FF's for all 64 bytes in between communication. But the next communication is success.
what might be the reason that why we are getting all 64 bytes of FF's?
Note: We are getting same problem when we configure serial clock as 100KHz.
Please help me to solve this issue as early as possible.
Thanks in Advance,