Other Parts Discussed in Thread: DRV8301, MOTORWARE, CONTROLSUITE
Tool/software: Code Composer Studio
Hi
All I need to know is how to do the sensor integration on the board, I need to read a Optical Sensor.
Pleas assist.
Thanks
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.
Tool/software: Code Composer Studio
Hi
All I need to know is how to do the sensor integration on the board, I need to read a Optical Sensor.
Pleas assist.
Thanks
Have you used ControlSUITE or Motorware? These are our software repositories for generic C2000 devices (ControlSUITE) or for specifically InstaSPIN-enabled devices (Motorware).
In terms of the EVM, if you look at the schematic (which is included in Control Suite), you'll see that there aren't any additional ADC pins broken out for the user. Of the 8 that are broken out (3 for phase current, 3 for phase voltage, 1 for DC bus voltage, 1 for tach/potentiometer), the only one you could re-purpose would be the potentiometer input. You would have to modify the board to physically disconnect the potentiometer marked "speed control", and then you could line into ADCB0 through the TSI line (which was meant as a test point, but can be re-purposed to present a signal to the ADC input).
The quickest way to get familiar with adding an ADC input would be to look at the "motorware_hal_tutorial.pdf" file in Motorware under Training: User's Guides , Labs, and Tutorials -> InstaSPIN Projects Additional Tutorials. There is a section in that document that discusses how to interface the potentiometer into a Motorware lab to perform speed control; you'll have to co-opt this to instead present your sensor input. The idea should be pretty similar.
Sean