How Can that Be ??? The serial ISR is called , but the RI is zero .... As far as I know , This bit is set by hardware and cleared by software.... Anyone have an idea ? Guy
The ISR will also be called if TI is set. Stefan
serial ISR is called due to 2 reasons: 1) if SBUF receives a byte (i.e. RI == 1) 2) if u transmit a byte (i.e. TI == 1) in ur case, microcontoller might have received a byte (i.e TI ==1)
in your case, microcontoller might have received a byte (i.e TI ==1) Hardly, receiveing a byte would set RI Erik