7i76E one PWM needed

More
10 years 9 months ago #68155 by sirhc
7i76E one PWM needed was created by sirhc
Hello,

I have a 7i76E card setup and running. Now I need a PWM generator to control a L298 H-bridge.
I've already install the Xilinx software and I'm able to compile bit files. Which PIN file is supplied with the 7i76e file when it's shipped?
Is it possible to add one PWM generator and have PWM functionality on one of the GPIO pins? How should I proceed?

Kind regards,

Chris

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

More
10 years 9 months ago - 10 years 9 months ago #68157 by PCW
Replied by PCW on topic 7i76E one PWM needed
PIN_7i76x1D_51.vhd is the pin file used for creating the default 7I76E config
You would need to add the PWM to one of the expansion port pins (or steal a step/ dir pin if you dont need all 5)
Last edit: 10 years 9 months ago by PCW.
The following user(s) said Thank You: sirhc

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

More
10 years 9 months ago #68158 by sirhc
Replied by sirhc on topic 7i76E one PWM needed
I only use three stepgen generators so I can use the fourth for PWM. I'll give it a try this evening.

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

More
10 years 9 months ago #68200 by sirhc
Replied by sirhc on topic 7i76E one PWM needed
I've got it working! Thanks for your help!

Regards Chris

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

More
10 years 9 months ago - 10 years 9 months ago #68209 by PCW
Replied by PCW on topic 7i76E one PWM needed
That's great. Its a really big help when people can make their own custom bitfiles

(I realize not everyone can or wants to do this)
Last edit: 10 years 9 months ago by PCW.

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

More
10 years 9 months ago #68945 by sirhc
Replied by sirhc on topic 7i76E one PWM needed
Hi,

I ran into a little annoying issue. When I close Linuxcnc or turn off the PC the PWM value will go to 100% (5V). How can I change this behaviour so it will be 0% (0V)?

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

Moderators: PCW, jmelson
Time to create page: 0.081 seconds
Powered by Kunena Forum