Encoder_error_abs_spi_com_fail

  • I config encoder AS5047P with SPI, board v3.6, firmware 0.5.1, but it errors
    axis0
    axis: Error(s):
    AXIS_ERROR_ENCODER_FAILED
    motor: no error
    fet_thermistor: no error
    motor_thermistor: no error
    encoder: Error(s):
    ENCODER_ERROR_ABS_SPI_COM_FAIL
    controller: no error
  • I used power 5v and my config
    odrv0.axis0.encoder.config.abs_spi_cs_gpio_pin = 4
    odrv0.axis0.encoder.config.mode = ENCODER_MODE_SPI_ABS_AMS
    odrv0.axis0.encoder.config.cpr = 2**14
    odrv0.save_configuration()
    odrv0.reboot()

I have the exact same question because I’m also experiencing this problem.

This is usually caused by interference or poor wiring. Are you using ferrite rings? and/or shielded cable?