
on my controller work only the master branch, the x4 not work, it start at maximum...
Isn't there a solution? maybe a copy-paste from version x4

Yes, I think it should now work ok with the X4 branch.I have been following your endavours and I am not convinced that your controller has a problem with torque from x4 branch, as you had it wired Up incorrectly when you had issues.
I'm beginning to wonder if your controller is the (required) sine wave type fitted with a current sensor. The lack of a current sensor could explain the non functioning watts display and the inactivity timer being triggered after 15mins. It would also mean the motor does not run efficiently as FOC would not be operating.The problem of switching off is the most serious, for the rest you can live with it peacefully. Is this a known problem?
...Ok, in that case there is no need to do the second test.c) the motor start at max even with the white wire disconnected from anything ..
....with 0v on X4 the motor should obviously not be driving. There is no known issue with the 'Torque from X4' branch causing this and the max/min firmware settings seem to have no effect. The only conclusion to draw from this is that there must be some issue with your controller's X4 input, and maybe other problems causing the various odd symptoms.For now I can answer the first questions because they are tests that I have done several times:
1)
a) on x4 0.0011v
b) on white 1,5014v
c) the motor start at max even with the white wire disconnected from anything ..
Why don't you follow my suggestion to use the diagnostics mode?!
Just get a male din for the uart and plug it in. Or just use bare wires.to connect the uart I would have to cut all the cables and then resolder them again,
@andrea_104kgandrea_104kg wrote: ↑Jan 06 2022 4:46pmOkay I'm ignoranteverything I would have expected, even an explosion of the ECU, but not a compilation error
"loadingfile main ex" and thereafter
Error: no such file or directory
Why?
Possibly, but as requested you need to replace the 2.2k (222) resistor and then re-check the X4 voltage before you remove any other components.There remains the problem of understanding which then is the pull up resistor .... I have no idea maybe the "103" one ?
Please don't do this, it's a bit crude and there may be other connections to the X4 pad that you are not seeing. Unfortunately the layout of your pcb is very different to the PSWpower controllers I have, so I can't make comparisons with my units. Wait till you get a 2.2k miniature wire resistor and maybe that will be easier.you can try to short with a drop of tin and put a 2.2k resistor along the output wire ..