hostmot2 oneshot bitfile help

More
3 years 10 months ago #259130 by PCW
Replied by PCW on topic hostmot2 oneshot bitfile help
Yes, its a simple bug fix

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

More
3 years 10 months ago #259324 by roland
Trigger1 is configured to GPIO15 in the bitfile.

I send short pulses with a frequency of about 50 Hz to the input GPIO15.

But I don't get a usable signal at pin out1. I hoped to get a signal with approx. 50 Hz and fixed width.
   

Is this a bug or did I configure it wrong?

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

More
3 years 10 months ago #259332 by PCW
Replied by PCW on topic hostmot2 oneshot bitfile help
Not sure what's going on
Did you use the latest source I attached?

Here's what I get: 

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

More
3 years 10 months ago #259335 by roland
that is exactly what I expected to get

yes, i used the latest source.

LinuxCNC is the current master (buildbot). Stanza "oneshots" works now.

But I will generate the bitfile again. I want to make sure that i have indeed used the latest sources.

I will report...

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

More
3 years 10 months ago #259484 by roland
I have created the bitfile again with the latest sources. Same result.

Currently the signal comes from an optocoupler.
I use the encoder input on the 7i76 sigle ended. I checked the signal with the oscilloscope. The signal is not clean as expected.
With a short shielded cable the result was a little better. I think it is due to the electrical noise in the cabinet. 

With a differential signal it would probably work reliably.

I have to find a way to get a differential signal from my laser light barrier.

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

More
3 years 10 months ago #259488 by PCW
Replied by PCW on topic hostmot2 oneshot bitfile help
The input digital filter should deal with most noise issues unless the are really major,
and in that casem I would expect that to show up in the unfiltered (GPIO) input as random noise pulses.

(The input filterishould normally be set to about 1/2 the expected minimum input pulse width)

Did you reload the FPGA after updating it?

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

Time to create page: 0.137 seconds
Powered by Kunena Forum