I'm converting the demo SW sensored BLDC DRV8312 so that it can used for the DRV8301. Until now I haven't succeed to make the buildlevel 4 work as expected.
Do you have at TI already a demo SW sensored BLDC for the DRV8301?
Finally I made again the migration more slowly from the sensorless SW to the sensored SW and now it works.
But I'm still interested in a more robust sensored SW for DRV8103 from TI !
I am glad you were successful in your port. Unfortunately, I know of no sensored code that was developed for the DRV8301 platform.
Motor Drive Application Manager
See attached for DRV8301 + F28035 + Sensored. Here is the readme
DRV8301 - Sensored BLDC
To compile correctly the BLDC_int folder can reside somewhere likeC:\ti\controlSUITE\development_kits\drv8301_dev (new folder)
Note that there is a bunch of non-used and mis-named code; this was built up from an InstaSPIN-BLDC project for a customer sensored demo in a day…it works, but it’s not something we would want to publish.
Instructions for demo:
Make sure:#define BUILDLEVEL LEVEL7in BLDC_Int-Settings.h
Make sure project/active build config is: F2803x_DRV8301_RAM
Build and load program to controlcard.Enable Real-time modeRunSet watch window to continous refresh
Add to watch window:
EnableFlag -- Set this to 1 to get motor control startedBackTicker -- This will increment to let you know the program is running hallCommutateFlag -- Set this to 1 to change from force-commutate to speed-controlSpeedRef -- This is the target speed (in normalized to speed of 5000rpm)(speed1).Speed -- This is the speed reading (from the speed macro, in nomrmalized pu)(speed1).SpeedRpm -- This is the speed reading (in RPM)
These speeds are for a custom motor, but very similar to the NEMA17 BLDC
Speed (RPM) Speed (pu)1200 0.241800 0.362500 0.502700 0.543300 0.66
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.