I based my changes on the earlier post http://e2e.ti.com/support/microcontrollers/c2000/f/902/t/321420.aspx?pi303962=1
and i have modified the files to make use of these new apis.
The Hw is drv8301kit_revD. The Hall sensor is attached on Jumper J10 on the kit.
This motor is identified correctly and is working in Lab5c.
I am not able to spin my motor with the Hall changes. I am sure the Hall sensors work fine and i am able to
deduce the angle in the HALL_ReadTheta function. On manual rotation the angle i do see all the values seen in
the switch ladder.
I am able to see that there is small displacement of few degrees when i execute the Lab 12.
But that is all the motion i see. The current rises first time from 0.08A to about 0.21 A at first jerk.
Later on the current rises to max of 0.81A and there is no motion at all. I changed the reference
speed but this does not have any change in outcome. I even checked using different values of theta offset
and the Bandwidth but this does not alter the behaviour.
I am attaching my modified files for lab12 and my user.h
I am trying to improve the low speed response using some feedback loop. i would like to go to lower speed of 1 rpm.
I am using Hall since these should provide approximate commutation sequence from power off unlike the encoder. There is also mention of
IPD in the thread but i think this is not provided in latest version of motorware.
I will verify the response with a quadrature encoder once i get it. Do suggest what can be wrong in current setup.
Best regards
Aj
Motorware version:motorware_1_01_00_12
Tools version:c2000_6.2.6