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.

MCT8329EVM: MCT8329A

Part Number: MCT8329EVM
Other Parts Discussed in Thread: MCT8329A,

We are studying a motor drive system using MCT8329EVM. We  plan to prepare two MCT8329As on the same I2C bus to drive independent left and right motors, but we want to write parameters to the MCT8329A via I2C for the first time only. At this time, I want one of the MCT8329A to go to sleep so that I2C is not possible. How can I do this?

I am using PWM input mode to indicate motor speed, and I am using Forward Reverse Control such as following PWM duty table. The datasheet says that the MCT8329A transitions to Sleep mode when the PWM Duty signal stops and goes to less than VIL or equal to 0V, but the MCT8329EVM does not transition to Sleep mode.

  • Hi Okamoto-san,

    May you upload your registers so that I can see your settings?

    Regards,

    Hong

  • Hi Hong san,

    This is setting file.

    {
      "signature": "oneui-register-data",
      "data": [
        [
          {
            "idx": 0,
            "id": "isd_config",
            "value": "0x7F600002"
          },
          {
            "idx": 1,
            "id": "motor_startup1",
            "value": "0x001365B7"
          },
          {
            "idx": 2,
            "id": "motor_startup2",
            "value": "0x332D3281"
          },
          {
            "idx": 3,
            "id": "closed_loop1",
            "value": "0x10A61600"
          },
          {
            "idx": 4,
            "id": "closed_loop2",
            "value": "0x03A8240C"
          },
          {
            "idx": 5,
            "id": "closed_loop3",
            "value": "0x34C92001"
          },
          {
            "idx": 6,
            "id": "closed_loop4",
            "value": "0x601AC9D3"
          },
          {
            "idx": 7,
            "id": "const_speed",
            "value": "0x30010001"
          },
          {
            "idx": 8,
            "id": "const_pwr",
            "value": "0x1BB80640"
          },
          {
            "idx": 9,
            "id": "150_deg_two_ph_profile",
            "value": "0x24DB7200"
          },
          {
            "idx": 10,
            "id": "150_deg_three_ph_profile",
            "value": "0x48DB6946"
          },
          {
            "idx": 11,
            "id": "ref_profiles1",
            "value": "0x6DAD6E12"
          },
          {
            "idx": 12,
            "id": "ref_profiles2",
            "value": "0x396999B9"
          },
          {
            "idx": 13,
            "id": "ref_profiles3",
            "value": "0x76263608"
          },
          {
            "idx": 14,
            "id": "ref_profiles4",
            "value": "0x007F8000"
          },
          {
            "idx": 15,
            "id": "ref_profiles5",
            "value": "0x40000000"
          },
          {
            "idx": 16,
            "id": "ref_profiles6",
            "value": "0x007F8000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "algo_ctrl1",
            "value": "0x00000000"
          },
          {
            "idx": 1,
            "id": "device_ctrl",
            "value": "0x00000000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "ana_trim3",
            "value": "0x48004800"
          },
          {
            "idx": 1,
            "id": "ana_trim4",
            "value": "0x1100000000"
          },
          {
            "idx": 2,
            "id": "ana_trim5",
            "value": "0x00000011"
          },
          {
            "idx": 3,
            "id": "ana_trim6",
            "value": "0x00000000"
          },
          {
            "idx": 4,
            "id": "ana_trim7",
            "value": "0x00000000"
          },
          {
            "idx": 5,
            "id": "ana_trim8",
            "value": "0x00004EB3"
          },
          {
            "idx": 6,
            "id": "ana_trim9",
            "value": "0x00AD775C"
          },
          {
            "idx": 7,
            "id": "ana_trim10",
            "value": "0x536EF03B"
          }
        ],
        [
          {
            "idx": 0,
            "id": "fault_config1",
            "value": "0x707BB738"
          },
          {
            "idx": 1,
            "id": "fault_config2",
            "value": "0x1585C00A"
          }
        ],
        [
          {
            "idx": 0,
            "id": "gate_driver_fault_status",
            "value": "0x00000000"
          },
          {
            "idx": 1,
            "id": "controller_fault_status",
            "value": "0x00000000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "gd_config1",
            "value": "0x000780FC"
          },
          {
            "idx": 1,
            "id": "gd_config2",
            "value": "0x00000000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "pin_config1",
            "value": "0x20600002"
          },
          {
            "idx": 1,
            "id": "pin_config2",
            "value": "0x3E1020AA"
          },
          {
            "idx": 2,
            "id": "device_config",
            "value": "0x27104008"
          }
        ],
        [
          {
            "idx": 0,
            "id": "sys_status1",
            "value": "0x00A59964"
          },
          {
            "idx": 1,
            "id": "sys_status2",
            "value": "0x60010000"
          },
          {
            "idx": 2,
            "id": "sys_status3",
            "value": "0x00000000"
          }
        ]
      ]
    }

  • Hi Okamoto-san,

    I noticed that DEV_MODE = 0 in your settings, which corresponds to Standby mode. In that mode, I2C communication is still possible, so I would recommend to change DEV_MODE to 1, which will enable sleep mode.

    Then, you can set the SPEED/WAKE pin to 1 for one of the motor drivers to wake it up while you program a new address. After that, you can communicate to each driver separately using its I2C address.

    Regards,

    Hong

  • Hi Hong san,

    Thank you. I will check lator.

  • Hi Okamoto-san,

    Sounds good. If your issue is resolved, mark this thread as resolved, and if you have any more questions, feel free to ask.

    Regards,

    Hong