Hey Viren, thanks for checking out the Bluepill firmware, Im still in testing with the bluepill, but have a look at the updated repo. The issue I think was the basethread PRU was too high for the 103. I added a section to the boardconfig to include the basethread, as well as a few other parts.
github.com/cakeslob/Remora/blob/nucleo_s...L/board_config.h#L46
and add this portion to your hal file. 80000 was too high for the bluepill, i am testing it around 30000 to 40000
github.com/cakeslob/Remora/blob/nucleo_s...uc/remora-xyz.hal#L9
Try to play around with the basethread frequency in the config/hal, you may need to change the remora.c file to go lower than default
github.com/cakeslob/Remora/blob/nucleo_s...Remora/remora.c#L218
but viren, I regret to inform you, but the Bluepill F103 does not support the highspeed encoder. I plan to test next with the Blackpill F401/411 which should support highspeed encoder, but they have not arrived yet.
You can try and configure your spindle with the normal encoder module, but I am not sure.
github.com/cakeslob/Remora/blob/nucleo_s...L/board_config.h#L53