piclist 2003\02\17\231913a >
Thread: Pin won't turn off properly
www.piclist.com/techref/ubicom/devices.htm?key=sx
flavicon
face BY : Roman Black email (remove spam text)



Jinx wrote:
>
> > I see no logical reason for the behaviour you are seeing
>
> That makes two of us. This is about as succinctly as I can put it
>
> http://home.clear.net.nz/pages/joecolquitt/SX_pins.html

> There seems to be no apparent consistency. I never know what
> to expect, which tends to cramp one's style. Some days the damn
> thing makes me feel like a complete muppet


And other times you feel like only half a muppet? ;o)

I've only had the quickest look at your link above, but
it does seem like a RMW fault;
* randomness indicates hardware (electrical) fault
* you are using clrb and setb (not movwf)

Try tackling it from an electrical side, change of
decoupling cap to a faster (lower ESR) type or
different size, or better located etc. Have you checked
distance (ie pF) of the driven lines?
Maybe a small series resistor on each line would allow
the SX output to rise faster and be less dependant on
line capacitance loading?

Dare I suggest it, have you considered writing to the
whole port using a shadow register as recommended by
all good muppets? :o)
-Roman

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics
<3E51B0C3.5AEF@ezy.net.au> 7bit

See also: www.piclist.com/techref/ubicom/devices.htm?key=sx
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) Pin won't turn off properly

month overview.

new search...