The sensorless speed controller is working up to 200Hz. The difference between the hall sensor and sensorless frequency was due to having divided the calculus from 1 to 2 cycles, so now the TICK_PERIOD for the SVM has to be multiplied by 2. It fixed the problem.
The code for the sensorless torque controller has been written. Now it only remains to test it.