Hello .
We have an issue with the SPI channel.
We found out that when our GPIO config as SPI the CS drawn a lot of current when it connect to the slave device device AD7770. It is most problematic when we want to be on lowest current when no communicate with this device. Because we can't make any change in the board we want to configure the CS as input and change back to SPI when we need the communication.
But after config CS as input nathing make it back to SPI (remember I didn't uninit it), unless I uninit it and make again the whole setting of SPI init. I try gpio disconnect, I try SPI->ENABLE go to "0" and then back to "1" .
Is there a quick method, to go between GPIO input to SPI on the some pins?
Thanks for the answers
Bar.