LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Inquiry to convert SPI to BiSS using FPGA

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(1,060 Views)
Solution
Accepted by TexasGu

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.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 3
(1,050 Views)

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,

0 Kudos
Message 3 of 3
(1,002 Views)