Issue with Mesa 7i92t and all stepgens enabled

More
07 Jul 2024 02:40 #304560 by vally72
I ran in hal:
halcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=0 num_pwmgens=0 num_stepgens=-1 num_dplls=0"
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 192.168.1.121: INFO: Hardware address (MAC): 00:60:1b:11:81:84
hm2_eth: discovered 7I92T
hm2/hm2_7i92.0: Low Level init 0.15
hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0:     IO Pin 000 (P2-01): IOPort
hm2/hm2_7i92.0:     IO Pin 001 (P2-14): IOPort
hm2/hm2_7i92.0:     IO Pin 002 (P2-02): StepGen #0, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 003 (P2-15): IOPort
hm2/hm2_7i92.0:     IO Pin 004 (P2-03): StepGen #0, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 005 (P2-16): StepGen #4, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 006 (P2-04): StepGen #1, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 007 (P2-17): IOPort
hm2/hm2_7i92.0:     IO Pin 008 (P2-05): StepGen #1, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 009 (P2-06): StepGen #2, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 010 (P2-07): StepGen #2, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 011 (P2-08): StepGen #3, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 012 (P2-09): StepGen #3, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 013 (P2-10): IOPort
hm2/hm2_7i92.0:     IO Pin 014 (P2-11): IOPort
hm2/hm2_7i92.0:     IO Pin 015 (P2-12): IOPort
hm2/hm2_7i92.0:     IO Pin 016 (P2-13): IOPort
hm2/hm2_7i92.0:     IO Pin 017 (P1-01): IOPort
hm2/hm2_7i92.0:     IO Pin 018 (P1-14): IOPort
hm2/hm2_7i92.0:     IO Pin 019 (P1-02): StepGen #5, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 020 (P1-15): IOPort
hm2/hm2_7i92.0:     IO Pin 021 (P1-03): StepGen #5, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 022 (P1-16): StepGen #9, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 023 (P1-04): StepGen #6, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 024 (P1-17): IOPort
hm2/hm2_7i92.0:     IO Pin 025 (P1-05): StepGen #6, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 026 (P1-06): StepGen #7, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 027 (P1-07): StepGen #7, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 028 (P1-08): StepGen #8, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 029 (P1-09): StepGen #8, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 030 (P1-10): IOPort
hm2/hm2_7i92.0:     IO Pin 031 (P1-11): IOPort
hm2/hm2_7i92.0:     IO Pin 032 (P1-12): IOPort
hm2/hm2_7i92.0:     IO Pin 033 (P1-13): IOPort
hm2/hm2_7i92.0: registered

Why StepGen #4, pin Direction (Output) and StepGen #9, pin Direction (Output) are not assigned?

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

More
07 Jul 2024 03:22 #304563 by vally72
I guess because the compatibility with the parallel port I/Os pins.
I believe it is not possible to configure in HAL a stepgen step or dir pin, the only way is to compile and load a custom bin file to for custom numbers of modules.

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

More
07 Jul 2024 04:48 - 07 Jul 2024 04:51 #304564 by cornholio
Do you need to drive 10 Steppers ?

Yeah the max stepgens or whatever are built into the firmware.
If you make a request Pete will build firmware to your liking, he's a top bloke like that.

If you download the 7i92t.zip file under specs on the 7i92t product page it has numerous firmware .bin and most have an accompanying .pin file that has the pin description for each.
Last edit: 07 Jul 2024 04:51 by cornholio.

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

More
07 Jul 2024 13:32 #304578 by vally72
Thank you cornholio for your answer. I don't want to bother Pete for now for a customized configuration. I am just looking for a solution to have 5 stepgens on the same connector P2 of the 7i92t to control X, dual Y, Z, A on a milling machine.

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

More
07 Jul 2024 14:41 #304581 by PCW
The reason for stepgens with no direction pins is that the firmware is built
for a drive or breakout (say a G540 or CNC4PC C11) that has a chargepump or
watchdog and a stepgen is used to generate the signal the drives that pin.

There are standard parallel port type pinouts for the 7I92T that have 5 complete
stepgens, like  7i92t_5abobx2d.bin

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

More
09 Jul 2024 13:13 #304753 by vally72
Thank you, Peter.

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

Time to create page: 0.254 seconds
Powered by Kunena Forum