ESC Brushless MESA PWM 6i25+7i76

More
10 years 6 months ago #72963 by PCW
If you want to use software PWM. You can use almost any pin as GPIO input or output
GPIO outputs must be set to output mode in the hal file (This is true for all configurations)

man hostmot2 (GPIO section) for details

You will get better PWM resolution with the hardware PWM generator however

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

More
10 years 6 months ago #72994 by alessandro torre
Thanks for the suggestions. I used the spindle analogue output of the 7i76 like a potentiometer of the "servo tester", as Andy suggested and it works very well. I didn't know the existence of this cheap device.

Thank you

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

More
9 years 7 months ago #89170 by HalaszAttila
Hello,

can You tell me please, how can I use 7i76s step or dir output as PWM output?
For my project i want to use about 1-2kHz pw, that is very high speed for digital outputs.

Attila.

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

More
9 years 7 months ago #89174 by PCW
Yes, for example the 5i25_7i76p_7I85.bit config replaces all the 7I76 step/dir outputs with PWM/Dir outputs
if you only wanted 1 or a couple PWM outputs (retaining most of the stepgens) that would require a custom bitfile

If you wanted a mix of stepgens and PWMgens, you could try the 5i25_7i76p_7I85.pin to see if the PWM works for you
and then either build or ask me to build a custom 5I25_7I76 bitfile

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

More
9 years 7 months ago - 9 years 7 months ago #89185 by PCW
Hmm, looks like I made a custom bitfile for 7I76 with just one 1 PWM per card (where stepgen 4 usually goes)

freeby.mesanet.com/5i25_7i76x2_1P.bit
Last edit: 9 years 7 months ago by PCW.
The following user(s) said Thank You: HalaszAttila

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

More
9 years 7 months ago #89239 by HalaszAttila
I forgot to tell, i use 7i92 ethernet board with 7i76 card.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum