piclist 2003\03\02\183933a >
Thread: f877 UART
www.piclist.com/techref/microchip/devices.htm?key=877
flavicon
face BY : David Duffy email (remove spam text)



> >I don't want the TX pin to go into the hi-Z state when the transmitter
> >is disabled so I leave the tris bit for the TX cleared instead.
> >David...

Alan wrote:
>But having set the UART up to use it, why would you then disable it?
>
>If you have a requirement to disable it, surely that is the time to set the
>RC6 bit to an output, and then in the next instruction disable the UART.
>Otherwise while the UART is in normal operation you have two outputs trying
>to drive the same line, and hence fighting each other.

Transmitting DMX (at 250kps) requires you to insert a timed break/make
into the serial stream at the start of each new packet. Leaving the TX pin
set to output and then turning the transmitter off/on was the quickest way
to achieve this.
David...

___________________________________________
David Duffy        Audio Visual Devices P/L
U8, 9-11 Trade St, Cleveland 4163 Australia
Ph: +61 7 38210362   Fax: +61 7 38210281
New Web: http://www.audiovisualdevices.com.au
___________________________________________

--
http://www.piclist.com hint: To leave the PICList
STOPspampiclist-unsubscribe-requestKILLspamspamspam_OUTmitvma.mit.edu>
<5.2.0.9.2.20030303092237.00a40c90@audiovisualdevices.com.au>

In reply to: <110a01c2df09$db01e770$e7bdf682@sstdwkiwi>
See also: www.piclist.com/techref/microchip/devices.htm?key=877
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) f877 UART

month overview.

new search...