| ??? 11/21/04 01:29 Read: times |
#81595 - Handshaking and More !! Responding to: ???'s previous message |
Dear:
I think that implement handshaking will be hard for you, if you have not experience with it. But taking a quick look at your 8051 soft is very very easy to see that: YOU NEED A DELAY BETWEEN DATA SENT !!!!!!!!!!!!!!!!! try this please: DATA_OUT: lcall delay MOV SBUF,R1 JNB TI,$ CLR TI CLR TR1 SETB TR1 lcall delay MOV SBUF,R2 JNB TI,$ CLR TI CLR TR1 SETB TR1 lcall delay MOV SBUF,R3 JNB TI,$ CLR TI CLR TR1 SETB TR1 lcall delay MOV SBUF,R5 JNB TI,$ CLR TI CLR TR1 SETB TR1 lcall delay MOV SBUF,R6 JNB TI,$ CLR TI CLR TR1 SETB TR1 lcall delay lcall delay JMP DATA_OUT END Then make the routine delay with some milliseconds and VOILA!!. After you get it works fine ...play with the delays to optimize spped. Good luck. |
| Topic | Author | Date |
| Need help... MCU and PC communication | 01/01/70 00:00 | |
| MCU & PC communication | 01/01/70 00:00 | |
| I have the same problem | 01/01/70 00:00 | |
| Need more help from this | 01/01/70 00:00 | |
| I use ascii | 01/01/70 00:00 | |
| Reply to Jose' | 01/01/70 00:00 | |
| Fix the problem | 01/01/70 00:00 | |
| To my helpers | 01/01/70 00:00 | |
| Handshaking... | 01/01/70 00:00 | |
| RETI | 01/01/70 00:00 | |
| ascii ? | 01/01/70 00:00 | |
| Handshaking and More !! | 01/01/70 00:00 | |
| Delays | 01/01/70 00:00 | |
| Thanks to all my helpers, problem solved | 01/01/70 00:00 | |
| Delays | 01/01/70 00:00 | |
| Delays | 01/01/70 00:00 | |
| UART, mode 3 | 01/01/70 00:00 | |
| The 9th bit is the parity for VB | 01/01/70 00:00 | |
| send data from mcu to pc | 01/01/70 00:00 | |
| Yes, but the 9th bit is the parity in VB | 01/01/70 00:00 | |
| 9th bit lost by Windoze? | 01/01/70 00:00 | |
| 9th bit is supported | 01/01/70 00:00 | |
32-bit MS Windows | 01/01/70 00:00 |



