>> I am trying to use timer2 on a 16F877 to create an interrupt roughly every 50mS. To this end I have enabled the software interrupt in CCP2CON to software trigger (0x0A), loaded CCPR2L with 'd' 30. T2CON I have postscale *16, PIE2 is enabled as is PIE in INTCON (I'm using TMR1 elsewhere). << That's not how timer 2 is used to create a periodic interrupt. RTFM, section 7.0 "Timer 2 module" on pages 55 and 56 of "PIC 16F87x Data Sheet" (DS3029C). In short, you set up T2CON and PR2, which periodically sets the TMR2IF bit. As an example, see the HAL_INTR.ASPIC module at http://www.embedinc.com/pic/hal.htm. I'll be glad to help with specific questions once you've done your homework. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu