Tool/software: TI-RTOS
Dear All,
I'm working with Processor SDK RTOS for AM437x 3.2.0 and I've initialized UART1 as follows:
UART_Param.baudRate = 38400; UART_Param.parityType = UART_PAR_EVEN; UART_Param.writeDataMode = UART_DATA_BINARY; UART_Param.readDataMode = UART_DATA_BINARY; UART_Param.readReturnMode = UART_RETURN_FULL; UART_Param.readEcho = UART_ECHO_OFF; UART = UART_open(1, &UART_Param);
However, by looking at UART frames via oscilloscope, I see framing errors and, in fact, LCR value is 0x0003. If I change it to 0x001B by writing directly to that register after calling UART_Open() the frame is correct.
What am I missing?