After many setbacks both due to the lack of accurate information and for work reasons that prevent me from dedicating myself to the motorcycle as I would like (almost 7x24 ha ha ha) everything mechanical is now working perfectly, but the reverse stopped working at some point. Then one day it was working fine again (we assumed it was a loose connector after lowering and raising the engine several times and didn't pay any more attention to it), we finished some other details and when we were about to put everything back together (covers and aesthetic parts), it stopped working again, and don't like to work from that moment.
The fuses and cables have been checked to the extent that we have managed to understand the electrical diagram of the motorcycle (I have the electrical wiring diagram as well as the workshop manual) but we have not been able to find the problem, and unfortunately in my country there is no Vespa-Piaggio dealer that could have a PADS to see if it provides more information than what the Diagnostic Tool that I have (OBDSTAR iScan) offers me, although I still attach here the image of the errors it returns.
To put into context, the reverse system uses a total of 3 relays, two under the seat on the side, large, similar to those used in the X9 for starting, and a small one under the instrument panel. In theory, if I understand the electrical diagram correctly, when activating the reverse (switch on the dashboard) the ECU sends a positive signal through a blue wire to one of the relays and at the same time to a buzzer to give an acoustic signal that it is in reverse and allow pass of + to the next relay (thick red wire), then pressing the start button activates the electric reverse motor and the motorcycle moves backwards. At some point (and this is one of my doubts since I have nowhere to see it, if someone with a MP3 with reverse can confirm the moment be very appreciated) a solenoid is activated that disengages the transmission and allows the electric motor to move the wheel. But when I activate the reverse switch nothing is happening (we check the switch and it switch between 2 cables (Light Blue and Grey/Black) a negative signal correctly), the buzzer is not activated or anything and if I measure the signal on the blue cable, there is nothing
We tried feeding the blue wire directly and the buzzer activates and the relay but not the other components, we tried feeding the relays directly and nothing, we tested the solenoid by hand and it activates without problems (inclusive at the relay side so the test is better), we tested the motor and it also activates without problems, but the total assembly does not work.
It is as if the ECU assumes that there is a problem and that is why it does not allow the other signals to pass, a safety stop or something like that (even in the electrical diagram it is seen that the solenoid receives or sends a signal to the tip over sensor, but the motorcycle turn on and go).
I attach the image of the scanner, the errors are P0812 and P1314, but they talk about a potentiometer that I cannot find or see anywhere
I can share the electrical diagram if jimc helps me place it on the wiki, since the pdf is large.
Right now I'm out of ideas and I need fresh minds to see if I can get out of this quagmire.

Any help is welcome, regards