Hey there,
A few things:
- G02 and G05 both have pull-ups, so you may want to switch to using pins G05/G08
- If using pins on the ISOLATED IO (J12) connector, ISO_VDD and ISO_GND need to be externally powered with 5V/GND. If the endstops are powered from the ODrive FEEDBACK IO (J8) 5V/GND, that 5V/GND can be used to power the ISO_VDD/ISO_GND, as long as no other devices are connected to ISOLATED IO, and no other devices are connected to the ODrive FEEDBACK IO other than the encoder (this is to avoid ground loops).
- Have you ran an
roll_drv.save_configuration()after configuring the gpio modes and endstop configuration?