KurtE
Senior Member+
@Frank B (I think) - I think I remember you posting (several pages ago) that there was an issue with how some Hardware Serial was working with parity... My quick look did not find the posting, but...
So did another quick test:
Then ran it, checked out the different outputs using Logic Analyzer:
I set all of the Serial Analyzers to the expected settings and I believe all of these worked.
Let me know if I missed something. Still need to setup and try to do some of the 9 bit code.
So did another quick test:
Code:
void setup() {
delay(1000);
Serial4.begin(115200); // used for debug output.
Serial1.begin(115200, SERIAL_8N2);
Serial2.begin(115200, SERIAL_7E1);
Serial3.begin(115200, SERIAL_7O1);
Serial5.begin(115200, SERIAL_8N1_RXINV_TXINV);
Serial4.println("Enter text to echo...");
}
void loop() {
while (Serial4.available()) {
char ch = Serial4.read();
Serial1.write(ch);
Serial2.write(ch);
Serial3.write(ch);
Serial4.write(ch);
Serial5.write(ch);
}
}
I set all of the Serial Analyzers to the expected settings and I believe all of these worked.
Let me know if I missed something. Still need to setup and try to do some of the 9 bit code.