hi, i have been working on a parallel eeprom programmer that connects to my pc via RS232 my setup: PC --> MAX3232 --> PIC16f877 --> EEPROM testing setup: whenever the pic receives a byte, it triggers an interrupt, which outputs the byte on porta/porte, and RCSTA on portb. I need 9-bit transmission for this to work. however, i cant get it to work properly. this is what happens. PIC set to 9-bit reception: PC transmits byte with 9th bit low - PIC detects framing error, but data is correct PC transmits byte with 9th bit high - no framing error, data correct PC transmits byte with no 9th bit - no framing error, data correct PIC set to 8 bit reception: PC transmits byte with 9th bit high - no framing error, data correct PC transmits byte with 9th bit low - appears as if receive cycle never completes, and interrupt is not triggered. all data bits are at 1, however, FERR bit is low. PC transmits byte with no 9th bit - no framing error, data correct (AT LAST, something working right) here are the src files used(one is c++(linux), the other MPASM): Set up for 8-bit reception(9-bit is set by setting bit 6 of rcsta): http://www.nabble.com/file/p12329072/eeprom.asm eeprom.asm (interrupt routine is right at the bottom) set up for 8-bit transmission: http://www.nabble.com/file/p12329072/eeprom.cxx eeprom.cxx I have the system set up, with the PIC showing the RCREG data on porta 0:5/porte 0:1), and showing the RCSTA register on portb. -- View this message in context: http://www.nabble.com/Help-with-9-bit-transmission-tf4328985.html#a12329072 Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist