• Reading SBUF
    unsigned char GetSerial =0; SCON = 0x50; /* SCON: mode 1, 8-bit UART, enable rcvr */ TMOD = 0x20; /* TMOD: timer 1, mode 2, 8-bit reload */ TH1 = 0xfd; /* TH1: reload value for 9600 baud */ TR1...
  • can't read sbuf on debug
    Hi, how can I read SBUF while debugging? R_serial () interrupt 4 { if(RI) { serialR = SBUF; RI=0; CompDataRx[count]=serialR; count++; } else TI = 0; } when I put any value in SBUF...
  • reading from sbuf
    This is for all of us who were facing problem of reading from sbuf.....keil does not show the value getting transferred from sbuf to variable but the code works when implemented on hardware....We were...
  • problem in reading SBUF
    my first Q is, while simulating in KEIL does it not able to read the SBUF. when i am simulating the program and i make RI high then it goes to the intrupet and then put SBUF= any value like SBUF='s...
  • MCB900 reading SBUF problem
    Hi. I am having a little problem. I have my MCB900 evaluation board connected to a gsm modem via serial cable. I have wrote a simple program to send out the "AT" command to the modem from the eval...