- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I have a Cyclone V De0-Nano-SoC board and a multi motor h-bridge that works fine with an Arduino, but doesn't want to communicate with the fpga. I want to start out by controlling one DC motor and then increase it to 4. At the moment, I have 2 sub-modules (one that generates a PWM signal and one that is an SPI interface to communicate with the H-bridge). Then I have a top-module that calls both the PWM and SPI sub modules. Once I select my pins and plug in the DC motor, nothing really happens.
Any help is greatly appreciated.
Any help is greatly appreciated.
Here is the Google drive link to the code files: https://drive.google.com/drive/folders/1krjX9-6z09WJnTHxSNiqIpNnaN6kTLmP?usp=sharing
Link for the H-Bridge in use: https://www.robotshop.com/ca/en/multimoto-4-channel-h-bridge-speed-controller-arduino.html
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So the first question would be do you see activity on the arduino header signal lines?
Do the PWMx lines toggle as expected (as viewed on a logic analyzer or oscilloscope)?
Is there SPI device communication with each of the selected motor control ICs? And is it as expected?
A logic analyzer with SPI protocol capability would be really useful for debug.
It could very well be your pin assignments are not correct (something simple to fix).
Or your internal code is not functioning correctly (more difficult debug).
Have you done a simulation of the design to verify your FPGA code is correctly operating?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ham1,
First of all, we recommend to verify the signals with Signal Tap Logic Analyzer compared to your expected signals.
If you aren't familiar with Signal Tap Logic Analyzer, please see the following materials.
5. Design Debugging with the Signal Tap Logic Analyzer
SignalTap II Logic Analyzer: Introduction & Getting Started
https://www.youtube.com/watch?v=RtPqQ25hSIk
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ham1,
Do you have any update? Or Has the issue been fixed?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page