AW86225
October 2021 V1.9
www.awinic.com
18 Copyright © 2020 SHANGHAI AWINIC TECHNOLOGY CO., LTD
Figure 18 TRIG mode playback
Edge mode or level mode is accessible through configuration register TRG1_LEV. When an edge mode is
needed, user should set TRG1_LEV =0. In edge mode, register TRG1SEQ_P and TRG1_POS respectively
represent the waveform and enable signal of positive edge, where register TRG1SEQ_N and TRG1_NEG
respectively represent the waveform and enable signal of negative edge.
When a level mode is needed, user should set TRG1_LEV =1, and positive level and negative level can be
supported by setting register TRG1_POLAR=0 and setting TRG1_POLAR=1.
Table 3 TRIG MODE CONFIG
I2C reg
Trigger
Waveform
TRG1_LVL TRG1_POLAR TRG1_POS TRG1_NEG
0
X
0
0
-
none
X
1
0
↑
TRG1SEQ_P
X
0
1
↓
TRG1SEQ_N
X
1
1
↑/↓
TRG1SEQ_P/ TRG1SEQ_N
1
0
X
X
High level
TRG1SEQ_P
1
X
X
Low level
TRG1SEQ_N
Playback steps:
Waveform library must be initialized before playback;
Set INTN_PIN bit to 0 in register 0x44;
Set trigger playback registers (0x33, 0x36, 0x39, 0x3A, 0x44) as desired;
Send trigger pulse(
≥1μs
) on TRIG pins to playback waveform;
Device will be switched to STANDBY mode after haptic waveform playback finished.
Cont Mode
The CONT mode mainly performs two functions: F0 detection and real-time resonance-frequency tracking.
F0 detection can be launched by setting EN_F0_DET=1 and BRK_EN =1. When set TRACK_EN=1, real-time
resonance-frequency tracking will be launched by tracking the BEMF of actuator constantly. It provides
stronger and more consistent vibrations and lower power consumption. If the resonant frequency shifts for any
reason, the function tracks the frequency from cycle to cycle. When TRACK_EN is set to 0, the width of
waveform of cont mode is determined by DRV_WIDTH in
register 0x1A.
awinic Confidential