SSI absolute encoders and analog servos

More
24 Aug 2016 18:37 #79370 by terkaa
Looking at this chart, should timer be set at 450 us?

File Attachment:


Tero

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

More
24 Aug 2016 19:01 #79371 by PCW
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
24 Aug 2016 19:15 #79373 by terkaa
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
24 Aug 2016 19:28 #79374 by PCW
Also what LinuxCNC version

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

More
25 Aug 2016 04:06 #79395 by terkaa
Recently updated to 2.7.6

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

More
25 Aug 2016 07:05 #79397 by terkaa
Hi,

Also found this from terminal:

Message from syslogd@Cinci at Aug 25 08:54:14 ...
kernel:[ 545.868700] NMI: PCI system error (SERR) for reason a1 on CPU 0.

Message from syslogd@Cinci at Aug 25 08:54:14 ...
kernel:[ 545.868707] Dazed and confused, but trying to continue


Related?

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

More
25 Aug 2016 09:46 #79403 by PCW
Might be related, sounds like a PC hardware error of some kind

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

More
25 Aug 2016 10:08 #79404 by terkaa
I believe it is a bug within graphics adapter firmware. Those errors were present before this timing warning

Tero

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

More
25 Aug 2016 10:59 #79407 by terkaa
How can I debug this issue more to find out actual cause for timing warning.

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

More
25 Aug 2016 16:19 #79433 by PCW
I would try to eliminate the NMI, this is not going to be good for real time performance
Also, as I mentioned, you could monitor (via halscope for example) the dpll error so see if it loses sync do to
some real time issue with your system

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

Moderators: PCWjmelson
Time to create page: 0.093 seconds
Powered by Kunena Forum