DRV8234: Question on DRV8234

Part Number: DRV8234

Tool/software:

Hi Team,



I had a quick question regarding DRV8234.

Is the counted ripple information stored only in RC_CNT?

If so, when executing a command like “move 400 ripples then stop”, is the value 400 based on the count stored in RC_CNT?

When is the value in RC_CNT reset?

Is it reset only when RC_CNT reaches its maximum value?

How can I set the origin of the rotation? 

Appreciate your insights!

  • Hello,

    In order to count to a certain number of ripples, the RC_THR and RC_THR_SCALE registers can be used. 

    NRT = RC_THR × RC_THR_SCALE --> where NRT is the number of ripples at threshold

    RC_THR = 100 (0x64)

    RC_THR_SCALE = 2

    After threshold is set, then you should clear the counter using CONFIG0 before starting. 

    See section 7.3.6.1.7 Ripple Count Threshold of datasheet for more details on process. 

    Best,

    David