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!