hostmot2 oneshot bitfile help

More
14 Dec 2022 22:15 - 14 Dec 2022 22:21 #259509 by PCW
Replied by PCW on topic hostmot2 oneshot bitfile help
OK so a 7I96 (Xilinx) works as expected:

This first plot shows both oneshots being triggered by a 50 Hz square wave
fed into the 7I96's encoder A/B pins. The GPIO bits are the unfiltered equivalents.
oneshot 1 is set for 5 ms and oneshot2 is set for 10 ms. filter  is 100usec:

 


This plot shows the same arrangement except the trigger is a 150 usec pulse
so not reliably displayable by halscope (but the oneshots are triggered)::


 

Do you want me to try building a 7I92 oneshot test bitfile?
Attachments:
Last edit: 14 Dec 2022 22:21 by PCW.
The following user(s) said Thank You: roland

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

More
15 Dec 2022 11:33 #259550 by roland
yes, please. I would like to test your file.

here is my pin configuration:
 

File Attachment:

File Name: PIN_7I76_7....vhd.txt
File Size:10 KB
Attachments:

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

More
15 Dec 2022 19:30 - 15 Dec 2022 19:38 #259572 by PCW
Replied by PCW on topic hostmot2 oneshot bitfile help
OK this works for me: 

File Attachment:

File Name: 7i92_7i76_...rcos.zip
File Size:121 KB


This test uses oneshot channel 2 as a 50 Hz 1 ms pulse generator,
triggering oneshot channe1 (set for 3 ms) via the external trigger input.
(loopback from pin 12 to pin 16 on the 7I92 DB25) 

 

 
Attachments:
Last edit: 15 Dec 2022 19:38 by PCW.

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

More
16 Dec 2022 07:30 #259612 by roland
your bitfile is flashed on my 7i92. Same result:


Attachments:

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

More
16 Dec 2022 15:42 #259644 by PCW
Replied by PCW on topic hostmot2 oneshot bitfile help
Well I guess I give up on this...

It works for me on three different hardware setups: 7I96S, 7I96, 7I92
(and even different FPGA families)

Only thing I can think is you are not running the firmware I sent or you
have a bad 7I92 with a FPGA issue (which is not something I have ever seen before)
or there is some other hardware specific issue with your setup.

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

More
16 Dec 2022 16:10 #259648 by roland
I use your firmware.

Today I tested with a 5i25 and an other, older 7i76. It works perfectly with it.

Then I tested it again with the 7i92. For this I created a minimal setup. All disturbing devices (servo-drives, vfd...) were switched off. But with the 7i92 it does not work properly. I also give it up.

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

More
16 Dec 2022 16:33 #259652 by PCW
Replied by PCW on topic hostmot2 oneshot bitfile help
Sorry for the rant and sorry for the issue. I think its fixed...

My tests ran perfectly because I was using perfect signals...

As soon as I introduced some noise, I could duplicate your issue.

The issue was a metastable on the external input sampling

 

File Attachment:

File Name: 7i92rcos.zip
File Size:122 KB


 
Attachments:
The following user(s) said Thank You: tommylight, roland

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

More
16 Dec 2022 18:32 #259661 by roland
It works now :)
Thank you very much!

It runs on the 7i92 in the Cabinet:
 
 
Attachments:
The following user(s) said Thank You: tommylight

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

More
16 Dec 2022 19:27 #259663 by PCW
Replied by PCW on topic hostmot2 oneshot bitfile help
Sorry it took so long to figure out and fix...

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

More
21 May 2023 22:16 #271885 by tincho80
hi all,
would I need a special bit-file to set up a 6-axis-robot like the vismach/puma560 using RC-servos (rcpwmgen) and the mesa 7i76e together with the 7i85s (9x stegens and 5x encoder inputs in total)?
How can I create such a bit-file by myself? What would be a good starting point?
If I don't need one, how can I connect the three leads from the servos?
Cheers.
Martin.

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

Time to create page: 0.720 seconds
Powered by Kunena Forum