Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: EK-TM4C123GXL,
Tool/software: Code Composer Studio
Hi,
Once again thanks for all the guys.In my last post i had a doubt with a data packet sending in the UART now it was clear but i am facing an another issue.Suppose if i increase the SYSTEM CLOCK the packet is not properly transfering through UART .
SysCtlClockSet ( SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ ); // NOW CLOCK 16Mhz
UARTConfigSetExpClk(UART0_BASE,SysCtlClockGet(), 115200, ( UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE | UART_CONFIG_PAR_NONE)); //UART also having 16Mhz
in these UART was working fine and data packet also sending properly , but
SysCtlClockSet(SYSCTL_SYSDIV_4 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_25MHZ); // NOW CLOCK 25Mhz
UARTConfigSetExpClk(UART0_BASE,SysCtlClockGet(), 115200, ( UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE | UART_CONFIG_PAR_NONE));
in these condition i am facing a issue and my data is lossing,not getting a proper data packet in the output side.Can any one help me how solve these issue.Only in 16Mhz it was working properly if increase the clock it was not working.
SysCtlClockSet(SYSCTL_SYSDIV_4 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_25MHZ); // NOW CLOCK 25Mhz
UARTConfigSetExpClk(UART0_BASE,16000000, 115200, ( UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE | UART_CONFIG_PAR_NONE)); //if i make in these manner it was working.
Help me to solve these issue.