Texas Instruments DRV8662EVM - DRV8662 Evaluation Module DRV8662EVM DRV8662EVM Datenbogen

Produktcode
DRV8662EVM
Seite von 26
Low-Pass
Filter
DRV8662
EXTIN-
EXTIN+
MSP430
Low-Pass
Filter
DRV8662
General Operation
3.3
Input Modes
The DRV8662 requires either a low-pass filtered PWM waveform or an analog signal to drive piezo loads.
By default, the DRV8662EVM uses the MSP430 PWM input mode with a low-pass filter. This section
describes each input mode in detail and the modifications necessary for operation of each. See the
section for more details on adapting the PWM waveform using a
low-pass filter.
The DRV8662EVM supports four input modes for driving the DRV8662:
MSP430 PWM input: In this mode, the onboard MSP430 (U2) generates a PWM waveform that is sent
through the low-pass input filter to the DRV8662.
External PWM input: An external source supplies a PWM waveform to the EXTIN header which is
sent through the low-pass input filter to the DRV8662.
External analog input: An external source supplies an analog waveform (sine wave) to the EXTIN
header. The low-pass input filter may be removed.
I
2
C input: An external source supplies an I
2
C™ stream that is decoded by the MSP430 to produce a
PWM output waveform. The PWM waveform is then sent through the low-pass input filter to the
DRV8662. This option requires special firmware for decoding the I
2
C stream.
NOTE:
By default, the EVM is configured to use the PWM waveform generated by the MSP430.
Follow the instructions given in
if you plan to use an external input source or
change the PWM frequency.
3.3.1
MSP430 PWM Input Mode
Figure 3. MSP430 PWM Input Mode
When using the DRV8662EVM in MSP430 PWM input mode, the onboard MSP430 generates a
differential PWM signal that is sent through a low-pass filter to the DRV8662. The DRV8662EVM is setup
to use this mode by default. Follow the quick-start instructions (refer to
) for using the
DRV8662EVM in this configuration.
If specific waveforms are needed other than those already on the MSP430, the firmware can be updated.
To update the firmware, download
(or a third-party MSP430 IDE) and connect the
DRV8662EVM SpyBiWire to the computer. The
offers an MSP430 USB-to-JTAG hardware
interface (
for updating and debugging MSP430 code. The DRV8662EVM kit includes a
JTAG-to-SpyBiWire adapter for connecting the JTAG interface to the DRV8662EVM SpyBiWire connector.
Sample code is also available on the
3.3.2
External PWM Input Mode
Figure 4. External PWM Input Mode
The PWM input mode can be used with an external processor or PWM source. The PWM signal is a
carrier wave (duty-cycle modulated) at a frequency much higher than the analog signal it represents. This
approach is a common and easy way to create haptic waveforms. Using this mode requires an input filter
that transforms the PWM carrier waveform into an analog signal. This transformation is achieved by low-
pass filtering the PWM carrier waveform which is at a frequency typically 20 kHz or greater.
7
SLOU319A – August 2011 – Revised December 2012
DRV8662 Piezo Haptics Driver Evaluation Module
Copyright © 2011–2012, Texas Instruments Incorporated