- Posts: 17533
- Thank you received: 5334
ESC Brushless MESA PWM 6i25+7i76
10 years 6 months ago #72963
by PCW
Replied by PCW on topic ESC Brushless MESA PWM 6i25+7i76
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
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.
- alessandro torre
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
10 years 6 months ago #72994
by alessandro torre
Replied by alessandro torre on topic ESC Brushless MESA PWM 6i25+7i76
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
Thank you
Please Log in or Create an account to join the conversation.
- HalaszAttila
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 5
9 years 7 months ago #89170
by HalaszAttila
Replied by HalaszAttila on topic ESC Brushless MESA PWM 6i25+7i76
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.
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.
9 years 7 months ago #89174
by PCW
Replied by PCW on topic ESC Brushless MESA PWM 6i25+7i76
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
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.
9 years 7 months ago - 9 years 7 months ago #89185
by PCW
Replied by PCW on topic ESC Brushless MESA PWM 6i25+7i76
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
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.
- HalaszAttila
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 5
9 years 7 months ago #89239
by HalaszAttila
Replied by HalaszAttila on topic ESC Brushless MESA PWM 6i25+7i76
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