I am using the uVision RealView MDK -ARM 4.02 trial version. I am simulating the LM3S5791. I am simulating usart0. I execute the driverlib functions,
UARTConfigSetExpClk(UART0_BASE,12000000,19200, (UART_CONFIG_WLEN_8|UART_CONFIG_STOP_ONE| UART_CONFIG_PAR_NONE));
UARTEnable(UART0_BASE);
I then select the LBE (loopback enable) button on the Simulator menu under "Peripherals"->"Usarts"->"Uart0" Menu. Then while in debug mode I execute the following calls to place data in the TXFIFO. UARTCharPut (UART0_BASE, 'C'); UARTCharPut (UART0_BASE, 'A'); UARTCharPut (UART0_BASE, 'F'); UARTCharPut (UART0_BASE, 'E'); UARTCharPut (UART0_BASE, '\n');
I see the data in the TXFIFO but there is nothing echo'd in the RXFIFO.
I have also attempted to use the the VTREGs S0IN='C"; in a signal function, and also created a signal function that is advertised as a loopback function to no avail.
Does anyone have a simulated USART for the Cortex-M3 device using the Stellaris Driver Library.