Lin bus add a slave to a configured lin cluster

202 views Asked by At

Hello I'm working on lin bus and i wanted to know if is it possible to autoaddress a slave that we add on a cluster already configured.

imagine a cluster with master and several slaves working (NAD assigned and LDF created) and we add a new slave is it possible to autoaddress or is there any probleme caused by the initial NAD.

Is there any way to detect a new slave added to a configured cluster ?

Thanks !

1

There are 1 answers

1
Alexey Esaulenko On

If you can control both master and slaves, you can implement simple scanning procedure. For example, master tries to scan all possible addresses. Configured (old) slaves answers to this requests. New unconfigured slave assigns itself free address (which have no answer from any other slave).

Of course, when user will add new slaves, he should check, that all "old" slaves works correctly. Otherwise "new" slave can take a place of temporary disconnected "old" slave.