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.

DRV8301-HC-C2-KIT SPI control

Other Parts Discussed in Thread: DRV8301

Hi,

I just bought the DRV8301-HC-C2-KIT for my school project. I know there's a SPI connector on the board, but I'm asking myself if I can control the output voltage or  frequency in real-time via the SPI.

I know that there's a pot on the board to do that or I can change it manually in the software, but is there a other way to do it in real-time with an other module  via SPI. In other words, control the sine output with an other device trought SPI communication.

thanks and sorry for my english,

Olivier Bergeron

  • The SPI to the DRV8301 is just used for setting up the DRV device if you want to change out of default configuration, and getting any status/fault information from the DRV8301. The DRV8301 needs PWM signals from a controller to control the inverter switching of the DC bus to the motor phases.

     

  • Thanks for your fast response,

    but I wanted to know if I can use the connector J8 to communicate with my microcontroller (F28035) to control the pwm that control my output. In other words, can I use the SPI connector J8 to control in real-time my 3 phase output voltage and frenquency.

    Regards,

  • Francis,

    As long as that header goes to pins where a SPI port can be accessed, while still allowing the other SPI port to talk to the DRV8301, then yes, you can add a SPI "stack" to send commands back and forth.