[Closed] Issue with MT6835 ABZ output

Hi everyone,

I’m using a MT6835 magnetic encoder. It works flawlessly with SPI, but AB outputs give only either 0V or 3.3V. ABZ setup looks good (I’m using @runger‘s driver):

sensor.setABZResolution(AB_RESOLUTION - 1);
sensor.setABZEnabled(true);
assert(sensor.isABZEnabled());
assert(sensor.getABZResolution() == AB_RESOLUTION - 1);

Any idea?

Quentin

It was just a wiring issue, of course…