Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

EK-LM4F232H5QD uart BAUD RATE ISSUE

$
0
0

I didnt get any serial data for baudrate 9600 while it works fine for 115200. Code i used is

for 115200 baudrate:-
 ROM_UARTConfigSetExpClk(UART0_BASE, ROM_SysCtlClockGet(),115200,(UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE |UART_CONFIG_PAR_NONE));

for 9600 baudrate:- 
ROM_UARTConfigSetExpClk(UART0_BASE, ROM_SysCtlClockGet(),9600,(UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE |UART_CONFIG_PAR_NONE)); 

I used Keil.When debugged code doesnt hang , it goes through the sending function too. not going to uarthandler when baudrate set is 9600.
checked ibrd and fbrd values that is fine.
any suggestions??thanks in advance. 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>