All the layers (STM8 Bike Controller, ESP32 board and Android App) should be updated.
As usual all the files could be downloaded from https://github.com/TSDZ2-ESP32/TSDZ2-ES ... master/bin
The main new features are:
+ PWM Freq at 19Khz
+ better rotor interpolation (Hall sensor detection runs at 38Khz, twice the PWM freq) -> better field alignment and less current ripple.
+ Updated motor svm_table according to new PWM frequency and to upper bound of TIM1 counter
+ Variable Max Field Weakening angle based on motor speed
+ Higher Power Assist multiplier resolution (2% instead of 10%)
+ Override Street mode (long press Street Mode icon on main dashboard)
+ New Max speed cfg parameters
+ New Power assist multipliers