A follow up to my earlier post, I ran the soak test on Timer 1 overnight, with the expected result. First, I put this snippet of code in to read the timer twice. do { v0.Bytes.Byte1=TMR1H; v0.Bytes.Byte0=TMR1L; v1.Bytes.Byte1=TMR1H; v1.Bytes.Byte0=TMR1L; if ( (v0.Bytes.Byte1 == v1.Bytes.Byte1) && (v0.Bytes.Byte0 > v1.Bytes.Byte0) ) { putc('v');putc('0');putc('=');put_u16x(v0.Value); putc(' '); putc('v');putc('1');putc('=');put_u16x(v1.Value); put_nl(); } } while (v0.Value != v1.Value); A sample of output is: v0=80FF v1=8000 v0=8CFF v1=8C00 v0=02FF v1=0200 v0=7EFF v1=7E00 v0=0A7F v1=0A40 v0=6CBF v1=6C80 v0=32FF v1=3200 v0=5FFF v1=5F00 v0=73FF v1=7300 v0=8BFF v1=8BC0 The xxFF xx00 are expected (asynchronous overflow from TMR1L into TMR1H) but 0A7F 0A40 and 6CBF 6C80 are not. I'm going to read the timer three times to see if (a) the counter is shot, or (b) the reading of it is, but is this a known problem? T1CKI is running at 10 Hz, there are no long interrupt service routines, the processor is running at 20 MHz. Tia, Bill ~*""*~.,,.~*""*~.,,~*""*~.,,.~*""*~.,,~*""*~.,,.~*""*~.,,.~*""*~., Privileged/Confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and please notify us immediately. Please advise immediately if you or your employer does not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information expressed in this message are not given or endorsed by my firm or employer unless otherwise indicated by an authorised representative independent of this message. Although the we utilise the most up to date virus checking procedures you should carry out your own virus check before opening any attachment. We accept no liability for any loss or damage which may be caused by software viruses. ~*""*~.,,.~*""*~.,,~*""*~.,,.~*""*~.,,~*""*~.,,.~*""*~.,,.~*""*~., Bill Davy, Synectix Limited, 12 King Alfred Way, Cheltenham, GL52 6QP, England Telephone: +44 1242 254411, Fax: +44 1242 256611 Work: mailto:Bill@SynectixLtd.com Home: mailto:Bill@XchelSys.co.uk Web: http://www.synectixltd.com/ -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu