Since i have NOT connected external oscillator at pin P2.6 and P2.7, i want to use at GPIO pin and thus configured the pin as GPIO after reading some example program. My main code is to blink the red led which is running fine but still i am getting the warning msg. IMAGE ATTACHED
My code is below:
void ConfigPins(void)
{
/*
For power optimization make unused input pins as a GPIO
Since crystal oscillator is NOT used make P2.6 and P2.7 as GPIO
for low current consumption
*/
P1DIR |= BIT0; // output
P1OUT = 0; // clear output pins
P2SEL = ~(BIT6 + BIT7); // Make P2.6 and 7 as GPIO
P2DIR |= BIT6 + BIT7; // P2.6 and 2.7 as output
P2OUT = 0; // clear output pins
}
BUT after debugging a code in CCS V6, it gives a warning alarm with yellow triangle, which can be clearly seen in the image below.
NOTE: i have written code for LED blinking and it is running absolutely fine with 1 sec delay but still i am getting this alarm.