??? 02/13/05 09:10 Read: times |
#87253 - signals Responding to: ???'s previous message |
Hi, you can't really tell if you have signals by using a voltmeter. The voltmeter will intergrate the signals. As the uART sends the signal it shifts the contents of the xmtr buffer one bit. But in your code, you constantly re-write it, overwritting what was shifted.But you are not writing over it in sync to the UART. Its possible that every so often a one gets through. This effect would be different at different baud rates. Its also possible that you "confuse" the logic in the UART by writing when it isn't ready. I would try changing your code to my suggestions. Let me know how that works out. Until you fix the code we can't tell if there really is anything wrong with your MAX232 wiring.
|
Topic | Author | Date |
what is wrong? | 01/01/70 00:00 | |
Oscilloscope. | 01/01/70 00:00 | |
this is what is wrong | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
signals | 01/01/70 00:00 | |
max232 | 01/01/70 00:00 | |
Review your hardware | 01/01/70 00:00 | |
MAX202 | 01/01/70 00:00 | |
Re: MAX202 | 01/01/70 00:00 | |
change baud rate to 2400/1200 | 01/01/70 00:00 | |
Check this! | 01/01/70 00:00 | |
change caps to 10Uf. | 01/01/70 00:00 | |
maybe 8051 not work | 01/01/70 00:00 | |
capacitor values correct? | 01/01/70 00:00 | |
Re: capacitor values | 01/01/70 00:00 | |
and here![]() | 01/01/70 00:00 |