SLVAF75 August   2021 DRV10987

 

  1.   Trademarks
  2. 1Introduction
    1. 1.1 Sleep and Standby Mode
    2. 1.2 Conditions for Entering or Exiting Sleep
    3. 1.3 Sequence to Enter Sleep Mode
  3. 2Implementation
    1. 2.1 Hardware Setup
    2. 2.2 Power Up Sequence With Speed Pin in I2C Speed Command Mode
    3. 2.3 Implementing Option 1
    4. 2.4 Option 1 With Zero Value at Speed Register
    5. 2.5 Implementing C Code With Option 2
    6. 2.6 Implementation of Exiting From Sleep Mode
  4. 3References

Implementing C Code With Option 2

In the DRV10987 12- to 24-V, Three-Phase, Sensorless BLDC Motor Driver Data Sheet, the sequence of four steps is described to enter sleep mode. Not mentioned in the data sheet but necessary, Step3 is needed for implementation of Option 2. Apply High to the Speed pin to exit sleep mode. Before entering sleep mode, apply low to the Speed pin.

Table 2-2 Implementation C Code
DRV10987 Data SheetImplementation in C Code
Step1Set the motor disable bit to 1, that is, write 1 to register 0x60, EECtrl[15]
/* Step1 disable motor. 0x8000 at 0x60 */ DRV10987Q_Send(DRV10987Q_EECTRL_Reg ,0x8000);
Step2Set the I2C OverRide bit to 1, that is, write 1 to register 0x30, speedCtrl[15]
//Step3 overRide 1 DRV10987Q_Send(DRV10987Q_SpeedCtrl_Reg ,0x8000);
Step3Step3: Apply low to speed pin.
After entering sleep mode This step is needed to exit sleep mode.
P1OUT &= ~BIT5;//Speed pin voltage low 0V.
Step4Set the motor disable bit to 0, that is, write 0 to register 0x60, EECtrl[15].
// Step4 enable motor DRV10987Q_Send(DRV10987Q_EECTRL_Reg ,0x0000);
Step5Provide the value of zero to the speed control register to enter sleep mode. That is, write 0 to register 0x30, speedCtrl[8:0].
/* step6 overRide 0, speed 00 */ DRV10987Q_Send(DRV10987Q_SpeedCtrl_Reg ,0x0000);
GUID-20210630-CA0I-022D-K9V6-8C5S8DTDWPCM-low.jpg
Ch1: 24 V, Ch2: SDA, Ch3: SPEED PIN Ch4: W PHASE VOLT of Motor
Figure 2-4 Waveform of Entering Sleep With Option 2