Create a FPGA board for raspberry
13 Feb 2022 16:45 #234712
by D.L.
Replied by D.L. on topic Create a FPGA board for raspberry
You added it to config string?Where i have to add num_ssrs=0. If I add it into .hal there is a error "unknown command".
loadrt hm2_rpspi config="num_ssrs=0"
Please Log in or Create an account to join the conversation.
13 Feb 2022 17:09 #234713
by Boaschti
Replied by Boaschti on topic Create a FPGA board for raspberry
Yes, I tried it also in the hm2_rpspi config string.
The message is here " invalid token in config string: "num_ssrs=0" "
The message is here " invalid token in config string: "num_ssrs=0" "
Please Log in or Create an account to join the conversation.
13 Feb 2022 20:29 #234740
by Boaschti
Replied by Boaschti on topic Create a FPGA board for raspberry
Is there any manual where the ssr funktionality is explained?
The output in the HAL Configuration says that hm2_7c80.0.ssr.00.out-01 is off (yellow) All other outputs are red.
The hardware switches all outputs to high.
The output in the HAL Configuration says that hm2_7c80.0.ssr.00.out-01 is off (yellow) All other outputs are red.
The hardware switches all outputs to high.
Please Log in or Create an account to join the conversation.
13 Feb 2022 21:11 #234751
by D.L.
Affected 2.8 and 2.9, in 2.7 hostmot2 driver not support ssr.
Fix code:
Replied by D.L. on topic Create a FPGA board for raspberry
It bug in hostmot2 driver(hostmot2.c: hm2_parse_config_string()), no code for reading "num_ssrs=" value.Yes, I tried it also in the hm2_rpspi config string.
The message is here " invalid token in config string: "num_ssrs=0" "
Affected 2.8 and 2.9, in 2.7 hostmot2 driver not support ssr.
Fix code:
} else if (strncmp(token, "num_ssrs=", 9) == 0) {
token += 9;
hm2->config.num_ssrs = simple_strtol(token, NULL, 0);
Please Log in or Create an account to join the conversation.
14 Feb 2022 00:41 #234777
by PCW
Replied by PCW on topic Create a FPGA board for raspberry
Yes that was missed because there is no actual hardware where
disabling SSRs makes sense . For the OPs use, 7C80 firmware with no SSRs
makes more sense
disabling SSRs makes sense . For the OPs use, 7C80 firmware with no SSRs
makes more sense
Please Log in or Create an account to join the conversation.
16 Feb 2022 17:51 - 16 Feb 2022 18:19 #235057
by Boaschti
Replied by Boaschti on topic Create a FPGA board for raspberry
Oh.
What I have to do if i have to compile linuxcnc with fixed driver?
Follow this steps?
Can anybody make a bit File with following Pinout (IOPort<=>Pin from 7c80spi.ucf)?
What I have to do if i have to compile linuxcnc with fixed driver?
Follow this steps?
Can anybody make a bit File with following Pinout (IOPort<=>Pin from 7c80spi.ucf)?
IO Connections for StepGens+Misc
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
0 0 IOPort StepGen 0 Step/Table1 (Out)
0 1 IOPort StepGen 0 Dir/Table2 (Out)
0 2 IOPort StepGen 1 Step/Table1 (Out)
0 3 IOPort StepGen 1 Dir/Table2 (Out)
0 4 IOPort StepGen 2 Step/Table1 (Out)
0 5 IOPort StepGen 2 Dir/Table2 (Out)
0 6 IOPort StepGen 3 Step/Table1 (Out)
0 7 IOPort StepGen 3 Dir/Table2 (Out)
0 8 IOPort StepGen 4 Step/Table1 (Out)
0 9 IOPort StepGen 4 Dir/Table2 (Out)
0 10 IOPort StepGen 5 Step/Table1 (Out)
0 11 IOPort StepGen 5 Dir/Table2 (Out)
0 12 IOPort SSerial 0 RXData0 (In)
0 13 IOPort SSerial 0 TXData0 (Out)
0 14 IOPort SSerial 0 TXEn0 (Out)
0 15 IOPort QCount 0 Quad-A (In)
0 16 IOPort QCount 0 Quad-B (In)
0 17 IOPort QCount 0 Quad-IDX (In)
0 18 IOPort PWM 0 PWM (Out)
0 19 IOPort PWM 0 /Enable (Out)
0 20 IOPort None
0 21 IOPort None
0 22 IOPort InMux 0 Addr0 (Out)
0 23 IOPort InMux 0 Addr1 (Out)
0 24 IOPort InMux 0 Addr2 (Out)
0 25 IOPort InMux 0 Addr3 (Out)
0 26 IOPort InMux 0 Addr4 (Out)
IO Connections for Outputs+P1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
0 27 IOPort InMux 0 Data0 (In)
0 28 IOPort OUT 0 Out-00 (Out)
0 29 IOPort OUT 0 Out-01 (Out)
0 30 IOPort OUT 0 Out-02 (Out)
0 31 IOPort OUT 0 Out-03 (Out)
0 32 IOPort OUT 0 Out-04 (Out)
0 33 IOPort OUT 0 Out-05 (Out)
0 34 IOPort OUT 0 Out-06 (Out)
0 35 IOPort OUT 0 Out-07 (Out)
0 36 IOPort None
0 37 IOPort PWM 1 PWM (Out)
0 38 IOPort QCount 1 Quad-A (In)
0 39 IOPort QCount 1 Quad-B (In)
0 40 IOPort QCount 1 Quad-IDX (In)
0 41 IOPort None
0 42 IOPort None
0 43 IOPort SSerial 0 RXData2 (In)
0 44 IOPort SSerial 0 TXData2 (Out)
0 45 IOPort SSerial 0 RXData1 (In)
0 46 IOPort SSerial 0 TXData1 (Out)
0 47 IOPort None
0 48 IOPort QCount 2 Quad-A (In)
0 49 IOPort QCount 2 Quad-B (In)
0 50 IOPort QCount 2 Quad-IDX (In)
0 51 IOPort QCount 3 Quad-A (In)
0 52 IOPort QCount 3 Quad-B (In)
0 53 IOPort QCount 3 Quad-IDX (In)
Does anybody knows what th ssr funktionality is for?
Out0..7 in phase with AC Ref == on and Out0..7 out of phase with AC Ref == off.
The only logical for following hardware is a XOR chip. We never have seen sth like this and i cannot find sth about it.
Last edit: 16 Feb 2022 18:19 by Boaschti.
Please Log in or Create an account to join the conversation.
16 Feb 2022 18:13 #235060
by PCW
Replied by PCW on topic Create a FPGA board for raspberry
It makes zero sense to change the driver, you need to make a
bitfile that matches your hardware.
bitfile that matches your hardware.
Please Log in or Create an account to join the conversation.
16 Feb 2022 19:03 - 17 Feb 2022 10:31 #235064
by D.L.
Bitfile for 7c80 without ssr module and with PWM0 /Enable output:
Pinfile from 7c80v2.zip was tested on Hostmot2 ethernet hardware:
Replied by D.L. on topic Create a FPGA board for raspberry
Bitfile for 7c80 without ssr module:Can anybody make a bit File with following Pinout (IOPort<=>Pin from 7c80spi.ucf)?
Bitfile for 7c80 without ssr module and with PWM0 /Enable output:
Pinfile from 7c80v2.zip was tested on Hostmot2 ethernet hardware:
Attachments:
Last edit: 17 Feb 2022 10:31 by D.L..
Please Log in or Create an account to join the conversation.
16 Feb 2022 21:34 - 16 Feb 2022 22:47 #235081
by PCW
Replied by PCW on topic Create a FPGA board for raspberry
If you take the pinout file that D.L. provided and edit it to:
1. Add your additional encoders, sserial ports and PWMgens
2. Remove the inmux (actually not sure here if your hardware include the muxes or not)
Either D.L or I can take that new pinout and make a bitfile that
matches your hardware.
1. Add your additional encoders, sserial ports and PWMgens
2. Remove the inmux (actually not sure here if your hardware include the muxes or not)
Either D.L or I can take that new pinout and make a bitfile that
matches your hardware.
Last edit: 16 Feb 2022 22:47 by PCW.
Please Log in or Create an account to join the conversation.
17 Feb 2022 10:40 #235115
by D.L.
2. InMux module needed, in the current scheme used multiplexing(ICs: U1-U4) input signals IN0-IN23.
Replied by D.L. on topic Create a FPGA board for raspberry
1. Additional encoders, sserial ports and PWMgens not needed, the pinout was created for the current scheme .1. Add your additional encoders, sserial ports and PWMgens
2. Remove the inmux (actually not sure here if your hardware include the muxes or not)
2. InMux module needed, in the current scheme used multiplexing(ICs: U1-U4) input signals IN0-IN23.
Please Log in or Create an account to join the conversation.
Time to create page: 0.100 seconds