Datasheet

Table Of Contents
DA7280
LRA/ERM Haptic Driver with Multiple Input Triggers,
Integrated Waveform Memory and Wideband Support
Datasheet
Revision 3.0
30-Jul-2019
CFR0011-120-00
29 of 76
© 2019 Dialog Semiconductor
5.6.5.3 PWM Mode
Figure 14 shows how to operate the device in PWM mode.
1. Starting from either the IDLE or STANDBY state, apply a PWM signal to the GPI_0/PWM pin.
2. When ready to begin playback, set OPERATION_MODE = 2. The output will begin switching
after approximately 0.75 ms with a drive amplitude proportional to the duty cycle of the incoming
PWM signal.
3. While in the DRIVE state, update the duty cycle of the PWM signal to drive a new amplitude level
and create the desired envelope of the haptic sequence. If the duty cycle of the PWM signal falls
below the threshold set by FULL_BRAKE_THR, it is interpreted as a zero output drive level.
4. In order to stop driving, set OPERATION_MODE = 0. DA7280 will return to either the IDLE or
STANDBY state depending on the value of STANDBY_EN.
Note: The duty cycle of the PWM signal is interpreted differently depending on the value of
ACCELERATION_EN. If ACCELERATION_EN = 1, then zero drive corresponds to 50 % duty cycle ±
FULL_BRAKE_THR. If ACCELERATION_EN = 0, then zero drive corresponds to 0 % duty cycle +
FULL_BRAKE_THR. For further explanation, see Figure 30 and Figure 31.
I
2
C write to stop driving
I
2
C writes to start driving
Apply PWM signal
to GPI_0/PWM pin
Output starts
switching
Write
OPERATION_
MODE = 2
IDLE/STANDBY
DRIVE
Write
OPERATION_
MODE = 0
DA7280
stops
driving
Change the duty
cycle of the PWM
signal
Drive
amplitude
changes
Figure 14: Operation in PWM Mode