BLDC speed/torque control with L6229 or L6235
First of all, Vref on the chip controls maximum power = maximum torque. When S1 on eval board is in TRQ mode, then VREF pin on CN4 is connected directly to Vref of the drived. In this mode, it will have very little effect if the motor is unloaded.

In order to control the speed of the motor while maintaining the torque you will need to wrap the whole thing into a control loop -- something measures motor speed, and changes power to motor correspondingly.

For the best performance, you will want to do it per-phase basis, delaying control inputs if speed is exceeded. However, this is quite involved, so I would instead use manufacturer-recommended analog way (see section 9, 'Tachometer'). This is already assembled for you on the eval board -- set S1 to SPEED mode, and VREF should vary motor voltage smoothly between 0 and max speed.