Forum Discussion

first_rain's avatar
first_rain
Icon for New Contributor rankNew Contributor
5 years ago

Request for a verilog code to connect PCA9685 to Altera Cyclone IV FPGA based development board

Hello

I'm need to control a bunch of servo-motors by a FPGA board (Altera cyclone IV core). I'm using a PCA9685 as the driver of the motors. I would be greatly tanksful if you could give me some hint or if it's possible a Verilog based example for running the motor driver.

So far I assigned a pwm output from the fpga pin to SCL pin on PCA board, beside the vcc and the ground, I also wired one of the switches as for 0 or 1 to SDA pin assuming that the 0 would chose the servo 1th and the 1 would be choosing the servo number 1. nothing happens so far :)).

Thanks in advance.

4 Replies