Roibert , 12-16-2021, 01:57 AM
Hi.
In the datasheet of your encoder, look at VoH min (min voltage out ) of the Out Pin usend for communication; then compare with the ViH min of your uController.
Same with input pin of encoder, and out pin of uC.
If they fit, you dont need a interface; if they dont fit, you need a level translator (google it).
Roberto