Dear community member,
I have a issue on SPI in i.MX6 with yocto 3.14.52. I got a error transferring data via SPI as a master.
It is occurred in spi_imx_isr(). My software already complete to read all data, but rx_available() return true. So, spi_imx->txfifo will be minus, as a result, this function will return IRQ_HANDLED.
I added this code,
if(spi_imx->txfifo < 0) spi_imx->txfifo = 0;
but error was occurred again.
Please tell me why does rx_available() return true already data should be empty.
Or Is the patch existing to solve this problem?