I was told to ask Mesa 5/6i25 questions here.

More
11 Aug 2020 11:56 #177885 by andypugh
Replied by andypugh on topic I was told to ask Mesa 5/6i25 questions here.
It shouldn't take any configuration to step at the max step rate. It should just happen when the velocity command and the step scale require it.

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

More
11 Aug 2020 14:37 #177899 by PCW
Yes, nothing special required, but you do need to set the step length and step space
times very short (50 ns or so) to do this. Its probably better to use quadrature mode if your
drives can accept this, as this would double the pulse widths. A 7I92 would do better
in terms of signal fidelity at 8 MHz since it has a 100 MHz base clock instead of 33.33 MHz

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

More
12 Aug 2020 15:40 - 15 Aug 2020 04:18 #178040 by Hamada
Hi Andy, Peter

Thank you so much for advice, i changed steplen and stepspace and 5i25 can generate 3MHz ( confirmed by logic analyzer).
But as you told my conversion board cannot capture stepgen at 3Mhz so i need to change method, can you help to point out any register on FPGA which is storing postion from linuxcnc ( motor.post - cmd )? I want to use this data to send to my board per 1ms cycle
Attachments:
Last edit: 15 Aug 2020 04:18 by Hamada. Reason: Typo

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

More
12 Aug 2020 17:02 - 12 Aug 2020 17:02 #178046 by PCW
There is no register that stores the commanded position

Basic operation of the step generator is that the velocity is set
by LinuxCNC and the actual step count is read back by LinuxCNC
to correct for minor differences in clocks, frequency setting
granularities, position sample and velocity update timing variations,
etc. etc.
Last edit: 12 Aug 2020 17:02 by PCW.

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

More
15 Aug 2020 04:18 #178231 by Hamada
Hi Peter

I used quadrature stepgen and added in filter on my board then it can work at high step rate now

Thank you for ideas

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

Time to create page: 0.085 seconds
Powered by Kunena Forum