I want to parameter my serial settings with 2 bit stop (in a UWP app) on a Raspberry Pi 3 to control a DMX512. My app is working and it works with a external FTDI, but not with the UART from the Raspberry Pi... I get a "parameter is incorrect" error when it execute the line with the stop bit parameter.
_serialPort->WriteTimeout = _timeOut; _serialPort->ReadTimeout = _timeOut; _serialPort->BaudRate = 250000; _serialPort->Parity = Windows::Devices::SerialCommunication::SerialParity::None; _serialPort->DataBits = 8; _serialPort->StopBits = Windows::Devices::SerialCommunication::SerialStopBitCount::Two; _serialPort->Handshake = Windows::Devices::SerialCommunication::SerialHandshake::None;
With Linux, I know that the UART of RPi3 supports 2 stop bits.
Someone has a solution or it's just because of Windows IOT ?
Thanks.