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.

drv10983 I2C example

Other Parts Discussed in Thread: DRV10983, DRV10983EVM, MSP430G2253

Hello Everybody,

I am new with the drv10983 motordriver and I try to drive my ´default´ BLDC motor by I2C but unfortunately the chip gives no motor output.

Is there some I2C example code how to drive motors with this drivers?

Thank you in advance.

Allard

  • Hi Allard,

    Our experts for this device have been contacted. They should respond soon.
  • Allard

    I'm not able to understand your question fully, can you help me with:

    1. Are you trying to use external MCU  to communicate with DRV10983EVM via I2C and run the motor? or you have your own board?

    2. Right to use DRV10983 EVM, you need to install DRV10983 GUI and use USBtoANY ( refer to user-guide for more details) to communicate between GUI at your PC/laptop to DRV10983 EVM. Have you tried this option.

    Best Regards

    Milan-Motor Application Team

  • Thank you for your respons.

    1. I have made my own board with the schematic as described as typical application in the datasheet.

    I2C communication is OK. Read commands and write commands verify is ok. 

    But when I read the registers 0x1A and 0x1C I have some questions:

    - When I read 0x1a register the chip returns 0x00. Is that Ok with 12V power supply?

    - When I read 0x1C register the chip returns also 0x00. Why is the value 0x00, when I set the speed registers 0x01, 0x00 to max value in the right sequence.

    If you have a typical application driven by I2C, please show me, so I can check with those commands, and check of the problem is solved.

    Thank you in advance!

  • Mol,

    Ok thanks for providing details.

    For I2C communication, we provide example code with MSP430G2253 launch-pad & DRV10983 target board. Please refer to: http://www.ti.com/tool/drv10983evm-tb

    Scroll-down and download DRV10983 Programming tool under software section. This will show the project code for I2C communication. I hope this will help to understand the I2C communicaiton, meanwhile please give me some-time, I will get back toy you with answer to your first two quesitons.

    Best Regards

    Milan-Motor Applicaiton Team

  • Hello Milan,

    Thank you for your reply and for your code link!!

    The code is very clear.

    But unfortunately something goes wrong in the first command.

    That's the voltage read command, register 0x1A. In the sofware you sended my by link the application is waiting until voltage is upto 0xBB (=22 Volt).

    When I do the same sequence as described the chip returns 0x00, so that means 0 Volt, but it have to be 12 Volt. 

    How is it possbile that the chip returns 0 Volt, that's out of all ranges of course.

    Thank you in advance.

    Allard

  • Hello Milan,

    The problem is solved.
    There were some problems with the inductors.
    I have replaced them and the motor is functioning now.

    Thank you and TI for your fantastic service!
    Allard
  • how can I just download this example I2c code for the DRV10983