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.

DRV8889-Q1: Stall detection process and stall current

Part Number: DRV8889-Q1

Hi team

I would like to ask some questions about the process of how could we successfully detect the stall condition?

1. I know we should configure the CTRL5 register bit[5] to 1 and bit[4] to 1 to let the DRV8889Q1 first to finish the stall learning, after that we see the bit[5] return to 0b and we could see the STL_LRN_OK goes high so it means the stall learning is OK right?

2. After that we could start the stall detection and see the SPI diagnose register DIAG_2 bit[3] to check whether it succeed in stall detection? What about the configuration of CTRL 5 bit[3]? Both bit[3] to 0 or 1 could we read the DIAG_2 bit[3] to check whether the stall detection start?

3. When the device recognizes the stall status and how much stall current threshold/requirement does the device recognize it will enter the stall status?

  • Zirui,

    1. Yes. if it is a new system, configure the CTRL5 register bit[5] to 1 and bit[4] to 1 to let the DRV8889Q1 first to finish the stall learning, after that we see the bit[5] return to 0b and we could see the STL_LRN_OK goes high so it means the stall learning is completed. Read the TRQ_COUNT register value and write it to STL_TH register as the stall threshold.

    If you already knew the STL_TH value according to the previous test, you can skip learn process (don't set CTRL5[5] to "1"), just set EN_STL=1 and STL_REP =1 if need.

    2. Yes. You can frequently read DIAG_2 register to check the stall condition. Or, you can check nFault pin; after it is pulled low. You can read DIAG_2 register immediately.

    Regards,

    Wang Li