Texas Instruments DRV2605EVM-CT Datenbogen

Seite von 62
SLOS825C – DECEMBER 2012 – REVISED SEPTEMBER 2014
7.6.5 Waveform Sequencer (Address: 0x04 to 0x0B)
Figure 32. Waveform Sequencer Register
7
6
5
4
3
2
1
0
WAIT
WAV_FRM_SEQ[6:0]
R/W-0
R/W-0
Table 8. Waveform Sequencer Register Field Descriptions
BIT
FIELD
TYPE
DEFAULT
DESCRIPTION
7
WAIT
R/W
0
When this bit is set, the WAV_FRM_SEQ[6:0] bit is interpreted as a wait
time 
in which the playback engine idles. This bit is used to insert timed
delays between sequentially played waveforms.
Delay time = 10 ms × WAV_FRM_SEQ[6:0]
If WAIT = 0, then WAV_FRM_SEQ[6:0] is interpreted as a waveform
identifier for sequence playback.
6-0
WAV_FRM_SEQ
R/W
0
Waveform sequence value. This bit holds the waveform identifier of the
waveform to be played. A waveform identifier is an integer value referring
to the index position of a waveform in a ROM library. Playback begins at
register address 0x04 when the user asserts the GO bit (register 0x0C).
When playback of that waveform ends, the waveform sequencer plays the
next waveform identifier held in register 0x05, if the next waveform
identifier is non-zero. The waveform sequencer continues in this way until
the sequencer reaches an identifier value of zero, or all eight identifiers are
played (register addresses 0x04 through 0x0B), whichever comes first.
7.6.6 GO (Address: 0x0C)
Figure 33. GO Register
7
6
5
4
3
2
1
0
Reserved
GO
R/W-0
Table 9. GO Register Field Descriptions
BIT
FIELD
TYPE
DEFAULT
DESCRIPTION
7-1
Reserved
0
GO
R/W
0
This bit is used to fire processes in the DRV2605 device. The process
fired by the GO bit is selected by the MODE[2:0] bit (register 0x01). The
primary function of this bit is to fire playback of the waveform identifiers in
the waveform sequencer (registers 0x04 to 0x0B), in which case, this bit
can be thought of a software trigger for haptic waveforms. The GO bit
remains high until the playback of the haptic waveform sequence is
complete. Clearing the GO bit during waveform playback cancels the
waveform sequence. Using one of the external trigger modes can cause
the GO bit to be set or cleared by the external trigger pin. This bit can also
be used to fire the auto-calibration process or the diagnostic process.
Copyright © 2012–2014, Texas Instruments Incorporated
35
Product Folder Links: