ras5V tolerant GPIO pins

5V tolerant GPIO pins
is this okay to connect with raspberry pi on need voltage divider resistors

From the Docs:

ODrive v3.3 and onward have 5V tolerant GPIO pins.

Both the RPi and the STM are running at 3.3V so you should be OK