Part Number: CC2640
Tool/software: TI-RTOS
Hello Champs,
One of my customers has faced with the following issue. They have CC2640 device which can be powered from battery or from USB. and one UART port is connected to UART-USB converter (TUSB family). Issue is that when CC2640 wakes up and pins are set as UART, they go high and thus power up the UART-USB converter. After that CC2640 thinks that it is now powered from USB and doesn't go to sleep, so continues to draw the battery..
The question is - is it possible to configure pins during runtime so after the device wakes up in the battery-powered mode, they reconfigure UART pins to GPIO and pull them low?
BR,
Ilya