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.
I am testing a DRV8312-C2 Kit. Using the DRV8312GUI_Main.c, is there a way to set the target Motor Speed similar to the one in DRV8312 -EVM GUI?
Running the code in CCS, I see that the SpeedRPM is a calculated value which after enabling the motor, the speed is about 600 RPM (similar to the minimum speed setting in the GUI).
I am new on working with BLDC motors and hall sensors. Appreciate any feedback.
I have used the graphing Tool from CCS to capture 3 variables:
DlogCh1 = bldc_pwm1.CmtnPointer;
DlogCh2 = hall1.HallGpioAccepted;
DlogCh3 = Gui_SpeedRPM;
I am trying to understand the scale on both axes.
The ISR_Frequency for the BLDC Sensored is set at 20 kHz. That means one unit in x-axis (i.e. 1 sample) is taken every 50 microseconds.
How about the y-axis? How do I interpret the levels? For the A-0 and B-0 graphs, i am expecting values of 0-5. For the A-1 Graph, based on the value of Gui_SpeedRPM from the watchlist, it corresponds to about 600 RPM (595 RPM from the screenshot).
Looking forward for feedback. Thanks!