Re: Knowledge in DUP-line protocol?



On Nov 23, 5:51 pm, JosephKK <joseph_barr...@xxxxxxxxxxxxx> wrote:
Run.PDP n...@xxxxxxxxxxxxxxx posted to sci.electronics.design:



JosephKK wrote:
Run.PDP n...@xxxxxxxxxxxxxxx posted to sci.electronics.design:

<SNIP>



I do not understand your difficulty. Any device on the bus
can change
any 0 to a 1. All devices on the bus compare what is on the
bus to when they are trying to transmit, and will thus know.

xmitr 1
---___-------___-------_______---___-------___-------
xmitr 2
---------------------------------_______---_______---
bus
---___-------___-------_______---_______---_______---

Thus xmtr 1 can see that it is being interfered with. Now
where are these request bits placed in the transmitted block?

This is true for a generic "Wired or" bus structure.

DUP-lineis much more than just two pull-upped wires and some
transistors.

Amongst other things, there is a "Bus-master" (so called
master- generator or channel-generator) that is continuously
controlling the bus by sending frames, each consisting of a
start-block and N bits of information. By default, these bits
are 0, but any device can influence on the channel-generator
for any bit, so that the transmission of a 0 is changed "on
the fly" to a transmission of a 1.

My questions are addressed to anybody that has the explicit
knowledge in this bus technology, its timing spec etc.

Best regards /Göran

Then why didn't you read what i posted. I posted how to do part
of
the solution that you said you were missing. I also directed
you to where to look for for the rest of the solution.

Sorry for not explicitely pointing to the problem of your answer.
The logic diagram you have attached is not correct. The bus is
strictly wired-Or, active low. (Open collector). Thus, The
periods you have indicated late in the diagram, where T1 would
like to send High (the timing pulse part for the first 30% of
each bit-time), while T2 keeps low would on a real bus give low
signal, ie the correct clock-pulse on the line is taken out by
the missbehaving T2 transmitter. (This should be obvious by my
former writing). The T2 transmitter, if it wants to make one
pulse active will have NOT to interfere with the timing of the
master generator (for the next bit). - There is a window within
one bit-time when a transmitter is allowed to pull low.

The question I still would like to have knowledgeable answers to
is regarding the timing in this interaction between "Transmitter
1" (master) and transmitter 2 (ie when may a transmitter start
pulling low, when must it start pulling low (first allowed and
last allowed time), and when may it release and when must it
release...

I have described this in detail in my earlier texts.

I can also figure out how to experiment with one device, but that
will still not answer to the design specifications. My hope was
that some- one out there would happen to have read the true
spec's some time!

Best regards /Göran

All the information is there. If you cannot see it perhaps the
task
is too difficult for you. It has to start pulling low by 0.3
clocks
and hold it until 0.7 clocks, as per your description. Clock
recovery by delay locked loop (edge sensing). Program or circuitry
as required. Finding the right bit, byte, and frame are referred
back to the student.

Thanks for this fine answer, that is of no use to me. As you have
not revealed any previous knowledge in the protocol but just seems
to be adding my questions together, I can't see any contribution
besides your insolence.

You claims the sender has to start pulling low by 0.3 clock, I 'd
say it is allowable to pull down from 0.0 clock up until x, where
0.x < x < 0.7 clocktimes. A requirement of action at an exact point
in time would be most unstable for a distributed system.

You claims the sender will have to keep low until 0,7 clocks, I'd
say the opposite, as the channel/master-generator will perform the
task of prolonging the pull-down time to the right timing and
length, once it has realized someone on the bus wants the actual bit
to be set (ie low).

No, the bus master is responsible maintaining the low going edge. And
all devices for sensing the bus at 0.5 +/- 0.05 clocks. (Got to stay
away from the edges)

That way, a sender will get acknowledge of
proper transmission within the same bit that it initiates - which
would be truly impossible with the scheme you suggest.

It gets verification by monitoring the bus while it transmits.

In theory, a open collector driver could measure the current that is
"shorted" while the transistor is active, ie pulling low. In reality,
that is not how it is done in these devices. Checking the level being
"low" while the transistor is activated doesn't give any information
besides that the transistor is not broken.

Such a circuit would be far to expensive to implement in each slave
device on the bus.



And at the
same time, the bus is more robust, as timing is performed at one
point, not at every connected sender.

My guesswork is that the sender should be pulling low like 0.15 to
0.45 clocktime, both +/- 0.1 clocktime in order to safely have the
bus pulled at 0.3, and to be safe of not disturbing the important
timing performed by the master. An ack. of fulfilled active
transmission can be seen by checking the state of the bus at 0.6 +/-
0.05 clock. Please note that this is an assumption, that has not
been confirmed by proper knowledge.

If you are admitting your assumptions but not the logical consequences
thereof.



One has to realize that esp. the distributed devices might be timed
using a simple capacitor timer, and they might be placed in "outdoor
temperature", thus timing is everything but constant. Despite this,
the bus has been around for like 20 years, and it has a reputation
of being indeed very stable. This can only be achieved with a
protocol that is robust and forgiving!

Regards /Göran

I offered to help you see the circuitry for what you described, but
you are not listening.

Maybe you can post a link to the protocol definition.

If such a one would have been available, this entire question would
never have occured.

From other sources, I have received information that my assumptions
are wrong. In reality, senders will have to pull low lower than the
2,2 V sent by a channel generator. (Typical is a 0,3 V collector-
emitter voltage of a bipolar transistor, in series with a 27 ohm
resistor.) This "extra low" voltage is sensed by the channel
generator.

The important timing window for this pulling low is quite early in
each bit, typically 0.05... 0.2 bit-time.

Some-one who once implemented this in a 68hc11, using a flank-detector
to set off an interrupt, pushing some registers onto the stack, and
thereafter setting the actual bit was to late! They had to rethink,
add a discrete logic flip-flop, loading this "one bit in advance" and
sending its value out by hardware when the flank-detector is
activated.

The length of "pulling extra low" is thought of being not critical, as
long as minimum time is given, and not exceeding like 70%.

By the way, I was told the important times is 25% and 75%, not what I
guessed before...

I can now go int measurements and testing. I might write a line on the
results one day...
.



Relevant Pages

  • Re: Knowledge in DUP-line protocol?
    ... pulse, Low for 0,7 s, High for 0,3 s. ... the bus. ... transmission of each block of bits, headed by a 8 ms starter, the ... If, for some reason, one channel is to be transmitted as a 1, ...
    (sci.electronics.design)
  • Re: Knowledge in DUP-line protocol?
    ... StartOfTransmission pulse =8 ms of Low, followed by N (32, 64, ... short the bus. ... transmission of each block of bits, headed by a 8 ms starter, the ... If, for some reason, one channel is to be transmitted as a 1 ...
    (sci.electronics.design)
  • Re: Knowledge in DUP-line protocol?
    ... bus to when they are trying to transmit, ... so that the transmission of a 0 is changed "on ... its timing spec etc. ... You claims the sender has to start pulling low by 0.3 clock, ...
    (sci.electronics.design)
  • Ever hack (nGene,nOtto) a man to pieces and start eating it?
    ... TORONTO - A chilling recording of a radio transmission between RCMP officers responding to the killing of a man who was stabbed and dismembered aboard a Greyhound bus in Manitoba was leaked on the Internet and received widespread attention Saturday. ... On the recording, one officer describes the suspect - who police code-named Badger-moving around the bus, which was barricaded by the driver and a passenger. ... Police laid a charge of second-degree murder this week against a suspect, Vince Weiguang Li, 40, of Edmonton. ...
    (rec.sport.pro-wrestling)
  • Re: Knowledge in DUP-line protocol?
    ... All devices on the bus compare what is on ... of a 0 is changed "on the fly" to a transmission of a 1. ... its timing spec etc. ... transmitter start pulling low, when must it start pulling low ...
    (sci.electronics.design)

Loading