FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Wed Mar 02, 2011 2:34 pm |
|
|
My doubts regarding RS485 pull-up/down resistors and bus idle level aren't cleared up. It may be the case, that the 8051 interface has the resistors and is working correctly for this reason. But these points can be checked with measurements one-by-one.
You can also start at the slave side, visualizing it's state, e.g. with LEDs. Is the slave receiving something, is it adressed, is it receiving a correct CRC, ist it sending replies?
If the slave is not sending, the master shouldn't receive anything. If it does though, what't the A and B bus level, what's the level of the TTL RX, TX and Enable lines?
All these measurements can be best performed with an oscilloscope. But even if you don't have it, you can get important information with a multimeter. |
|