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?
Best regards,
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 !
Frank,
I am glad you were successful in your port. Unfortunately, I know of no sensored code that was developed for the DRV8301 platform.
Ryan Kehr
Motor Drive Application Manager
See attached for DRV8301 + F28035 + Sensored. Here is the readme
DRV8301 - Sensored BLDC
2011-12-12
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