Hi
We have a custom board using the CC2640R2FRSMR.
In my code, I have a task_sleep for 1 minute. I see that if I leave I/O pins in an unknown state during the sleep, the current consumption is higher. The best current consumption of 3.2uA was achieved when all the pins were set to GPIOs and outputs.
Since we are using SPI, there are 4 pins that we cannot set as GPIOs and this increases the average current significantly.
I am wondering if there is a way I can initialize these 4 pins on the run as GPIO when SPI transaction is done and then back to SPI before opening the SPI port. If there is any other recommended method, please let me know about that.
Thanks
Tushar
 
				 
		 
					 
                          