Re: RS-422 bus

From: Michael Weidmann (Michael_dot_Weidmann_at_siemens.com)
Date: 07/21/04


Date: Wed, 21 Jul 2004 15:53:36 +0200

Your problem might be the following:

normally the UART asserts when it's shift register is empty (and not when
the last bit has left the chip).
So maybe driver shuts down your RTS line too fast which can be responsible
for your data corruption. You can analyze that with an oscilloscope.
Maybe you can add an extra character to the end of your PDU which can be
sacrificed.

regards
  Mike

<anonymous@discussions.microsoft.com> wrote in message
news:07be01c46e59$5b5cce50$a501280a@phx.gbl...
> Yes,
>
> it is now working, RTS_CONTROL_TOGGLE did the job, thanks.
> Now I have another problem, I'm sending out realy 12 bytes,
> but the last byte is always replaced throug a 0xFC?
> What's that from?
>
> Werner
>
>
> >-----Original Message-----
> >Werner,
> >
> >if you've got a RS-422 multidrop network, you have 2
> differential lines and
> >you should't have any problems because only the slaves
> are sending on a
> >common line (the master, i.e. your CE device has its own
> line).
> >
> >You describe a RS-485-like situation.
> >Maybe the flag RTS_CONTROL_TOGGLE does the job?
> >
> >regards
> > Mike
> >Michael_dot_Weidmann@siemens.com
> >"Werner" <anonymous@discussions.microsoft.com> wrote in
> message
> >news:058b01c46e2d$cf037330$a501280a@phx.gbl...
> >> I'd like to get a RS-422 bus with multiple slaves
> running.
> >>
> >> How do I need to adust the serial line parameters?
> >>
> >> If I set in the DCB the "DWORD fRtsControl:2"
> >> to RTS_CONTROL_ENABLE then the whole bus of the other
> >> slaves sending is blocked.
> >> if I set it to RTS_CONTROL_DISABLE the the other slaves
> are
> >> working well, but the write output on my machine is not
> on
> >> the line.
> >>
> >> Thanks for any help.
> >>
> >> Werner
> >>
> >
> >
> >.
> >
>



Relevant Pages

  • RE: Formula help
    ... Glad I could help, Mike. ... D1 is not equal to nothing, or then not equal to an empty cell. ... figure out how Excel would trap conditions. ...
    (microsoft.public.excel.misc)
  • Re: External enclosure from SVP doesnt work.
    ... I've read up on the chip and it's labour intensive problems. ... >A google groups on this group and PL3507 should show the old threads, ... Mike Halmarack ...
    (uk.comp.homebuilt)
  • Re: Two ways Microsoft sabotages Linux desktop adoption (warning: long rant follows)
    ... We have the chip running under Linux, ... [QUOTE MODE OFF] ... But will they be truely open SOURCE Mike, as in can we look at the ...
    (Fedora)
  • Re: CPCC video stream
    ... Mike, You seem like a decent guy but could you stop putting down the ... I am a decent guy. ... I merely commented that the streaming video didn't ... really show people and the show looked empty based on the video. ...
    (alt.smokers.pipes)
  • Re: Need a bit of design work done
    ... > This would be a one chip plus relay driver solution. ... only to find that the programmer guy was no longer available. ... easier to not build in a perceived problem then try to defend challenges ... Mike "Rocket J Squirrel" Elliott ...
    (sci.electronics.cad)

Quantcast