B4J Question Test jSerial library

BogdanU

New Member
Licensed User
Longtime User
Hi,
I tested the program Chat.b4j (Erel's post Nov 21, 2013).
I used a USB/serial (FTDI) converter.
I connected the TxD and RxD lines and ran the Chat.b4j program.
The program seemed to work correctly.
Chat_13.jpg

Another USB/serial (FTDI) converter connected to a different USB port received the signal from the first converter with errors.
The logic analyzer waveforms show error bytes.
Error bytes: 0xB1, 0xB2, 0xB4, 0xB7, 0xB8 generated by Chat.b4j
Chat_13_Analyzer.jpg

The waveforms from the PC terminal were correct.
Terminal.jpg

The same errors occurred on another computer.
Best regards
Bogdan
 

JordiCP

Expert
Licensed User
Longtime User
Seems like the PC (Chat.b4j) is transmitting 7 bits + even parity (7E1) , so what the logic analyzer sees is correct (total number of '1's in each byte is even).
The PC terminal is configured as 8N1, so what the logic analyzer sees is also correct.
 
Upvote 0
Top