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.

DRV10983Q1EVM: Unable to enter decimal values for motor resistance

Part Number: DRV10983Q1EVM
Other Parts Discussed in Thread: DRV10983-Q1, , USB2ANY, DRV10983

I'm trying to setup the motor parameters for a BLDC pump.

The phase to center tap resistance is measured at 0.5875 Ohms (half of the phase-to-phase resistance).

Looking at the datasheet (table 3), the nearest value would be 0x2F (0.582 Ohms)

But when I try to enter 0.5875 into the GUI, the number automatically jumps to "1" ohms. (this is true for any number less than 1)

The only valid numbers for phase to center tap resistance are full integers between [1..18], except 10 and 15..

How can I setup the board to use 0x2F / 0.528Ohms using the GUI?

Or is there another way I can force the board to use 0x2F as value?

  • Im assuming you are using the DRV10x GUI with DRV10983-q1 selected. When I enter 0.5875, into the "Phase to Center Tap Resistance" field, the number automatically goes to "582m". Thus I wasn't able to see your issue.

    Please check again if the issue happens. Disable, then enable "Enable Configuration" button to make sure the gui is refreshed, or maybe close and open it.
  • Thanks for your reply.
    Yes, I'm using the DRV10983Q1EVM with DRV10983-Q1 selected.

    I retried a few times. (restarting the GUI, rebooting the PC, with/without USB2ANY connected)

    The issue always appears, both in demo mode and in normal (connected) mode.

    A few thing that may be important for this issue:

    • I can enter 0,5875 in the field, but as soon as I press tab or click somewhere outside the cell, the value goes to "1".
    • I can not enter 0.5875, the point is ignored. Only comma's are allowed.
    • I can enter 587m in the field, but as soon as I press tab or click somewhere outside the cell, the value goes to "1".
    • I can lower the value using the arrow keys up/down, but as soon as I press tab or click somewhere outside the cell, the value goes to "1".
    • When looking at the logfile, I see that the actual value that is sent to the DRV10983 does not match with the 0.587 value but it matches with 1 (0x3D):
    GUI.write_register("DRV10983Q1","CONFIG1",0x3D)
    GUI.read_register("DRV10983Q1","CONFIG1")

    Any ideas?

    Thanks for your support.

  • My GUI doesnt behave the same way yours does for some reason.

    First, just run the GUI in demo mode, to isolate any issues happening with interface to USB2any.

    Proposed workaround for now: Program that phase to center tap resistance through a script.
    a) Go to "Script" tab and click "Launch Window".
    b) in the launched window, change the Phase to Center Tap Resistance register directly by pasting the following code.

    GUI_Module=__import__('DRV109xx EVM')
    GUI=GUI_Module.Device_GUI("DRV109xx EVM.exe")
    GUI.write_register("DRV10983Q1","CONFIG1",0x2F)
    GUI.read_register("DRV10983Q1","CONFIG1")

    c) To run the program, in the launched window, go to "Run" tab, and click "Run module". Save the program when it asks you too. this should change the register directly.

    I'd like to know what version of the GUI you are using. PLease click in the GUI, the "Help" tab, and click "About". Please give version information, build date, and supported OS. Also please tell me which operating system you are using.
  • Hey erik, were you able to solve your problem or any further help needed?
  • Hi Sanmesh,

    Thanks for your update. The issue also appears in the demo mode.
    Version info:

    DRV10983Q1 EVM

    Version information: 3.3.4
    Build Date: 19th April 2018
    Supported OS: Windows 7

    PC info:
    i5 3.00 GHz, 16.0 GB RAM, 64-bit Windows 10 Pro version 1803.

    Thanks for the suggestion to directly write to the registers using a script. I'll try that after I repair the board (I suspect it got damaged due to back-emf during tests).. to be continued.

  • Hey Erik,

    I have the same exact GUI version which I am using on windows 10 pro and dont see the issue.

    Did my workaround solution work for you or were you able to solve the problem?
    If not, maybe uninstalling and reinstalling the GUI would help.

    Sincerely,
    Sanmesh U.
  • I will close this for now since I havent heard back, but if you have any questions, respond to this thread or create a new one.