Repurpose RS-422 on 7i76e?
04 Jul 2020 15:39 - 04 Jul 2020 15:42 #173606
by jhandel
Repurpose RS-422 on 7i76e? was created by jhandel
I need to add a 6th step generator for my spindle (it is a servo spindle)... Am I understanding how bit file generation works (Xilinx Webpack design tool, VHD files, etc) that I could just replace the
with something like
?
Also, in the VHD files, where are the 48 standard I/O ports programmed? I am not quite following where the last 3 rows of the 7i76e are programmed in the project..
Thanks all
IOPortTag & x"00" & SSerialTag & SSerialTX0Pin, -- I/O 10 PIN 7
IOPortTag & x"00" & SSerialTag & SSerialRX0Pin, -- I/O 11 PIN 8
IOPortTag & x"00" & SSerialTag & SSerialTX1Pin, -- I/O 12 PIN 9
IOPortTag & x"00" & SSerialTag & SSerialRX1Pin, -- I/O 13 PIN 10
IOPortTag & x"05" & StepGenTag & StepGenDirPin, -- I/O 10 PIN 7
IOPortTag & x"05" & StepGenTag & StepGenStepPin, -- I/O 11 PIN 8
IOPortTag & x"06" & StepGenTag & StepGenDirPin, -- I/O 12 PIN 9
IOPortTag & x"06" & StepGenTag & StepGenStepPin, -- I/O 13 PIN 10
?
Also, in the VHD files, where are the 48 standard I/O ports programmed? I am not quite following where the last 3 rows of the 7i76e are programmed in the project..
Thanks all
Last edit: 04 Jul 2020 15:42 by jhandel.
Please Log in or Create an account to join the conversation.
04 Jul 2020 15:53 #173607
by jhandel
Replied by jhandel on topic Repurpose RS-422 on 7i76e?
Looking at the file more (and some other docs)..
Maybe change
Delete:
Also Update:To:
??
Maybe change
Delete:
(SSerialTag, x"00", ClockLowTag, x"01", SSerialCommandAddr&PadT, SSerialNumRegs, x"10", SSerialMPBitMask),
Also Update:
(StepGenTag, x"02", ClockLowTag, x"05", StepGenRateAddr&PadT, StepGenNumRegs, x"00", StepGenMPBitMask),
(StepGenTag, x"02", ClockLowTag, x"07", StepGenRateAddr&PadT, StepGenNumRegs, x"00", StepGenMPBitMask),
??
Please Log in or Create an account to join the conversation.
04 Jul 2020 16:13 #173608
by PCW
Replied by PCW on topic Repurpose RS-422 on 7i76e?
SSerial 0 on a 7I76E goes to the field I/O section so not useful for step/dir
( the 48 field I/O points are accessed via this port )
SSerial 1 goes to the expansion serial port (so you could get 1 output only)
If you want to add additional stepgens, they should be added to one of the 7I76Es
parallel expansion connectors, for example using the 7i76e_7i76x1_5abobD.bit
firmware allows you to use one of the common "Mach 5 Axis" breakout boards
connected to P1 and giving 5 additional buffered 5V step/dir channels
( the 48 field I/O points are accessed via this port )
SSerial 1 goes to the expansion serial port (so you could get 1 output only)
If you want to add additional stepgens, they should be added to one of the 7I76Es
parallel expansion connectors, for example using the 7i76e_7i76x1_5abobD.bit
firmware allows you to use one of the common "Mach 5 Axis" breakout boards
connected to P1 and giving 5 additional buffered 5V step/dir channels
Please Log in or Create an account to join the conversation.
05 Jul 2020 14:32 #173672
by jhandel
Replied by jhandel on topic Repurpose RS-422 on 7i76e?
Gatcha, I am already having to add a 7i89 for encoders, and I have a spare bob, and was trying to find a way to NOT have to add it too... But if that is the case, that is the case.. I figured no matter what I did I would have to build a custom firmware..
I am guessing then I can't repurpose TB4 to Step and Direction either as it has special analog IO Pins? (Spindle is a servo so it runs better off step&direction than over PWM especially with rigid tapping, and again that would end up saving me an extra Bob for 1 Step and Direction generator :-P)
I am guessing then I can't repurpose TB4 to Step and Direction either as it has special analog IO Pins? (Spindle is a servo so it runs better off step&direction than over PWM especially with rigid tapping, and again that would end up saving me an extra Bob for 1 Step and Direction generator :-P)
Please Log in or Create an account to join the conversation.
Time to create page: 0.180 seconds