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

Implementation of Exiting From Sleep Mode

When exiting from sleep mode, the Speed command mode is analog mode or PWM mode according to EEPROM data and High is applied to the Speed pin. A value of 2 µs is needed to exit from sleep mode and 350 ms is required to drive the motor after exiting from sleep mode. The waveform of exiting from sleep mode shows 342 ms between exiting from sleep mode and running the motor.

   P1OUT |= BIT5;// Speed pin High 3.3V
/* input motor speed with I2C speed command mode */
   DRV10987Q_Send(DRV10987Q_SpeedCtrl_Reg  ,0x8050);
GUID-20210707-CA0I-X9NS-4SVK-XL5CVMQVCN5G-low.png
Ch1: 24 V, Ch2: SDA, Ch3: SPEED PIN Ch4: W PHASE VOLT of Motor
Figure 2-5 Waveform of Exiting From Sleep Mode