Thanks for your response Randy,
The RS-485 ports are configured as 2-wire ports by connecting pin 4 to 8 and pin 5 to 9 of the 9 pin D connector in the target test equipment.
The target test equipment is configured to use 1 stop bit. We have experienced random failures in the '485 transmission between terminals. An investigation revealed that we appear not to be sending the stop bit.
> What are the reasons for such a concern?
Our customer's requirement is to transmit 1 stop bit.
I�ve attached traces from the �485 card. They were created at 38400 baud, odd parity, 8 data bits. Traces were recorded with stop bits set to both 1 and 2 (see filename for setting).
The following data was transmitted:
Hex value 0x1
Hex value 0x5
ASCII character sequence UU
Here is my interpretation of the traces.
All references to the trace are to the top (yellow) waveform...
Description of: 0x1_384bd_odd_8data_1stop.jpg
Hex value 0x1, transmitted at 38400 baud, 8 data bits, odd parity, 1 stop bit.
The start bit is seen (1 then 0 on left-hand side).
Followed by the data; 1 0 0 0 0 0 0 0. (LSB transmitted first)
Followed by parity �0�
No stop bits seen before the signal goes to a �tri-state�
Description of: 0x1_384bd_odd_8data_2stop.jpg
As for the one stop bit version, but after the parity bit (�0�), one stop bit is seen (should be two bits)
Description of: 0x5_384bd_odd_8data_1stop.jpg
Hex value 0x5, transmitted at 38400 baud, 8 data bits, odd parity, 1 stop bit.
The start bit is seen (1 then 0 on left-hand side).
Followed by the data; 1 0 1 0 0 0 0 0. (LSB transmitted first)
Followed by parity �1�
No stop bits seen before the signal goes to a �tri-state�
Description of: 0x5_384bd_odd_8data_2stop.jpg
As for the one stop bit version, but after the parity bit (�1�), one stop bit is seen (should be two bits)
Description of: UU_384bd_odd_8data_1stop.jpg
ASCI Characters UU, transmitted at 38400 baud, 8 data bits, odd parity, 1 stop bit.
(U = 0x55 = 01010101)
The start bit is seen (1 then 0 on left-hand side).
Followed by the data; 1 0 1 0 1 0 1 0. (LSB transmitted first)
Followed by parity �1�
No stop bits seen before the signal goes to a �tri-state�.
The sequence is then transmitted a second time.
Description of: UU_384bd_odd_8data_2stop.jpg
As for the one stop bit version, but after the parity bit (�1�), one stop bit is seen (should be two bits)
Regards,
Alan Knowler