> > Current sensing is my new highest priority. > I want to add current sensing, and program the PIC to never allow current > anywhere near the maximum (stall) current. I personally wouldn't be doing current limiting via the micro, it will add latency and a level of unreliability, especially in the debug stage. Make the current limiter work an in the analog domain, and provide a signal that the PIC can read to see if it's activated. BTW you need a totem pole (or push pull) driver for a MOSFET because you need to be able to turn it on and off as quickly as possible, and that means having a strong current source and sink capability. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist