vedderb / bldc

The VESC motor control firmware
2.14k stars 1.34k forks source link

Impl of bissc encoder (new PR for V6) #536

Closed manoukianv closed 1 year ago

manoukianv commented 1 year ago

Hello,

i had implemented a new interface encoder : BISSC to be compatible with a lot of industrial encoder. A quick video here to explain how to : https://youtu.be/G4rkW7bhovg

i use the same implementation than TS5700N8501 and MT6816 : it uses COMM port to wires the encoder. i push also a PR for the vesc tools. Both come together to synchronize MCCONF signature.

This encoder uses RS422, si it has be connected to the COMM port for high speed communication. A RS422-transceiver such as the MAX490 is required, where CLK and MISO are used as click and data input lines. To use this encoder, you have to make sure that no app uses UART or ADC1. The ABI resolution field is used to setted the BISSC encoder accuracy : 2^(BissC Resolution)

I Hope this can help community and increase motor compatibility.

Best regards Vincent