At 07:59 PM 5/8/2014, Phil Keller wrote: >I have been looking at the 16F170x series and I am at a loss as far as >the CLC functionality. It is "Cool" but I am having a tough time coming >up with an application that would take advantage of it. Are there some >real world designs (without giving away trade secrets) that have used >this capability or is this a solution looking for a problem? I haven't used the CLC for this yet, but I have one product in=20 production that uses the on-board S-R latch in the PIC16F677. The=20 'Set' input of the latch is set in software but the 'Reset' pin is=20 driven directly by the on-board comparitor. This comparitor is=20 monitoring the peak current consumed by the load (large DC motor) and=20 this hardware configuration gives me as close to instantaneous=20 shutdown as is possible when an over-current fault occurs. The trip=20 time is significantly faster than would have been possible by using=20 an interrupt / software. This chip (PIC16F6xx) was created before the CLC existed. If I were=20 doing a similar project today, I'd definitely use the CLC for this function= .. This (very) fast hardware shutdown has saved many large FETs from an=20 untimely demise and completely eliminated the field failures caused=20 by 'Oopses' where the motor leads were shorted accidently. dwayne --=20 Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .