Thanks for your reply saneagle. Will check the contacts.
About the controller, as I mentioned, it's a new one I order from AliExpress and I did connect. About self-learning, I read a lot about this but have no information whatsoever about how to do it.
The connector coming from the motor...