Mesa 7i96s a little jitter

More
30 Nov 2022 18:56 #258154 by An
Replied by An on topic Mesa 7i96s a little jitter
Yes but I don’t have them right now. I do know that there is no mention of dpll in either hal or ini as I searched for it. I used pncconfig (which had the 7i96d option) and the 7i96s out of the box.

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

More
30 Nov 2022 19:20 #258156 by PCW
Replied by PCW on topic Mesa 7i96s a little jitter
Yes, it looks like the pncconf 7I96S configuration is missing the DPLL setup.

Adding:

setp hm2_7i96s.0.dpll.01.timer-us -100
setp hm2_7i96s.0.stepgen.timer-number 1

to your hal file should fix it.

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

More
30 Nov 2022 19:43 #258158 by An
Replied by An on topic Mesa 7i96s a little jitter
Great thanks PCW, I wish I’d tried this at the beginning but I went off down the intel Ethernet route just assuming it must be a difference with the 7i96s - anyway will try it out and report back.

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

More
30 Nov 2022 21:57 #258162 by PCW
Replied by PCW on topic Mesa 7i96s a little jitter
Disabling IRQ coalescing should always be done with Intel MACs
as it lessens the likelyhood of a real time error

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

More
01 Dec 2022 20:30 #258257 by An
Replied by An on topic Mesa 7i96s a little jitter
That fixed it - thankyou! So what does the dpll actually do? I read the mesa manual but couldn’t find anything.

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

More
02 Dec 2022 01:42 - 02 Dec 2022 01:48 #258281 by PCW
Replied by PCW on topic Mesa 7i96s a little jitter
The DPLL locks onto the nominal servo thread read time and
re-times the sampling  or writing of selected values
(step generator position, encoder position, galvanometer position  etc)
to remove host read or write latencies as a variable. Typically
read sample time variation can be reduced from 100s of usec
to about 250 ns. This is important because sampling jiitter
causes bogus following errors (and subsequent bogus corrections)

The DPLL is also used to start operations before the nominal read times
(like absolute encoder transfers) so the data is available at the nominal read
time without busywaiting.


 
Last edit: 02 Dec 2022 01:48 by PCW.
The following user(s) said Thank You: An

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

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