How to deal with the following pins, if they are not used in the application circuit?
REFL, REFR
ENCA, ENCB, ENCN
OV
AIN
Can they be left unconnectd or should they be connected to a potential?
TMC5240
Recommended for New Designs
The TMC5240 is a smart high-performance stepper motor controller and driver IC with serial communication interfaces (SPI, UART) and extensive diagnosis...
Datasheet
TMC5240 on Analog.com
How to deal with the following pins, if they are not used in the application circuit?
REFL, REFR
ENCA, ENCB, ENCN
OV
AIN
Can they be left unconnectd or should they be connected to a potential?