I have an application that is using SPI1 and the app runs fine 90% of the time. On occasion, The board boots up with the SPI interrupt status register is set to 0x00000000 whereas it should be 0x00000004;
We are using manual mode, manual start, and polled transfers.
The app hangs when performing transfers as polling mode waits for the XSPIPS_IXR_TXOW_MASK bit to be set; This then causes an infinite loop i n the library call, XSpiPs_PolledTransfer,
Is there a simple way to reset the spi controller and or interrupt controller.