casainho said:Thanks and I am lost...
For your note 2., high assist level factor will multiply the human power (torque sensor value * cadence * a constant). Torque sensor value is not exactly 0 when you are not doing force on the pedals..., so, cadence plays an important role here, once cadence equal to 0, the motor stops even if torque sensor value is not zero... but your TSDZ2 motor is a coast version and so this kind of interactions may work differently from regular TSDZ2...
Do you have suggestions for next steps??
Casainho, what about repeating the test only using walk assit mode using different torque configurations.If everything works fine, this means if there is an issue in the other part of the software that takes input from the torque and and pas sensors and controls the motor. I may assume that this is common for the two firmware versions, and if it works for you on the road, it will work also with the coaster brake version in real conditions.
If this is the case, you can can release the motor firmware adding a new configuration line for the negative torque that will be required to stop the motor using coaster brake. In case the value is 0, this may mean the feature is disabled.