Reference Switch Input Usage in TMC5160

Demonstrating the Usage of reference switch input in TMC5160 IC, with a simple IR binary sensor attached to a TMC5160 Evaluation board, which is configured by an Arduino Mega micro-controller. This will eliminate the use of an intelligent sensor, with SPI or I2C interface, where the host controller must communicate with the sensor and control the motor.