Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/25/05 07:37
Read: times


 
#101506 - SITUATION COMMUNICATING P87LPC764
Dear Friends

I am facing a situation to communicate a P87LPC764 AND P89C52X2.

i have set the SFR parametres for 9600 baud and communication mode 1.

I couldn't establish communication between the micros.

MASTER CODE PARAMETRES: P89C52X2

void Set_serial_timer_parameters(void)
{
TMOD = 0x22;
TR0 = 1;
ET0 = 1;
TR1 = 1;
ET1 = 0;
SCON = 0x50;
PCON = 0x80;
TH1 = 253;
ES = 0;
EA = 1;
}

SLAVE CODE PARAMETRES: P87LPC764

void Set_timer_parameters(void)
{

TMOD = 0x22;
TR0 = 1;
ET0 = 1;

ES = 1;
TR1 = 1;
SCON = 0x50; // UART mode1 & Receiver
PCON = 0x80; // for 9600 speed

TH1 = 250;
EA = 1;

}

Please check my settings and give suggestions to tackle the situation.

Regards
Rajib




List of 11 messages in thread
TopicAuthorDate
SITUATION COMMUNICATING P87LPC764            01/01/70 00:00      
   Try with PC            01/01/70 00:00      
   no way can nayone help you when you do n            01/01/70 00:00      
      thanks ERIK            01/01/70 00:00      
         why 87LPC?            01/01/70 00:00      
            I agree to you            01/01/70 00:00      
               which observation do you base this on?            01/01/70 00:00      
                  REPLY            01/01/70 00:00      
                     I doubt it is the LPC            01/01/70 00:00      
                        Acqura            01/01/70 00:00      
                     it is still not the LPC            01/01/70 00:00      

Back to Subject List