| ??? 10/13/04 11:05 Read: times |
#79256 - A Problem at Receiver End Responding to: ???'s previous message |
Hello Everybody,
For simulation I have connected two 8051s (TXD -> RXD)and receiving a 3 bytes of data. But at the receiver the first byte is duplicated. i.e. If I send XYZ the receiver gets XXYZ. (I am using ISIS 6 professional for it) Both microcontrollers have same frequencies and baud rate. the code at receiver is
unsigned char data receivedData[3] = {'*','*','*'};
unsigned int data rIndex = 0;
void getData(void) interrupt 4 using 1
{
if (RI)
{
receivedData[rIndex] = SBUF;
RI = 0;
rIndex++;
if ( rIndex == 3 ) rIndex = 0;
}
}
But if I poll there is NO problem. Please help me solve this... |
| Topic | Author | Date |
| 8051 UART and Microsoft Serial Mouse | 01/01/70 00:00 | |
| RE: 8051 UART and Microsoft Serial Mouse | 01/01/70 00:00 | |
| RE: 8051 UART and Microsoft Serial Mouse | 01/01/70 00:00 | |
| The link | 01/01/70 00:00 | |
| RE: The link | 01/01/70 00:00 | |
| RE: 8051 UART and Microsoft Serial Mouse | 01/01/70 00:00 | |
| RE: Sorry | 01/01/70 00:00 | |
| RE: 8051 UART and Microsoft Serial Mouse | 01/01/70 00:00 | |
| RE: 8051 UART and Microsoft Serial Mouse | 01/01/70 00:00 | |
| BTW: Serial Mouse - not PS/2 | 01/01/70 00:00 | |
| RE: BTW: Serial Mouse - not PS/2 | 01/01/70 00:00 | |
| RE: BTW: Serial Mouse - not PS/2 | 01/01/70 00:00 | |
| RE: 8051 UART and Microsoft Serial Mouse | 01/01/70 00:00 | |
| please verify the bits sent | 01/01/70 00:00 | |
| RE: please verify the bits sent | 01/01/70 00:00 | |
A Problem at Receiver End | 01/01/70 00:00 |



