5i25 with 7i84 and THCAD
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19413
- Thank you received: 6509
20 Nov 2018 10:36 #121045
by tommylight
5i25 with 7i84 and THCAD was created by tommylight
Hi PCW,
I have plenty of Mesa boards sitting around and while looking through all the firmwares for the 5i25 i ran across the 5i25_7i78x2.bit with the attached pin configuration:
IO Connections for P3
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 0 IOPort StepGen 0 Dir (Out)
14 1 IOPort StepGen 0 Step (Out)
2 2 IOPort StepGen 1 Dir (Out)
15 3 IOPort StepGen 1 Step (Out)
3 4 IOPort StepGen 2 Dir (Out)
16 5 IOPort StepGen 2 Step (Out)
4 6 IOPort StepGen 3 Dir (Out)
17 7 IOPort StepGen 3 Step (Out)
5 8 IOPort PWMGen 0 PWM (Out)
6 9 IOPort PWMGen 0 /Enable (Out)
7 10 IOPort PWMGen 0 Dir (Out)
8 11 IOPort SSerial 0 TXData1 (Out)
9 12 IOPort SSerial 0 TXEn1 (Out)
10 13 IOPort SSerial 0 RXData1 (In)
11 14 IOPort QCount 0 Quad-IDX (In)
12 15 IOPort QCount 0 Quad-B (In)
13 16 IOPort QCount 0 Quad-A (In)
so i had an idea that i need confirmation for, namely wire a 5i25 to an 7i84 through sserial and use the encoder inputs for the THCAD.
Now the uncertainty, the 7i84 uses two sets of TX/RX wires, but the 5i25 has only one set and a TXE, this is one one port. There are the same pin outs on the second 5i25 header, but that seems like the second sserial, not to be combined with the other one.
My guess is that wiring TX0 (5i25) to RXA (7i84) and RX0 (5i25) to TXA (7i84) should work but i have doubts about the missing second communication channel.
I am pressed for time, that is the reason for asking this, as i would just wire it and try.
Thanks in advance.
I have plenty of Mesa boards sitting around and while looking through all the firmwares for the 5i25 i ran across the 5i25_7i78x2.bit with the attached pin configuration:
IO Connections for P3
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 0 IOPort StepGen 0 Dir (Out)
14 1 IOPort StepGen 0 Step (Out)
2 2 IOPort StepGen 1 Dir (Out)
15 3 IOPort StepGen 1 Step (Out)
3 4 IOPort StepGen 2 Dir (Out)
16 5 IOPort StepGen 2 Step (Out)
4 6 IOPort StepGen 3 Dir (Out)
17 7 IOPort StepGen 3 Step (Out)
5 8 IOPort PWMGen 0 PWM (Out)
6 9 IOPort PWMGen 0 /Enable (Out)
7 10 IOPort PWMGen 0 Dir (Out)
8 11 IOPort SSerial 0 TXData1 (Out)
9 12 IOPort SSerial 0 TXEn1 (Out)
10 13 IOPort SSerial 0 RXData1 (In)
11 14 IOPort QCount 0 Quad-IDX (In)
12 15 IOPort QCount 0 Quad-B (In)
13 16 IOPort QCount 0 Quad-A (In)
so i had an idea that i need confirmation for, namely wire a 5i25 to an 7i84 through sserial and use the encoder inputs for the THCAD.
Now the uncertainty, the 7i84 uses two sets of TX/RX wires, but the 5i25 has only one set and a TXE, this is one one port. There are the same pin outs on the second 5i25 header, but that seems like the second sserial, not to be combined with the other one.
My guess is that wiring TX0 (5i25) to RXA (7i84) and RX0 (5i25) to TXA (7i84) should work but i have doubts about the missing second communication channel.
I am pressed for time, that is the reason for asking this, as i would just wire it and try.
Thanks in advance.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17853
- Thank you received: 4774
20 Nov 2018 13:55 #121050
by PCW
Replied by PCW on topic 5i25 with 7i84 and THCAD
In general you cannot connect a 5I25 directly to a 7I84, The reason is the that the 7I84 communication is all differential (RS-422) and the FPGA signaling is single ended
Its possible to get differential inputs and outputs with some bit file mods and external resistors but you will lose the common mode range and ruggedness of an actual RS-422 driver/receiver, that is the RS-422 receiver can pick up 200 mv of signal riding on +-5V of common mode noise.
Its possible to get differential inputs and outputs with some bit file mods and external resistors but you will lose the common mode range and ruggedness of an actual RS-422 driver/receiver, that is the RS-422 receiver can pick up 200 mv of signal riding on +-5V of common mode noise.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19413
- Thank you received: 6509
20 Nov 2018 16:26 #121068
by tommylight
Replied by tommylight on topic 5i25 with 7i84 and THCAD
Thank you PCW, that is exactly why i asked.
I could use some IC to do that but that would defeat the purpose.
Back to work.
I could use some IC to do that but that would defeat the purpose.
Back to work.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17853
- Thank you received: 4774
20 Nov 2018 16:53 #121071
by PCW
Replied by PCW on topic 5i25 with 7i84 and THCAD
Yes its one IC like a SP491
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.057 seconds