Mesa 7i76e I/O expansion via P1 / P2

More
13 Feb 2022 17:51 - 14 Feb 2022 11:58 #234715 by Floyd
Hello,

I build myself a small CNC Pendant which I would like to connect via P1 to my Mesa 7i76e.
In the documentation, it says that with the start of the Mesa card, every pin on P1 and P2 are Pulled Up to 5V and only register an Input when connected to GND.
Would it damage the Mesa 7i76e if I connect an NC switch to GND and an Input pin on P1?
It would cause the Input pin to be directly connected to GND at the start.

Does anybody already have experience in using P1 / P2 directly as inputs?

Best regards,
Floyd
Last edit: 14 Feb 2022 11:58 by Floyd.

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

More
13 Feb 2022 19:05 #234720 by PCW
That should be fine, just make sure the GND reference is from the P1 or P2 connector.

The most common cause of damage to bare FPGA inputs is from GND noise
that is, if you connect a bare FPGA input to frame GND, that GND may have 1-2V
of HF AC noise (from Motor drives etc) relative to the 7I76E GND, which will instantly
destroy the input clamp diodes.

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

More
13 Feb 2022 19:19 #234727 by Floyd
Thanks for the quick response!

My plan was to use P1 as input pins (with P1 also supplying the GND and 5V reference) and then wire the pendant wheel into the MPG field input.
Or would it be possible to use an input of the P1 as an MPG input?

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

More
14 Feb 2022 01:31 #234781 by PCW
You could use software encoder counters (though these are limited by the ~1 KHz
servo thread sample rate, or firmware could be made with MPG encoder inputs

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

More
14 Feb 2022 16:01 #234840 by Floyd
I think I will just use the dedicated MPG Inputs :)
Thanks again for the quick answers!

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

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