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?

Parents
  • At the risk of feeding a troll ...

    Prey tell, is a scrimulator some special type of simulator?

    As far as I am aware, when talking about communication, an LRC normally refers to a Longitudinal Redundancy Check and not a long reset check.

    Besides, the OP has made no reference to such a character or whether he is using anything like it.

Reply
  • At the risk of feeding a troll ...

    Prey tell, is a scrimulator some special type of simulator?

    As far as I am aware, when talking about communication, an LRC normally refers to a Longitudinal Redundancy Check and not a long reset check.

    Besides, the OP has made no reference to such a character or whether he is using anything like it.

Children
No data