How to Connect ODrive 3.6 with 2x AS5047P SPI Encoder

Hi, May I ask how to connect 2 as5047p with SPI for ODrive 3.6? I’ve read this, but I’m still confused. Apparently, there is only one MOSI and MISO pins. To which pins should I connect the 2nd as5047p MOSI and MISO? To a GPIO pin?

Hi - the MOSI, MISO, and SCK pins are all connected together, but they will both need different CS pins, which you’s configure with odrv0.axis0.encoder.config.abs_spi_cs_gpio_pin and odrv0.axis1.encoder.config.abs_spi_cs_gpio_pin.

1 Like

(post deleted by author)

Got it, thx for your quick response