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.

28027F Controlling DRV8301 through I2C

Other Parts Discussed in Thread: DRV8301, MOTORWARE, CONTROLSUITE

Hi,

I'm using the Piccolo 28027F launchpad, and I would like to use the I2C to control the DRV8301. Is it even possible ?

I tried to use the 2802xI2C eeprom example, with little success. I cut the jumpers on the launchpad to use the I2c ad SPI separately but now I have no idea hot to include the I2C into the motorware code???

I havent seen anything similar being done on the forum.

Help would be greatly appreciated.

Thank You

  • Hi Rok,

    DRV8301 does not support I2C but supports SPI and here is the info:

    DRV8301 said:
    The SPI interface provides detailed fault reporting and flexible parameter settings such as gain options for current shunt amplifier, slew rate control of gate driver, etc.

    Try with the "spi_loopback" example in controlSuite.

    Regards,

    Gautam

  • Hi Gautam - thank you for the reply - maybe I wanst clear enough what I want to do - well I definitely wasn't clear enough. I dont want to control the DRV8301, I want to communicate with  the launchpad via I2C, and send commands to control the brushless motor, and receive data from the motor.

    I opened another topic on the forum, and explained the issue in details - here it is: http://e2e.ti.com/support/microcontrollers/c2000/f/171/t/322178.aspx

    Thanks again for the fast answer.