Hello,
i´m using the ice board with ind sdk.
The AM3359 is running in SPI slave mode with EDMA.
In case of, that the SPI reads a false bit i want to synchronize the SPI.
I reach this reading-error if i start the master after the slave (so it´s reproducible)
How i can reset the SPI TX RX registers and the EDMA? What i´ve tried, but don´t work how i excepted is:
After the SPI/EDMA transfer i get an interrupt in which i check the checksum of the RX-Buffer.
If there is an error, like one bit is wrong ( to much at the beginning) i check the RXS SPI Register. If full,i read it out.
TX data is correct but RX is wrong.
Second try was, i save the SPI Registers, make a SPI Reset and then write the SPI Registers with the stored value. I have wrong TX and RX buffers.
That´s also did not work.
Has anyone a solution or a similar application ?
best regards,
daniel