Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

SPI communication to Arduino

Other Parts Discussed in Thread: DRV8301

Hello!

I have set up my DRV8301 development kit controlling a motor on an electric scooter. I have reached lab 5a where I set the current-reference from the onboard pot-meter. 

I want to have some visualisation on my scooter where I want to show battery-voltage (DC-bus), motorspeed and stator resistance (which from I can calculate the motor temperature). I want to use the isolated SPI-interface to connect to an Arduino. The Arduino will show the input data on a OLED-display.

The SPI-configuration in the Arduino is pretty easy, but I am struggling a bit with the software in Code Composer Studio. I am not sure where to start, or what code to write. 

Is anything like this been done earlier? Can anyone give me some help on this?

Thank you very much!