electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How I can detect the 3 possible states in a bus RS485?


Post new topic  Reply to topic    EDAboard.com Forum Index -> Electronic Elementary Questions -> How I can detect the 3 possible states in a bus RS485?
Author Message
kkdelabaca



Joined: 18 Apr 2003
Posts: 106


Post20 Feb 2008 17:29   

How I can detect the 3 possible states in a bus RS485?


Hello,

I'm very interested in detect the 3 possible states in a bus RS485: Hi, low and High-impedance.

Some devices like the max485 can detect the level Hi setting up the level in the Receiver pin, but can not differenciate the state of LOW and High-Impedance.

How I can detect the 3 possible states in a bus RS485? It is posible?

Thanks!
Back to top
FvM



Joined: 22 Jan 2008
Posts: 5161
Helped: 767
Location: Bochum, Germany


Post20 Feb 2008 20:47   

Re: How I can detect the 3 possible states in a bus RS485?


This is basically not possible. You could do it by an agreement, setting the high impedance state to "break state" by weak pullups, the state would change then to idle if a transmitter is activated.

Normally, the contrary condition apllies: You can expect that no bus participant will activate it's transmitter without sending data shortly. Thus idle state (lasting longer than one or a few frame periods) effectively equals high impedance state. However, if there are no clear rules who is allowed to send next (master/slave protocol, token passing), this wouldn't mean anything.
Back to top
Google
AdSense
Google Adsense




Post20 Feb 2008 20:47   

Ads




Back to top
kkdelabaca



Joined: 18 Apr 2003
Posts: 106


Post23 Feb 2008 20:38   

Re: How I can detect the 3 possible states in a bus RS485?


Hi FvM,

detect the 3 states will be posible because exist some transparent devices that implement 3 states without software. Please see:
http://www.ifs.com/downloads/datasheets_english/d1300.pdf

Thanks!
Back to top
FvM



Joined: 22 Jan 2008
Posts: 5161
Helped: 767
Location: Bochum, Germany


Post24 Feb 2008 12:42   

Re: How I can detect the 3 possible states in a bus RS485?


Don't see any relation to the original question. If you connect a bridging device to a RS485 network, it has to act as any other network member does. It may either be able to understand the protocol or send, when the bus line is idle (and hopefully stays idle during send). But it has no means to detect, if all other drivers are three-stated or not.

P.S.: Generally, the operation of "dumb" (not knowing the protocol) bridging device is based on correct behaviour of the "intelligent" network members. The bridge simply duplicates all data to the other port, including possible collisions.
Back to top
kkdelabaca



Joined: 18 Apr 2003
Posts: 106


Post24 Feb 2008 13:42   

Re: How I can detect the 3 possible states in a bus RS485?


Hi FvM, this is a transparent device that converts one RS485 signal in to Fiber optic system to extend the distance using fiber optic. You need a pair of these devices and somehow can detect the 3 states to send the status of the bus RS485 to the other transceiver.
Back to top
FvM



Joined: 22 Jan 2008
Posts: 5161
Helped: 767
Location: Bochum, Germany


Post24 Feb 2008 14:42   

Re: How I can detect the 3 possible states in a bus RS485?


No, it's not necessary to detect the state of the bus for a transparent bridge. I have used this type of "transparent" bridges with PROFIBUS. They are simply duplicating data to the respective peer.

P.S.: The other point is: If a device would be able to detect tristate distinguished from idle, this wouldn't mean a thing. To send data safely, it's necessary to know, that no other device is expected to send shortly, this can't be seen from the momentary state.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Electronic Elementary Questions -> How I can detect the 3 possible states in a bus RS485?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How many number of nodes can be connected on an RS485 Bus (4)
which one, Can-bus, MOD-bus, I2C, RS232, RS485 (1)
How to detect broken cable in RS485? (1)
how detect bus idle in i2c (4)
how can i detect the positive edge of a signal in verilog? (5)
how can i detect the last edge in a switching digital signal (3)
how to use RS485 bus to interconnect more than 32 points (3)
How to enlarge the SlewRate of a amp as possible as we can? (4)
How many states can FPGA's pins export? (4)
I can not save the states of Cadence IC5033 in Fedore Core 2 (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS