MCF8316A: Device always gives NACK

Part Number: MCF8316A

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:

MCF8316 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
Slave Address: 0x02 - Write Operation

I2C Read Operation: Slave Address - 0x03
I2C Slave Address: 0x03 - Read Operation

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


  • Hi Aakash,

    Could you please help verify the MCF8316A's regulator voltages to ensure the device is powered up properly?

    • AVDD should be 3.3V
    • DVDD should be 1.5V
    • VBK should be 5V

    Are you using hardware or software I2C implementation? You can use the project included in this E2E FAQ as reference for I2C implementation, which uses a MSP430 LaunchPad to communicate with MCx devices.

    If you have a MCF8316AEVM, you could also try jumper wiring the I2C signals from the EVM's USB-to-I2C interface to your custom PCB and see if you're able to communicate with the MCF8316A device.

    Regards,
    Eric C.