Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- the encoder is an heidenhain EQN1325, using version 2.2 of the Endat protocol. I'm sending you the datasheet of the encoder and the documentation about the Endat 2.2 protocol by e-mail. --- Quote End --- Ok, got it. --- Quote Start --- The dSpace machine is simply a PC with a DSP board, the goal of my work is to control position of a small motor. All the control of the motor is implemented using Simulink in the dSpace computer. To control the position, I need to measure the real one, using the digital I/O pins of the DSP board. This is why I need to generate position from the encoder in a parallel word. --- Quote End --- If you have a DSP board with digital I/O, then why not "bit-bang" the Endat protocol? All you need is some RS485 level translators to make the signals single-ended (just check the voltage requirements of your DSP). No FPGA required. The Endat interface is serial. It might also be possible to program the DSP serial port to match the protocol. Since this is not Altera-FPGA specific, we can take this discussion off-list. Cheers, Dave