MA702 Magnetic Encoder

I have the MA702 magnetic encoder and would like to use it with BLDC motor,
I need to know how to connect it to odrive (Wiring) and how to configure it and finally test it.
the output wires from the encoder are:
MOSI
MISO
CS
VCC
GND
SCLK

1 Like

MA702 isn’t currently supported, but you can modify the RazorsEdgeTesting firmware to support it. Connect the SPI lines to the respective connections on ODrive, then CS to one of the GPIO pins (I recommend pin 8). Then you will set the encoder.config.mode to the encoder mode that you define in the firmware and the encoder.config.abs_spi_gpio_pin to the one you picked.