I have a VESC 6 on my E-Bike, everything works great with a normal thumb throttle and FOC, now i connected the 5V TMM (torque measurement unit) Sensor, the Signal is between 1.6V to 4.9V, i used a Voltage divider to drop the vmax to 3.3V with 10kOhm and 20kOhm. (Because ST32 is not 5V tolerant)
The Problem is that the Signal will depend on my strength on the pedals and the Signal have a lot of fluctuation, the motor turns on / off / on / off the whole time i spinning the crank of the bike.
Is possible to set a setting in VESC Tool that the controller reads the Signal every amount of Time or maybe maintain the throttle for x cycles? If not then i need to write my own custom ADC Logic for controlling this type of sensor?