| ??? 08/20/00 15:59 Read: times |
#4570 - Simulator trouble |
Hi all,
I have a problem. I needed two UARTs in one controller. So I wrote a little code for it. The part that transmits the data works fine. The part that recieves the data works like this: An interrupt is generated whenever the line goes low(i.e at the start bit). The external interrupt is then disabled and a timer is started from the ISR to generate timing. When 10 bits have been successfully recieved, the timer is shut down. PROBLEM: I simulated this on three different compilers. They all worked fine. But when I burn it in an 89C51 and check hardware I always get the correct character appended with a space. IF 'a' is to be recieved on the line, the code recieves 'a '.Note the space. EVERYTIME. Any help will be most appreciated. |
| Topic | Author | Date |
| Simulator trouble | 01/01/70 00:00 | |
| RE: Simulator trouble | 01/01/70 00:00 | |
| RE: Simulator trouble | 01/01/70 00:00 | |
| RE: Simulator trouble | 01/01/70 00:00 | |
| RE: Simulator trouble | 01/01/70 00:00 | |
| RE: Simulator trouble | 01/01/70 00:00 | |
RE: Simulator trouble | 01/01/70 00:00 |



