Hi,
I've tried to toggle the port A, pin_1 (PA1) of TM4C1294NCPDT but could not work it out. Also, I've tried to configure the U0TX(PA1) of the same but could not work it out. Just wanted to know if any settings are required like GPIO_LOCK or anything else.
Pls go thru the GPIO_INIT() breifed as follows:
void GPIO_INIT (void)
{
static int i,j;
SysCtlPeripheralReset(SYSCTL_PERIPH_GPIOA);
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA);
GPIOPinTypeGPIOOutput(GPIO_PORTA_AHB_BASE, GPIO_PIN_1);
for(j = 0; j <= (500000*12); j++)
{
GPIOPinWrite(GPIO_PORTA_AHB_BASE,GPIO_PIN_1,0 );
for(i = 0; i <= (1000000); i++);
GPIOPinWrite(GPIO_PORTA_AHB_BASE,GPIO_PIN_1,1 );
for(i = 0; i <= (1000000); i++);
}
}
Kindly respibd asap...
Thanks,
Mary Ann