5i25 + 7i85s +....

More
9 years 11 months ago #82675 by casetero
Replied by casetero on topic 5i25 + 7i85s +....
The question was concerning to one PIN, with mesaflash it shows this PIN as IO19 and IO2. In the manual of the 7i85s it says:

FPGA PRIM I/0 -->IO2

FPGA SEC I/0 -->IO19

For the function TX7. In my system the SPIN1X is wired to the 7i85s so i guess the GPIO IO19 is the HAL PIN i have to use. But maybe im guessing too much.

The question of the num_stepgens=4 or 3, is because i have 3 motors in my system so i have always had num_stepgens=3, but i dont know if have to change to 4 in order to activate this PIN, but as my purpose is to use this PIN as GPIO i dont know if i have to add another stepgen to my HAL file.

Thank you!!

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

More
9 years 11 months ago #82676 by PCW
Replied by PCW on topic 5i25 + 7i85s +....
What daughterboards are connected to P3 (GPIO 0..16) and P2 (GPIO 17..33) ?

Where do you want the SPINX1 to connect (P2 or P3)

In any case, the firmware you have will not work with the SPINX1 because the SPINX1 requires a PWM generator
so you must use 5i25_7i85sspx2.bit or something like it that has both stepgens and PWMgens

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

More
9 years 11 months ago #82677 by casetero
Replied by casetero on topic 5i25 + 7i85s +....
I have a 5i25 connected via PCI slot to my PC and a 7i85s connected to the 5i25 via paralel port cable. My SPIN1X is connected to the 7i85s via the DIF OUT 7 to the ENABLE. I dont know what P3 and P2 means, sorry.

I guess i need to use the the hm2_5i25.0.gpio.019.out, but im not sure. Do i have to activate another stepgen in the HAL file to make it usable??

I have downloaded the 5i25_7i85sspx2.bit file. How can i install it?

Thank you!

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

More
9 years 11 months ago #82678 by andypugh
Replied by andypugh on topic 5i25 + 7i85s +....

casetero wrote: I guess i need to use the the hm2_5i25.0.gpio.019.out, but im not sure. Do i have to activate another stepgen in the HAL file to make it usable??


No, you have to specifically _disable_ the stepgen to make the pin available as GPIO.
So, with num_stepgens = 3 the pins allocated to stepgens 4,5,6 and 7 become available as GPIO pins.
The following user(s) said Thank You: casetero

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

More
9 years 11 months ago #82679 by andypugh
Replied by andypugh on topic 5i25 + 7i85s +....

casetero wrote: I dont know what P3 and P2 means, sorry.

P2 and P3 are the two 25-pin headers. I think 3 is the D-sub and 2 is the internal.

I have downloaded the 5i25_7i85sspx2.bit file. How can i install it?


You flash Mesa cards with Mesaflash.

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

More
9 years 11 months ago #82680 by PCW
Replied by PCW on topic 5i25 + 7i85s +....
The 5I25 has 2 I/O connectors, P3 = DB25 on bracket and P2 = 26 pin rectangular header

Which connector is the 7I85S attached to?

you update the firmware like this:

sudo mesaflash --device 5i25 --write 5i25_7i85sspx2.bit
and then
sudo mesaflash --device 5i25 --reload

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

Moderators: cmorley
Time to create page: 0.066 seconds
Powered by Kunena Forum