- Hardware & Machines
- Driver Boards
- Request: Custom 7C80 bitfile - Replace StepGens 0, 1, 2 with PWMGens (TB7, TB8,
Request: Custom 7C80 bitfile - Replace StepGens 0, 1, 2 with PWMGens (TB7, TB8,
- Tony123
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
05 Mar 2026 17:37 #343906
by Tony123
Request: Custom 7C80 bitfile - Replace StepGens 0, 1, 2 with PWMGens (TB7, TB8, was created by Tony123
Hi LinuxCNC community,I am running a Mesa 7C80 via SPI on a Raspberry Pi 5. Because my main axes and spindle are handled over EtherCAT, I am not using the standard StepGens.I need to drive three linear coil motors that require a standard 5V hardware PWM signal. Could I please request a custom bitfile that replaces the first three StepGens with PWM Generators?Specific Routing Request:
- TB7 (Normally StepGen 0): Replace with a PWMGen.
- TB8 (Normally StepGen 1): Replace with a PWMGen.
- TB9 (Normally StepGen 2): Replace with a PWMGen.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17805
- Thank you received: 5208
05 Mar 2026 22:24 #343927
by PCW
Replied by PCW on topic Request: Custom 7C80 bitfile - Replace StepGens 0, 1, 2 with PWMGens (TB7, TB8,
So you want the DIR pin to be GPIO rather than PWM direction?
( The PWM direction pin is controlled by the sign of the PWM value )
( The PWM direction pin is controlled by the sign of the PWM value )
Please Log in or Create an account to join the conversation.
- Tony123
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
06 Mar 2026 07:57 #343931
by Tony123
Replied by Tony123 on topic Request: Custom 7C80 bitfile - Replace StepGens 0, 1, 2 with PWMGens (TB7, TB8,
Hi,
You are completely right. I took a step back and realized it makes much more sense to update my GUI to use a -100 to +100 slider so I can take advantage of the hardware direction.
So YES, please link the DIR pin to the PWM direction (your standard way).
Thank you for catching that and pointing me in the right direction!
You are completely right. I took a step back and realized it makes much more sense to update my GUI to use a -100 to +100 slider so I can take advantage of the hardware direction.
So YES, please link the DIR pin to the PWM direction (your standard way).
Thank you for catching that and pointing me in the right direction!
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17805
- Thank you received: 5208
06 Mar 2026 16:33 #343945
by PCW
Note that to get 0 PWM at startup or watchdog bite you may need to
1. Chose the output polarity that is 0 at startup ( I think this is the - pin )
2. Invert the PWM output in HAL
Replied by PCW on topic Request: Custom 7C80 bitfile - Replace StepGens 0, 1, 2 with PWMGens (TB7, TB8,
Note that to get 0 PWM at startup or watchdog bite you may need to
1. Chose the output polarity that is 0 at startup ( I think this is the - pin )
2. Invert the PWM output in HAL
Attachments:
The following user(s) said Thank You: Tony123
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
- Hardware & Machines
- Driver Boards
- Request: Custom 7C80 bitfile - Replace StepGens 0, 1, 2 with PWMGens (TB7, TB8,
Time to create page: 0.144 seconds