Deer Sir / Madam,
We are using J721S2 & RTOS, and i want to control the spi writing SPI driver. The spi configuration is done, now i want to do these following things:
1. send spi message once by TI PDK function 'SPI_transfer', and trigger spi callback function by it, (already setup the spiParams.transferCallbackFxn);
2. in the callback function, i add an another SPI_transfer function;
It seems like NOT OKAY, because the return value of first SPI_transfer is TRUE, but the return value in callback function is FALSE, so i can't do that?
By the way, How can i get the status of spi channel? just like it's uninit or busy or idle.
Appreciate so much,
Lepus