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

More
6 years 2 months ago - 6 years 2 months ago #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
Last edit: 6 years 2 months ago by Hamada. Reason: Typo

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

More
6 years 2 months ago - 6 years 2 months ago #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: 6 years 2 months ago by PCW.

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

More
6 years 2 months ago #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.157 seconds
Powered by Kunena Forum