This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uart1 in 89c669

Hi,

i'm using P89c669, but uart 1 is not working in my board. Is my settings correct? settings = 9600,8,n,1.

IEN1 = 0X01; S1CON = 0X50; S1STAT = 0X20; BRGCON = 0; BRGR1 = 0X07; BRGR0 = 0X70; BRGCON = 1;

void serialOneInterrupt(void ) interrupt 10
{ .....code.....
}

any other settings need to be add?

0