>You are using the P-FET as a power switch, turning +5volts ON and OFF? The >source lead of the FET is tied to +5V and the drain is driving your load? >The gate of the FET is pulled to +5V by a resistor, and you are connecting >the >Gate/resistor point to a PortB pin and trying to turn the FET ON by pulling >that PortB pin LOW? Correct? Correct. >What is the pull-up resistor value? What does the gate voltage drop to when >you >set that bit low? According to my LogicDart, its 0V. The pup is internal on the part, spec'ed to be 400K typical >It is hard to see why the FET wouldn't turn ON even if the gate doesn't get >all >the way to 0.0Volts - 3 volts swing on the gate should do the job. > Yes...and it does turn on if I drive it from PortD, just PortB doesnt seem to like it. I wonder if the internal PUP on the port might be causing leakage of some sort. The board is going to be spun anyway, so I will move the drive over to the other port, just bothers me that it isn't working. _________________________________________________________________ Take off on a romantic weekend or a family adventure to these great U.S. locations. http://special.msn.com/local/hotdestinations.armx -- 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