|
It was found in the test during project debugging:
PC cannot receive 0x11 characters correctly
Use serial tool, serial loopback.
Send in hex
0x0001020304 ... 171819
The above 20 characters, except 0x11, are thought to be received correctly.
Use an oscilloscope to detect the signal. There is a 0x11 waveform.
The following communication settings were tested:
9600, 8 data bits, 2 stop bits
9600, 8 data bits, 1 stop bit
4800, 8 data bits, 2 stop bits
Very strange phenomenon, I don't know if the PC has any special explanation for this character?
In addition: the PC sends this data and uses a single-chip microcomputer to receive, the reception is normal; but the single-chip microcomputer sends to the PC, the PC cannot receive correctly |
|