The GUI on the PC sends a set of bytes to an embedded system.
- Bluetooth adapter, all fine
- USB cable, all wrong.
Device is a FTDI USB TTL Serial Cable
We need a predictable speed. I send out one thing from the PC, but I'm seeing either 0x00
or 0x80
bytes in the UART (receive buffer) on the embedded system.
This is the C# statement that sends the bytes...
connectorPort.Write(Protocol.Our_Command_04_Start_Data, 0, Protocol.Our_Command_04_Start_Data.Length);
115200 worked, but it isn't fast enough.
I need to make that look like a 921600 bps signal. 460800 bps might get me by; maybe. We are using flow control (CTS/RTS) on this port on the embedded system.
Is there a way to get the UART, with C#, to do one of those speeds ? How ?