Kyrre Aalerud wrote: > Hi again people... I found a curious problem with my PIC16F88. > I have configured USART to asynch mode and it receives and transmits data as > it should. > I wait for the RCIF on register PIR1 to become 1 before reading a byte from > the RCREG. > > However, upon init I am waiting for a single character, when having RCIF = 0 > to start with. > It appears I need to transmit 3 bytes before the buffer is full and I > actually read a byte? Why should the transmitter have anything to do with the receiver? > > This isn't supposed to happen? Anyone else experienced the RCIF to not be > updated after receiving the first byte? BTW, the 8mS allowance to have a response is NOT long enough for Windows, which sometimes is too busy to post the serial character. Needs to be 1/2sec. --Bob > > > Kyrre > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- Replier: Most attachments rejected -------------- Bob Axtell PIC Hardware & Firmware Dev http://beam.to/baxtell 1-520-219-2363 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body