Article TMC4361(A) - How can I detect the current state of the HOME reference pin?

You can read out HOME_REF by using the HOME_ERROR_Flag (STATUS register).

To do so, you only have to do the following:

  1. Set VMAX=0
  2. Set X_HOME unequal to X_ACTUAL
  3. Set HOME_EVENT=0110 and HOME_UNCERTAINTY=0

Now, the TMC4361A expects HOME_REF pin to have a low voltage since it's outside X_HOME. Therefore:

  • in case HOME_REF=0 → HOME_ERROR_F = 0
  • in case HOME_REF=1 → HOME_ERROR_F = 1

Since you know the HOME_REF polarity, you can now switch the home reference registers to the values which fit your application.

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.