I don't know why timer 0 is not running when PS flag of serial port is set
hi, I don't know why timer 0 is not running when PS flag of serial port is set A reason may be that you forget to clear either TI or RI bit at the end of the serial interrupt. As result, your program comes back to the serial ISR after each command of main() and never goes to timer ISR because serial ISR has higher priority (PS=1) than timer one. Regards, Oleg