“Illegal Hall State” Error on M0 Despite Valid Hall Signals

Hi Diego,

When the motor is operational (whether during calibration or closed loop control), the phases will be switching, which puts out some electromagnetic interferance. The ODrive v3.6 has some major signal integrity issues, which can cause issues with hall sensors. We recommend soldering 47nF capacitors to the board as so: Encoder error ERROR_ILLEGAL_HALL_STATE - #7 by madcowswe, and you can also use ferrite rings on the motor phases to further reduce EMI.