I’m having some trouble with the encoder index search. I pre-calibrated the axis and saved the configuration. After rebooting the ODrive axis.encoder.index_found is False. However, when I request AXIS_STATE_ENCODER_INDEX_SEARCH, axis.encoder.index_found immediately changes to True without moving the motor. I checked the signal on the oscilloscope, and the encoder is working properly. If I rotate the motor by hand the index is located properly. What could be causing this?
I am using a US Digital EM2.
Checked the following threads:
- 
Encoder index not found
- I am using the factory supplied shielded cable, verified clean signal with scope in idle state
 
 - 
Encoder index found always gets updated
- My encoder goes high on the index pulse once per revolution
 
 - 
Encoder index triggered found when calibrating motor
- Upon closer inspection, this seems to be the same issue that I am experiencing. See scope screenshots below. I did not see a resolution to this issue in the thread.
 
 

AXIS_STATE_IDLE

AXIS_STATE_CLOSED_LOOP_CONTROL

