AW86225
October 2021 V1.9
www.awinic.com
19 Copyright © 2020 SHANGHAI AWINIC TECHNOLOGY CO., LTD
After the EDGE_FRE register is configured as 4’b1xxx, the CONT mode outputs a filtered square wave. The
edge of filtered square wave is composed of SIN or COS wave whose frequency can be configured by
EDGE_FRE register. When SIN_MODE register is configured as 1, filtered square wave is composed of COS
wave.
Playback steps:
Set PLAY_MODE = 2 in register 0x08 to enable CONT mode;
(optional)Set EN_F0_DET = 1 and BRK_EN =1 to enable F0 detection;
Set cont mode by configuring registers(0x18~0x20 and 0x22);
Set GO bit to 1 in register 0x09 to trigger waveform playback;
Delay 1ms;
If enable F0 detection, get F0 information from registers(0x25~0x28) after GLB_STATE=0;
Device will be switched to STANDBY mode after haptic waveform playback finished.
Tracking
DRV1_TIME = 4
DRV2_TIME = 5
DRV1_LVL
DRV2_LVL
4
3
2
1
1
2
3
4
5
Figure 19 Cont mode playback
Auto Brake Engine
An auto-brake engine is integrated into this device. Users can adjust the brake strength by setting D2S_GAIN
in register 0x49. The greater D2S_GAIN, the greater brake strength and the worse loop stability. Auto-brake
engine is disabled when setting BRK_EN=0 or BRK_TIME=0.
To enable Auto-brake engine, there are some points to note:
TRGx_BRK in register 0x39,0x3A should be set to 1 when in TRIG mode;
Auto-brake engine will not work when EN_F0_DET in register 0x18 is set to 1;
Auto-brake engine will not work when BRK_TIME in register 0x21 is set to 0;
Device will be switched to STANDBY mode after haptic waveform playback finished.
BRAKE ENGINE
D2S_GAIN
Motor
SENSOR
PLAY WAVE
BRAKE WAVE
DRV_WIDTH
awinic Confidential