07-12-2023 11:03 AM
Hi all,
I'm trying to find a way to convert the SPI interface encoder input values to BiSS-C, Hiperface, or EnDat2.1/2.2 interface output using FPGA because my motor has only SPI absolute encoder and I couldn't find the motor driver which supports the SPI interface.
I could find the example to get the SPI sensor values but couldn't find the way to make the encoder output value with the different interface as I mentioned before.
Do you think CRIO can make the BiSS output from the SPI encoder values?
Also, would my idea (CrIO get the SPI encoder value, convert it to BiSS, and send it to the motor driver) be possible?
Thank you for your time and help!
Best regards,
Gu-Cheol
Solved! Go to Solution.
07-12-2023 11:29 AM
It is possible to use your cRIO to convert from one protocol or another, there will be the processing delay and stuff. But you will have to write the conversion as there doesn't seem to be much available publicly/
https://forums.ni.com/t5/LabVIEW/BiSS-Serial-Protocol/td-p/920834
You could spend a lot of engineering hours on developing the conversion in cRIO or just replace the encoder with one that is compatible with your motor controller.
07-13-2023 10:40 AM
Thank you for your response!
Yes, I think it takes a lot of effort to make the protocol conversion code.
It would be better to find the motor driver compatible with SPI absolute encoder.
Thank you!
Best,