Hello,
i got really strange problem, i moved my code from lmf120xl lanchpad to new one tm4c123 - offcorse it;s not working. So i started checking everything and running&testing all peripherials in simple task to check if everytihng is ok. I found that there is problem with uart. I took config form example:
ConfigureUART(void)
{
//
// Enable the GPIO Peripheral used by the UART.
//
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA);
//
// Enable UART0
//
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_UART0);
//
// Configure GPIO Pins for UART mode.
//
ROM_GPIOPinConfigure(GPIO_PA0_U0RX);
ROM_GPIOPinConfigure(GPIO_PA1_U0TX);
ROM_GPIOPinTypeUART(GPIO_PORTA_BASE, GPIO_PIN_0 | GPIO_PIN_1);
//
// Use the internal 16MHz oscillator as the UART clock source.
//
UARTClockSourceSet(UART0_BASE, UART_CLOCK_PIOSC);
//
// Initialize the UART for console I/O.
//
UARTStdioConfig(0, 115200, 16000000);
}
Then i setup my terminal and sent simple word like this -> UARTprintf("Hello, world!\n"); and i can see it on terminall.
So i sent UARTprintf("test\n");
UARTprintf("\033[2J test\n"); and i can't see these two on terminal
then i tryed to sent UARTprintf("value=%d\n",k); (where key is value from sensor) and i also can not see it on terminal.
So my question is what wrong that i can see Hello world, but i can see other's