- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone. My mission this week is to make a step motor move by FPGA
I need to program the FPGA to send out a pulse, and i plan to use the clock to send a 3.3V and then connect to the stepper motor, however, i have no idea which pin to use... I tried to write some codes, here are my codes(it's probably really stupid to someone, but please help me) module simplemotion(switch, clk, motion); input switch,clk ; output motion; assign motion = switch&clk ; endmodule so when switch is on , then motion will be equal to clk. However, it doesnt move. Would anybody help me.:cry:Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Without the motor specs it's hard to say. It may be the drive requirement is more than the FPGA can provide, or your clock is clocking faster than your motor can respond to.
First things first however. With the motor disconnected, you you see with an oscope the clock output when the motion pin is in the correct state? Pete- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the motor controller i am using is M542
and the FPGA i am using is the one with the chip EP1C3T100C8N i will try to check the frequency by CRO first
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page