SSI absolute encoders and analog servos

More
10 years 2 months ago #79244 by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Related config:

loadrt hm2_pci config="ssi_chan_0=xencoder%32e

#SSI stuff
setp hm2_5i25.0.ssi.00.frequency-khz 400
setp hm2_5i25.0.ssi.00.timer-number 1
setp hm2_5i25.0.dpll.01.timer-us -100
setp hm2_5i25.0.ssi.00.xencoder.scale 10000


Tero

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #79369 by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
I do get randomly:

Data transmission not complete on channel... erros.

I have changed setp hm2_5i25.0.dpll.01.timer-us -100 to setp hm2_5i25.0.dpll.01.timer-us -150

But that does not help. Data is 32 bits at 400 khz. Any ideas?

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #79370 by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Looking at this chart, should timer be set at 450 us?

[IMG


Tero

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #79371 by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
No, that's the timeout value the timer should be set to read ahead the transmission time (80 usec for 32 bits at 400 KHz)
plus a small margin, so -100 usec should be fine

Can you post all your current SSI related settings here

Also take a look at DPLL phase-error-usec in case there's a locking problem (though I would not expect this)
(it should not ever be greater than you jitter numbers)

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #79373 by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Related config:

loadrt hm2_pci config="ssi_chan_0=xencoder%32e

#SSI stuff
setp hm2_5i25.0.ssi.00.frequency-khz 400
setp hm2_5i25.0.ssi.00.timer-number 1
setp hm2_5i25.0.dpll.01.timer-us -150
setp hm2_5i25.0.ssi.00.xencoder.scale 10000

Tero

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #79374 by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
Also what LinuxCNC version

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.240 seconds
Powered by Kunena Forum