Hi,
When I run my code via CCS, I notice the following ULP Advices.
(ULP 4.1) Detected uninitialized port X in the project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. null .
[X varies from 1 to 10] .
However, I have the following snippet at the start of my code. Could someone please tell me if I am doing something wrong here while disabling the ports ?
MAP_GPIO_setAsOutputPin(GPIO_PORT_P1, PIN_ALL8);
MAP_GPIO_setAsOutputPin(GPIO_PORT_P2, PIN_ALL8);
MAP_GPIO_setAsOutputPin(GPIO_PORT_PB, PIN_ALL16);
MAP_GPIO_setAsOutputPin(GPIO_PORT_PC, PIN_ALL16);
MAP_GPIO_setAsOutputPin(GPIO_PORT_PD, PIN_ALL16);
MAP_GPIO_setAsOutputPin(GPIO_PORT_PE, PIN_ALL16);
MAP_GPIO_setOutputLowOnPin(GPIO_PORT_P1, PIN_ALL8);
MAP_GPIO_setOutputLowOnPin(GPIO_PORT_P2, PIN_ALL8);
MAP_GPIO_setOutputLowOnPin(GPIO_PORT_PB, PIN_ALL16);
MAP_GPIO_setOutputLowOnPin(GPIO_PORT_PC, PIN_ALL16);
MAP_GPIO_setOutputLowOnPin(GPIO_PORT_PD, PIN_ALL16);
MAP_GPIO_setOutputLowOnPin(GPIO_PORT_PE, PIN_ALL16);
Thanks!