WH Tan wrote: > When a byte of data is received, what is the time until the next byte > of data come in again? I am using a 9600bps buadrate. I asume that > for a bit of data transfer, it take 1/9600 sec. So for receive a byte > of data + start/stop bits, it is 10/9600 sec. Yes. > Then what is the instruction cycle before next byte of data received. > I asume an instruction cycle take 4 * 1/16MHz (I am using 16MHz for > Fosc). Yes. The instruction rate is 4MHz and the byte rate is 960Hz. You therefore have 4MHz / 960Hz = 4167 instructions per byte. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- 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