Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to check if a serial communication system is too busy from a small sample size?

Status
Not open for further replies.

eepty

Full Member level 2
Joined
Oct 21, 2005
Messages
143
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
2,611
I got a real world problem which has been annoying me for a long time. In a low speed serial communication such as RS485 (I think we can consider it as low speed when we already have gigabit network), how could I tell if the data running on the bus will not trigger too many collisions that will affect the system? As you know it is not practical to build all the devices to simulate the worst case and test it. For example on a modern RS485 bus we can have 256 device at most. Most of the time we can only build about 10 units for testing.
 

In a proper setup where proper protocol is observed, one of the wires is an alert wire, which a device can pull low when it wants to communicate with another device. First it checks that the wire is not already low.

If the wire is low, that means other devices are using the bus. So it waits a while, then tests the wire again.

- - - Updated - - -

That is the theory anyway. Of course there is room for things to go wrong. Two or more devices might pull the wire low at the same time. The called device is supposed to signal 'Ready to receive'.

The protocol is supposed to work perfectly, but reality is seldom perfect. I picture a help line saying, "Serial bus problems? Try a different arrangement of your devices." Or, "Are all your devices our brand? No? Then the fault must be with the off-brand device."
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top