I am trying to interface flash to 8051, when i try to read and transmit 2 bytes to PC, it displays only one byte to the terminal have used this same code
Fn1(){ // read Operations ... ce = 0; // ... SBUF = read1; while(TI){ } TI = 0; ce = 1; } Fn2(){ // read operations... ce = 0; // ... SBUF = read2; while(TI){ } TI = 0; ce = 1; }
Kindly help.
Thanks ,