hello, im working on a project that reads serial data from RFID scanner...... Now the problem is the serial data is unable to be fetched..... im using at89s52 microcontroller... the instruction
MOV A,SBUF
doesnt copy the sbuf data to the accumulator for further processing... the RI pin goes high on recieving data n its been cleared through programming..... the only problem is the data is not been copied to accumulator.....
plz help.... thnku.....
Some Basic questions for you to understand your code:
1. RFID baudrate is set to 9600 ?? 2. Are you using polling or interrupt method to receive buffer??
copy the serial communication module code, so that solution accuracy will be high.
3) are you even checking RI 4) what happes if you do mov a,#77, mov a,SBUF