raivo
Electrical
- Nov 8, 2002
- 22
I have three microcontroller boards connected between two devices. Data flows through these boards from one device to another. Some calculations and transformations are done with data flow.
I do not go to details as this probably is not important. For testing i used LPT port of PC 1 as sending device and LPT port of PC2 as receiving device. (Boards between them.)
All works but with soft errors. Error rate depends greatly on placing ground wires and sometimes i can send more than 200Mb from one PC to another with no errors at all but when changing placement of boards and resoldering some power or ground wires to other points in board, error rate may increase to tens errors for one megabyte. Communication speed is 30 kilobytes to 300 kilobytes per secound and it seems that error rate does not depend on communication speed.
For constant amount of time there will be aproximately same amount of errors if ground and power line placement is not changed.
I am well familir with digital electronics where only ones and nuls exist but here i do not grasp the rules. Can anyone expalin me how ground and power lines must be connected to get multichip / multiboard system to run most reliably? What other things i have to consider? I currently use only trial and error for best placement and if i once get it working it works well as long as i do not change something in boards.
I suspect that there are more professional ways to solve such problems. Any tips and ideas are welcome!