This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCF8316A: cannot repeatedly write register values with IIC

Part Number: MCF8316A


Hi Team,

The program will get stuck when IIC is repeated to send values to registers. IIC communication is good at the beginning, but IIC is stuck when the ALGO_CTRL1 register is repeatedly written, and only after the chip is powered down, it would be able to re-communicate.

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Hi Cherry,

    What state of motor operation is the MCF8316A in when this I2C communication issue occurs; spinning, idle, braking, etc.?

    Regards,

    Joshua

  • Hi Joshua,

    Thank you for the support.

    They can control the motor operation just at the beginning. And the customer enables the brake foot to stop the motor, after several repetitively, IIC can write data but no longer can control the motor rotation.

    Also, the fault register shows no error.

    Thanks and regards,

    Cherry

  • Hello Cherry,

    I believe that the customer is running into a known issue with I2C communication on the MCF8316A. This is listed as Errata #8 for the MCF8316A in our Product device information FAQ. This Errata occurs when the registers of the device are written to or read during motor operation which can result in the device to not be able to communicate with the host and the MCF8316A will require a power cycle to be able to communicate again.

    This Errata can be mostly avoided by writing slowly to the device but to completely avoid this issue communication during motor operation will need to be avoided completely. This Errata has been resolved with the MCF8316C so if reading/writing through I2C during motor operation is needed this device will not result in the issue being scene.

    Regards,

    Joshua