7I43 reconfigure of firmware in fixed functions
30 Jun 2011 16:36 #11011
by cncbasher
7I43 reconfigure of firmware in fixed functions was created by cncbasher
Hi ,
is it possible to recompile the firmware to suit using the fixed encoder and a pwm gen for spindle and move these functions to P3 pinouts on a 7I43-4
i would like to move these to
have the encoder and pwm available on pins 9 and above , as i am also using a 7I42TA addon board for these
my full pin out configuration is as follows on P3 TB2
1 x step
3 x dir
5 z step
7 z dir
9
11
13 limit / home
15 limit /home
17 estop
19 output relay
21 output relay
23 output relay
P3 TB1
25 output relay
any configuration of pins in the scope of TB1 pins is fine
is it possible to recompile the firmware to suit using the fixed encoder and a pwm gen for spindle and move these functions to P3 pinouts on a 7I43-4
i would like to move these to
have the encoder and pwm available on pins 9 and above , as i am also using a 7I42TA addon board for these
my full pin out configuration is as follows on P3 TB2
1 x step
3 x dir
5 z step
7 z dir
9
11
13 limit / home
15 limit /home
17 estop
19 output relay
21 output relay
23 output relay
P3 TB1
25 output relay
any configuration of pins in the scope of TB1 pins is fine
Please Log in or Create an account to join the conversation.
30 Jun 2011 16:52 #11012
by PCW
Replied by PCW on topic Re:7I43 reconfigure of firmware in fixed functions
Not quite sure what you mean, there are no encoders or PWM outputs here
It would be easier for me if the format was something like:
P4:
GPIO0 STEP 0
GPIO1 STEP 1
GPIO2 PWM 0 OUT
GPIO3 PWM 0 DIR
GPIO4 ENC 0 A
GPIO5 ENC 0 B
GPIO 6 .. 23 Normal GPIO
P3
GPIO24 SPICS 0
GPIO25 SPICLK 0
GPIO26 SPIDI 0
GPIO27 SPIDO 0
GPIO28 ..GPIO47 Normal GPIO
It would be easier for me if the format was something like:
P4:
GPIO0 STEP 0
GPIO1 STEP 1
GPIO2 PWM 0 OUT
GPIO3 PWM 0 DIR
GPIO4 ENC 0 A
GPIO5 ENC 0 B
GPIO 6 .. 23 Normal GPIO
P3
GPIO24 SPICS 0
GPIO25 SPICLK 0
GPIO26 SPIDI 0
GPIO27 SPIDO 0
GPIO28 ..GPIO47 Normal GPIO
Please Log in or Create an account to join the conversation.
30 Jun 2011 17:17 #11014
by cncbasher
Replied by cncbasher on topic Re:7I43 reconfigure of firmware in fixed functions
P4:
GPIO 0 .. 23 Normal GPIO
P3
GPIO24 STEP 0
GPIO25 STEP 0
GPIO26 STEP 1
GPIO27 STEP 1
GPIO28 STEP 2
GPIO 29 STEP 2
GPIO 30 PWM 0 OUT
GPIO 31 PWM 0 DIR
GPIO 32 ENC 0 A
GPIO 33 ENC 0 B
GPIO 34 ENC 0 I
GPIO 35 > .. Normal GPIO
hope this helps , but any configuration is helpful
if theirs any problems
GPIO 0 .. 23 Normal GPIO
P3
GPIO24 STEP 0
GPIO25 STEP 0
GPIO26 STEP 1
GPIO27 STEP 1
GPIO28 STEP 2
GPIO 29 STEP 2
GPIO 30 PWM 0 OUT
GPIO 31 PWM 0 DIR
GPIO 32 ENC 0 A
GPIO 33 ENC 0 B
GPIO 34 ENC 0 I
GPIO 35 > .. Normal GPIO
hope this helps , but any configuration is helpful
if theirs any problems
Please Log in or Create an account to join the conversation.
30 Jun 2011 19:38 #11028
by PCW
Replied by PCW on topic Re:7I43 reconfigure of firmware in fixed functions
Good I'll do this when I get a chance this afternoon (is this a 400K 7I43?)
Please Log in or Create an account to join the conversation.
30 Jun 2011 20:03 #11033
by cncbasher
Replied by cncbasher on topic Re:7I43 reconfigure of firmware in fixed functions
yes 400k 7I43
Please Log in or Create an account to join the conversation.
01 Jul 2011 02:24 - 01 Jul 2011 03:04 #11035
by PCW
Replied by PCW on topic Re:7I43 reconfigure of firmware in fixed functions
files are
freeby.mesanet.com/cncb.zip
I added one more encoder
Note that added modules in no way interfere with GPIO, as long as they are not enabled.
For example, if all of P4 was devoted to stepgens 3..14 this would not effect P4s usability as GPIO unless you enabled more than 3 stepgens... This is why I seldom make configs with only GPIO pins on one connector. As long as the FPGA has space there's no harm in more special functions hanging on the pins.
freeby.mesanet.com/cncb.zip
I added one more encoder
Note that added modules in no way interfere with GPIO, as long as they are not enabled.
For example, if all of P4 was devoted to stepgens 3..14 this would not effect P4s usability as GPIO unless you enabled more than 3 stepgens... This is why I seldom make configs with only GPIO pins on one connector. As long as the FPGA has space there's no harm in more special functions hanging on the pins.
Last edit: 01 Jul 2011 03:04 by PCW.
Please Log in or Create an account to join the conversation.
01 Jul 2011 06:40 #11036
by cncbasher
Replied by cncbasher on topic Re:7I43 reconfigure of firmware in fixed functions
Thanks your help and time to assist is extremely appriciated ,
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds