AS5048A-TS_EK_AB problem

im new to the coding world and ive been bashing my head for three days trying to get the config right and i got everything good i think but pls tell me what i have wrong im using a ams encoder AS5048A-TS_EK_AB and a cobra motor 400kv
odrv0.axis0.motor.config.current_lim = 50
odrv0.axis0.controller.config.vel_limit = 600
odrv0.axis0.motor.config.calibration_current = 55
odrv0.config.brake_resistance = 0.5
odrv0.axis0.motor.config.pole_pairs = 11
odrv0.axis0.motor.config.torque_constant = 8.27
odrv0.axis0.motor.config.motor_type = MOTOR_TYPE_HIGH_CURRENT

#encoder
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.axis0.encoder.config.use_index = True

What do you get from

dump_errors(odrv0)

@towen nothing at all that’s why i came on here and also i have no feed back from my encoder

use_index = false (you have ABS, not index). But otherwise it looks fine.

Try to do a calibration, then see if you have an error. Also, try GPIO 8… some people have had issues with GPIO 4 for some reason.

ya nothing changed it still wont calibrate and there’s no error hmmm i think ill try every other pin see if that works
thank you