Tool/software:
Hi all,
I am trying to use the stall algorithm using the DRV8889-Q1 part. I drove the motor to a hard stop and waited for the STL_LRN_OK bit to change from 0 to 1, but that never happens. I followed the steps described below but it doesn't seem to work. Are there test conditions that I need to consider to allow training to be done properly or additional register settings that I need to make? Thanks.
Ed
The instructions are from this site.
Here is what I think to run stall learning process:
1. run the step motor to target speed and make the output current still keeps the sinusoidal waveform
2. make sure the decay mode is the ripple control decay mode
3. enable stall learning: set STL_LRN =1
4. Stall or block the motor
5. check STL_LRN_OK bit status to make sure learning success.
6. check the STALL_TH register to make sue the STALL_TH is not too low.