I'm working with a board that suffers from some electrical interference. With a default serial connection like
Serial.begin(921600);
This is the equivalent serial port setting to Parity=None, Stop Bits = 1. With this setting, I get some occasionally garbled information in transmit and receive. So, I've switched to using an Even parity and two stop bits, which is the equivalent of:
Serial.begin(921600, SERIAL_8E2);
When I connect to my device over a serial connection in
my own Windows app like the below, everything works great!
serialPortSOC = new SerialPort(portName)
{
BaudRate = 921600,
Parity = Parity.Even,
StopBits = StopBits.Two,
DataBits = 8,
Encoding = Encoding.UTF8,
Handshake = Handshake.None,
};
However, the serial monitor in Visual Micro doesn't let me set these settings. As a result, my communication is garbled in the VM serial monitor.
I've set the COM port settings in Device Manager to match what I want and restarted all instances of Visual Studio, but no dice.
Is there a way to make the VM serial monitor obey my parity and stop bit settings?