This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

9-bit mode on the LM4F232H5QD

Hi,

I am trying to set up a UART in 9-bit mode on the LM4F232H5QD development board.  Does anyone have a code snippet that shows how to set up the UART?  Do you set it up with something like this:

// Set GPIO A0 and A1 as UART pins.

ROM_GPIOPinTypeUART(GPIO_PORTA_BASE, GPIO_PIN_0 | GPIO_PIN_1);

// Configure the UART for 115,200, 8-N-1 operation.

ROM_UARTConfigSetExpClk(UART0_BASE, ROM_SysCtlClockGet(), 115200, (UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE |

UART_CONFIG_PAR_NONE));

// Enable the UART interrupt.

ROM_IntEnable(INT_UART0);

ROM_UARTIntEnable(UART0_BASE, UART_INT_RX | UART_INT_RT);

// Enable 9 bit mode.

ROM_UART9BitEnable(CFG_UART_REG_BASE[port]);

Any help will be greatly appreicated.

Thanks,

Susie J.