Hi, I was just doing the same things as you in the past 1 week. USART seem not to work as I confirm that with ICD2. Guess what I was did wrongly! The TRISC for Rx & Tx (RC7 & RC6) both need to be set. Since you're not mention about TRISC setting, have you set those bit? WH Tan -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Nick Masluk Sent: 09 January 2004 08:45 To: PICLIST@MITVMA.MIT.EDU Subject: [PIC:] Hello, I'm attempting to run interrupts when USART data is received on a 16F627 (all other interrupts masked), but for some reason the interrupt does not seem to want to run. Here is a briefing of the code as it is, I haven't cough what is wrong with it, but I am obviously overlooking something if it isn't working: org 0 goto init ;skip over interrupt routine to initialization org 4 ;start of interrupt routine (interrupt code, which never runs) retfie init (setup port A/B I/O, set baud rate to 2400bps, enable async USART transmit, initialize LCD) bsf PIE1, RCIE ;unmask USART receive interrupt movlw 0x0C0 movwf INTCON ;enable interrupts, unmask peripheral interrupts movlw 0x090 movwf RCSTA ;enable continuous asynchronous serial receive (continue to run main code, reading keyboard and transmitting on USART) I've tried enabling USART receive before enabling the interrupts and it still does not work. If I actually poll the RCIF flag, and then read the data in RCREG it works fine, but for some reason the interrupt is never triggered. Any Ideas? Thanks, --Nick __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics