----- Original Message ----- From: "Olin Lathrop" To: Sent: Monday, October 16, 2000 5:21 PM Subject: Re: [PIC]: Using 2 CCP: Compare failed if Capture event the same time > > Note that when two CCP modules are used with one in capture mode and the > other in compare mode, that the compare has to be configured as the special > event trigger, which clears timer 1. Oh no! Is this really the case? I really wanted to use 2 CCP modules (one capture one compare) in my next project, but if I have to set them up this way then it won't work! I wanted to have Timer 1 as a free running timer (used for lots of things) and have one CCP module measure an input pulse train and the other generate one. Is this really the case that you *have* to use the special event trigger stuff in this mode (sigh), anyone know why? Oh well back to the drawing board (or back of an envelope!). I guess I may be able to arrange things so that I capture the input then generate the pulse train (i.e. switch the two CCP modules on/off on the fly). Andy -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST