So I have configured it, but it doesn't work properly:
relevant HAL section:
loadrt hm2_eth board_ip="192.168.1.121" config="num_stepgens=5 num_encoders=5 ssi_chan_0=position%25ge"
#SSI stuff
#setp hm2_7i95.0.dpll.base-freq-khz 1.007
setp hm2_7i95.0.ssi.00.frequency-khz 800
#setp hm2_7i95.0.ssi.00.timer-number 1
setp hm2_7i95.0.dpll.01.timer-us -100
Encoder is Leine & Linde ISA 608, output is 25 bit gray.
I always get "data transmission not complete ..." error, regardless of clock frequency/ timer / dpll base freq values.
Theoretically this encoder supports up to 1Mhz clock freq.
position.counts is always 23773199 or close to.
I checked polarity of clock/data signals, also have seen clock signal with oscilloscope.
For sure, my 7i95 card has some hardware issues what I already asked it here, but due to chip issue and long time of post (from EU to US and return) I didn't want to request RMA.
Here is the mentioned topic:
forum.linuxcnc.org/27-driver-boards/37894-mesa-7i95?start=230
Can we rule out that this issue might impact the communication on the SSI interface?
Plan B: I have an unused 7i96s, could you PCW please make me a bitfile with SSI support? To test if this issue is related to 7i95.
Any other clue please?
Thank you
Tamas