-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
interface between the modules #11
Comments
The only disadvantage is that a single broken or crashing node will reset everything downstream. If you have pins, you could have that reset line open collector and the reset segment between two nodes be bidirectional. Then you could access the chain from both ends and be resistant to some types of failures. |
@jordens I have 4 free pins. All modules simply propagate them from left to right for future applications. So I can simply use them to feed any signal to the end of the chain and back by adding the end-cap module. |
In your description is seemed that the only signal that breaks the left-right symmetry is the reset (it only goes from left (input) to right (output) and is intercepted at each node). I was wondering whether that was necessary. |
That's good idea - you can start configuring devices from either side. |
Yes it's only a way to debug at most a single failure. |
The more I think about the interface between modules, the less I'm convinced that LVCMOS signalling would do the job. Sooner or later somebody will try to hot-plug the modules and in this way will damage them because the connectors I use do not have any form of power sequencing.
RS485 transceivers are not expensive - cost of SNx5176B is 0.3$ at high quantity.
So the idea is to modify the device discovery procedure:
By default, module is in reset state and the output is Hi-Z
The procedure is simple:
The method proposed has several advantages:
The text was updated successfully, but these errors were encountered: