The BLTouch normally does a self test only when power is applied. If it was performing a self-test when a Duet Maestro was software reset, that probably means that the Maestro was outputting a pulse of some sort on the servo control pin during reset.
As the parameters for writing to the data registers aren’t obvious I post my code her for one who is also struggling with that.
As well it was necessary to calculate the decimal values for some register data.
The code enables PWM for both banks and writes values for the pins 0-3.
Sx150 9 and LEDs are wired in sink current mode. Test pins 0-3 sx1509.g