MESA 7i95 with 6 GPIO outputs needed

More
14 Sep 2021 14:17 #220599 by AravinthPanch
Hi,

I'm using MESA 7i95 and I need 6 GPIO outputs.

Could anyone please make a PIN/BIT file for MESA 7i95 with GPIO outputs by replacing StepGen5 or SSR or another unwanted module?

I already use 3 step generators, 3 encoders, 6 input pins. So other modules can be used to replace with GPIO.

I really appreciate any help you can provide.

Regards,
Ara <   github.com/AravinthPanch  >

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

More
14 Sep 2021 14:26 #220600 by PCW
If you just need 5V outputs, you can use the free stepgen outputs
as GP outputs. with the current firmware. Stepgen 3,4,5 step and dirr
pins will revert to GPIO if you set the number of stepgens to 3 in the hal file.
You also need to set the is_output attributes of the pins you wish to used as
GP outputs. You can use the .pin file to determine the GPIO numbers of
the pins
The following user(s) said Thank You: AravinthPanch

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

More
01 Oct 2021 12:24 #221945 by AravinthPanch
Thanks, Peter, for the support, and it works.

Might be useful for others :

- Updated hal from "num_stepgens=6" to "num_stepgens=3" of 7i95
- Identified pin number Pin 006 (TB3-20/TB3-21) for 7i95
- Added to hal "setp hm2_7i95.0.gpio.006.is_output 1"
- Write GPIO output by "setp hm2_7i95.0.gpio.006.output 1"

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

Moderators: PCWjmelson
Time to create page: 0.076 seconds
Powered by Kunena Forum