I would like to simulate a PIC pin from an 18F/30F or 33F driving a MOSFET. I can get the MOSFET model and the rest of the circuit's parts' models no problem. But, the driving abilities of the PIC itself will be quite important and will likely establish the upper limit on switching freq. All I know from the spec sheet is the pin's absolute max output current (much lower on 33F than 18F/30F). That doesn't tell me anything really. As far as I can tell that's the point where a pin could be damaged, but not indicative of pin performance. So modeling as a 20mA current source with a 5V/0V limit is probably way off base. Rise and fall times will change with loading, which is the critical part I need to see simulated, so a fixed rise and fall time on the pin is not appropriate either. So is there a SPICE model of the output on a PIC? I assume even just an nmos/pmos inverter pair could be a fairly close model if the parameters were right. Google is failing me however, as is searching Microchip. Am I missing something about the need to do this? Surely others have wanted to model this! Thanks, Danny -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist