FPGA communicating with H-Bridge
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