Open kevintom1995 opened 2 months ago
The code is correct for searching the home switch. Is the switch connected to the right input? For reference search mode 7, it needs to be connected to the HOME input. The HOME input is pin 3 of the REF / HOME connector (see page 15 in the hardware manual). A home switch can be connected between HOME and GND.
Actually, i got the issue resolved. I have used an optical switch which has a forward voltage of 1.7V and 20mA rated current. Since we are connecting it to the 5V output of the trinamic module, the excess voltage was converted into current and damages the switch. So adding a resistor in between the module and switch has solved the issue. Thanks for responding!
The TMCM-3212 module is not detecting the home sensor when doing the reference search. I used the reference search code from the TMCM3110 module. Is this the correct code to do the reference search for this module? Reference #53