Something wrong about Use SPI AS5047P and ERROR_MOTOR_DISARMED

2 3 %E6%8D%95%E8%8E%B71
When my encoder-AS5047P could be read via SPI,but otherthing happen.I don’t kown how to slave it .Can somebody tell me the true way?
Thank you !