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?
Have You Remembered To Turn On The MAX232?
Yes, using max485, Transmit is working, only receive is problem. now checking hardware..
Have you tried it in the scrimulator?
Maybe you should give us a look at the code in you're interrupt service runtime.
Is teh long reset check (LRC) character coming through?
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.
Thanks for your reply. now its working for the same settings.Its a hardware issue. its solved now.