Re: RS-422 bus
From: Michael Weidmann (Michael_dot_Weidmann_at_siemens.com)
Date: 07/21/04
- Next message: Matthew Skelton: "Follow-up [Re: Severe slowdown when incoming serial port data not read]"
- Previous message: Sujith: "build tool"
- In reply to: anonymous_at_discussions.microsoft.com: "Re: RS-422 bus"
- Messages sorted by: [ date ] [ thread ]
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
> >>
> >
> >
> >.
> >
>
- Next message: Matthew Skelton: "Follow-up [Re: Severe slowdown when incoming serial port data not read]"
- Previous message: Sujith: "build tool"
- In reply to: anonymous_at_discussions.microsoft.com: "Re: RS-422 bus"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|