My Mesa 5i25 board has a problem with GPIO.
- thang
- Offline
- Elite Member
Less
More
- Posts: 196
- Thank you received: 11
13 Apr 2018 04:55 #108930
by thang
My Mesa 5i25 board has a problem with GPIO. was created by thang
Hi,
Today when i had checked my mesa 5i25, i saw a weird thing. I just check gpio and see some pins are not pull-up.
here is my hal command:
loadrt hostmot2
loadrt hm2_pci
loadrt threads name2=test2 period2=1000000
addf hm2_5i25.0.write test2
addf hm2_5i25.0.read test2
loadusr halshow
start
And my bitfile and vhd file:
these pins were used to read encoders.
now i still can read signal by these pins.
Today when i had checked my mesa 5i25, i saw a weird thing. I just check gpio and see some pins are not pull-up.
here is my hal command:
loadrt hostmot2
loadrt hm2_pci
loadrt threads name2=test2 period2=1000000
addf hm2_5i25.0.write test2
addf hm2_5i25.0.read test2
loadusr halshow
start
And my bitfile and vhd file:
these pins were used to read encoders.
now i still can read signal by these pins.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17905
- Thank you received: 4774
13 Apr 2018 13:22 #108943
by PCW
Replied by PCW on topic My Mesa 5i25 board has a problem with GPIO.
If you read this with nothing connected to the 5I25, its likely means that either the FPGA or the bus switch
has been damaged by excessive input voltages, that is, voltages outside of the range -0.5V to +7V.
This is _very_ easy to do of you wire noisy devices directly to FPGA pins.
has been damaged by excessive input voltages, that is, voltages outside of the range -0.5V to +7V.
This is _very_ easy to do of you wire noisy devices directly to FPGA pins.
The following user(s) said Thank You: thang, DoWerna
Please Log in or Create an account to join the conversation.
- thang
- Offline
- Elite Member
Less
More
- Posts: 196
- Thank you received: 11
13 Apr 2018 15:49 #108949
by thang
Replied by thang on topic My Mesa 5i25 board has a problem with GPIO.
i didnt notice that, i thought everything are fine , should i leave these pins or still use it to read encoders?
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17905
- Thank you received: 4774
13 Apr 2018 15:59 #108950
by PCW
Replied by PCW on topic My Mesa 5i25 board has a problem with GPIO.
Are you connecting the pins of external encoder directly to the 5I25 pins?
The problem with encoder pins is that the encoders are connected to servo motors and may carry several volts of high energy noise coupled from the servo drives high voltage PWM, This not an issue when you use a daughtercard/breakout board intended for encoder signals since they are designed to deal with this, but if you wire encoder signals directly to FPGA inputs you are likely to cause damage, At the minimum if you want to do this is to add about 100 Ohm series resistors, these will at least protect the input clamp diodes from excessive current.
The problem with encoder pins is that the encoders are connected to servo motors and may carry several volts of high energy noise coupled from the servo drives high voltage PWM, This not an issue when you use a daughtercard/breakout board intended for encoder signals since they are designed to deal with this, but if you wire encoder signals directly to FPGA inputs you are likely to cause damage, At the minimum if you want to do this is to add about 100 Ohm series resistors, these will at least protect the input clamp diodes from excessive current.
The following user(s) said Thank You: thang, DoWerna
Please Log in or Create an account to join the conversation.
- thang
- Offline
- Elite Member
Less
More
- Posts: 196
- Thank you received: 11
14 Apr 2018 05:44 #108987
by thang
Replied by thang on topic My Mesa 5i25 board has a problem with GPIO.
Is 7i75 board enough safe to solve this ? I'm not sure 12V enough safe for an AC servo because i dont have much experience. I also look into another daughtercards but they have some functions that i dont need
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.072 seconds