Hello !
I try to initialize the UART with 9 Databits.
switch (BUFFER_IMAGE_KONFIG[UART0_DATENBITS_CX])
{
case 0:myUrt_waeg[0].eDat=RX_UART_DATABIT_5;break;
case 1:myUrt_waeg[0].eDat=RX_UART_DATABIT_6;break;
case 2:myUrt_waeg[0].eDat=RX_UART_DATABIT_7;break;
case 3:myUrt_waeg[0].eDat=RX_UART_DATABIT_8;break;
case 4:myUrt_waeg[0].eDat=RX_UART_DATABIT_9;break;
}
result = Drv_UrtInitializeUart(ptRsc->tLoc.uart, UartWaeg_Receive, UartWaeg_Send,
UartWaeg_Error,
pvRsc,
TRUE,
&unHdlr);
When I try this then in my result is 0x00005006 (Configured data width not supported by the UART)
How many Databits can I configure ?
Br,
Rainer
Andreas Jacob
Hilscher Gesellschaft fuer Systemautomation mbH
Hi Rainer,
the netX UART interface supports only from 5 till 8 Data Bits.