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.

DRV8829EVM: How to use the EVM on GUI.

Guru 10385 points
Part Number: DRV8829EVM
Other Parts Discussed in Thread: DRV8829,

Hi team.

I want to know how to use on GUI.

I have some questions.

1. Regarding the switch S1.

    How to set S1 when I want to use MCU and GUI(Application for DRV8829 EVM)?

    My understanding is S1-7:High and S1-8:Low.

    Serial mode is always need Low?

2. Regarding when I set the switch S1 is S1-7:High and S1-8:Low.

    2-1 : When all check boxes were cleared in the Control Signals, the motor moved when the start steps button was pressed the in Stepper Control Screen.

             Is this normal work?

   2-2 : When Enable check box were checked in the Control Signals, a current of about 4.5 A flowed to the Vout terminal.

            Why does the current flow? Is this normal work?

  2-3 :  Can I control a current flow in the Control Signals screen?

3.When I want to use my MCU, how to connect this EVM?

Sincerely.

Kengo. 

  • Kengo,

    I am going to check the details.
  • Wang.

    How about this thread?

    I'm waiting for your reply.

    Sincerely.

    Kengo.

  • Kengo,

    1.  Yes. On my bench EVM, S1-7:High and S1-8:Low. The motor can run.

    2. 2-1: After I connect USB cable to PC,; connect motor to output; add input voltage to VM and click "Start Steps" in GUI. The motor can run normally.

    2-2: with the following setting the 12V input current is about 0.7A.

    2-3: When I click "Current Control (VREF) PHASEx", the input current goes up very high. That may match your side 4.5A.

  •  Kengo,

    2-3: I am not able to control the current flow in the Control Signals screen with S1-7:High because it is MCU HiZ mode. But, I can control the current by adjust the potentiometer R19.

    If S1-7 is set to low, I can use Control Signals screen to adjust the current setting.

    3. Please set S1-7 MCU HiZ mode. And then, use your own MCU to control this EVM.

  • Part Number: DRV8829EVM

    Hi team.

    I'm planning of controlling DRV8829EVM from the outside.(S1-7=Low)

    Does J10/J11 need to be controlled from the outside, doesn't it?

    When I control J10/J11 from the outside, is the setting of GUI invalid?
    By the way,
    When I set S1-7=high, the EN and PH pin was always 3.25V.
    Is it the EVM specification that goes High(3.25V) with the power ON ?
    Sincerely.
    Kengo.
  • Kengo,

    J10/J11 need to be controlled from outside. I would think GUI setting is invalid.

    S1-7=High, On board MCU is HiZ. That is why the EN and PH pin are 3.25V. They should be controlled by customer MCU with S1-7=high.

  • Wang.

    I'd like to confirm in your comment.

    ''S1-7=High, On board MCU is HiZ.''

     -> S1-7=High is MCU opelation according to User's guide.

          Is it correct what I can control by my MCU when S1-7=Low ?

    And then,

    If I choose S1-7=High, can I control at J10/J11(EN and PH).

    Sincerely.

    Kengo.

  • Kengo,

    "I can control by my MCU when S1-7=Low" Yes. I think so.

    "If I choose S1-7=High, can I control at J10/J11(EN and PH)." Yes.

  • Hi Wang.

    Thanks for your reply.

    I almost understood, however I'd like to know more detail and need your advice.

    1. Does the VREF need voltage when S1-7=Low(MCU-HiZ)?

    2. If it so, when can I use the potentiometer(R19).

    3. Do I need control GUI and potentiometer (R19) when S1-7=High and S1-8=Low(serial mode) .

    4. When S1-7=Low(MCU Hi-Z), where should I put the input signal at least?

    5. When S1-7=Low(MCU Hi-Z),does the MCU(MSP430) supply the signal somewhere?

    Sincerely.

    Kengo.

  • Wang.

    Thank you for checking.

    Could you give me your advice for more detail about my question No2(2. Regarding when I set the switch S1 is S1-7:High and S1-8:Low.).

    I could not control the current even if I choose at the control Signal screen.

    Are there any precautions or something to do?

    About the current control(VREF) Phase x,

    Do I need control the Potentiometer to move this setting?

    About the Move Steps, 

    Sometime it keeps moving.

    Are there any problems with the settings?
    Or is it a bug?

    Sincerely.

    Kengo.

  • Kengo,

    When you set S1-7 high, you make the onboard MCU on HiZ mode.  So, You could not control the current even if I choose at the control Signal screen.

    If you want to control the current with GUI, please set S1-7 low. The the Potentiometer can also move the current setting.

  • Wang,

    No, I set it High.

    High is MCU is operating on your data sheet..

    So I can not understand my issue.

    Sincerely.

    Kengo.

  • Kengo,

    After you sets S1-7 high, do you change the Ix setting to control the current?

    When I change Ix setting, I can measure the Ix test point voltage change. That controls the current setting.

  • I just merge two similar posts together.

  • Wang.

    Thank you.

    I'll wait for your reply at other thread.

    Sincerely.

    Kengo.

  • Kengo,

    1. Does the VREF need voltage when S1-7=Low(MCU-HiZ)? 

    It is related to the external MCU control signal. On the EVM, I saw Ix pin test voltage is 3.3V when S1-7=Low. If the external MCU doesn't have pull-up capability, the VREF is needed. 

    2. If it so, when can I use the potentiometer(R19).

    Yes. You can use R19 to adjust the current.

    3. Do I need control GUI and potentiometer (R19) when S1-7=High and S1-8=Low(serial mode) .

    When S1-7 is high, you can control GUI Ix or potentionmeter R19 to control the current.

    4. When S1-7=Low(MCU Hi-Z), where should I put the input signal at least?

    Yes.

    5. When S1-7=Low(MCU Hi-Z),does the MCU(MSP430) supply the signal somewhere?

    No. The on board MCU is on High-Z mode.

    If R19 sets the reference high and Ix pins are all high, you could see a high current.

  • Hi Wang.

    Thank you for your reply.

    Could you give me some advice?

    Regarding my question,

    4. When S1-7=Low(MCU Hi-Z), where should I put the input signal at least?

    Yes.

     -> Which pin do I have to input the signal at this time?

    Regarding the Move Steps in GUI, 

    Sometime it keeps moving.

    Are there any problems with the settings?
    Or is it a bug?

    Sincerely.

    Kengo.

  • Kengo,

    "4. When S1-7=Low(MCU Hi-Z), where should I put the input signal at least?"

    Put your own controller's signals on the test points.

    "5. Which pin do I have to input the signal at this time?"

    For the following control signals, you need to control. I measured those pins test points were 3.3V when S1-7=Low(MCU Hi-Z), So, if you don't add control signals, it may be 3.3V.

  • Wang.

    Thank you for your reply.

    According to your comment,

    ''For the following control signals, you need to control. I measured those pins test points were 3.3V when S1-7=Low(MCU Hi-Z), So, if you don't add control signals, it may be 3.3V.''

     -> Does each control pin always have 3.3V input, when MCU Hi-Z ?

    and then.

    How about bellow question?

    Regarding the Move Steps in GUI, 

    Sometime it keeps moving when I set 200 steps or other step. 

    Do not stop the Move Steps.

    Are there any problems with the settings?
    Or is it a bug?

    I don't understand why do not stop.

    Sincerely.

    Kengo.

  • Kengo,

    "Does each control pin always have 3.3V input, when MCU Hi-Z ?"

    Yes. Please check it on an EVM.

    "Sometime it keeps moving when I set 200 steps or other step. Do not stop the Move Steps."

    What is the microstep setting? How do you count 200 step? Please check the motor movement angle.

  • Wang.

    Thank you for your reply.

    "Does each control pin always have 3.3V input, when MCU Hi-Z ?"

    Yes. Please check it on an EVM.

    -> I confirmed it.

       However, I'll try connecting as bellow.

        Does MSP430 have internal Pull Up?

         Is there any problem with this connection?

    Sincerely.

    Kengo.

  • Kengo,

    If the MCU pull-up source voltage is not higher than MSP430 pin voltage rating and MSP430 is in Hi-Z mode, I don't see any issue.

  • Wang.

    MSP430 has internal pull down and pull down in the data sheet.

    It seems to remember the last command.

    If MSP is fixed Low, can I input an external signal?

    I am concerned that I can correctly communicate with the external MCU.

    Sincerely.

    Kengo.

  • Kengo,

    For test board or debugging board, you can force an external signal without worry about HiZ mode MSP430.

  • Hi Wang.

    Thank you for your reply.

    Why do you say ''without worry...''?

    Is that mean that it is a weak pulldown when MSP430 output Low signal? 

    Sincerely.

    Kengo.

  • Kengo,

    I mean when MSP430 is in HiZ mode, those pins should have a high impedance. So, the external signal can be forced to any value without thinking about the MSP430's connection.