Can you guys please tell me what is the microcontroller on the motor controller board?? I saw that there are connections for 3 halls sensors from the motor + the connections of the 3 phases.
The controller on the BBSHD is garbage, it's using a Chinese STC15W4K32S4 series MCU
There is a second MCU, I think that one does the motor control and the STC probably only tells it how much current it wants
Original firmware is here: https://endless-sphere.com/forums/viewtopic.php?t=100064
A much better idea would be to design a good VESC controller that'd fit into the original enclosure.
And then you could do whatever you want.