Hi, I am working on a project that requires me to control a BLDC motor for a Gimbal System. I am using the MCF8316A motor driver on a custom developed board with the following schematic:
For the micro-controller, we are using STM32G491MET6 for the configuration & control of the motor driver. As per the data-sheet, the target ID mentioned is 0x01. I have tried both Read & Write Operations but unable to get an ACK from the MCF8316. Below are the images from the oscilloscope:
I2C Write Operation: Slave Address - 0x02
I2C Read Operation: Slave Address - 0x03
In both the cases the device always gives NACK which prohibits me from further communication with the device.
Following are the states of the pins:
(1) nFAULT = 3.3V
(2) FG = 3.3V
(3) DRVOFF = 0V
(4) BRAKE = 0V
(5) DIR = 3.3V
Please let me know if there is any obvious mistake that I am making.
Regards