TIDUE59A May 2018 – September 2020
By default, the DRV8837 on the DRV8837EVM is controlled by an onboard MSP430™ MCU, and the entire DRV8837EVM is powered through a micro-USB interface. To control the DRV8837 from the CC3220S, the following steps must be taken to modify the DRV8837EVM and connect it to the CC3220S LaunchPad.
In this example, two GPIOs and one PWM signal are used to control the DRV8837. Table 3-3 lists the connections required between the LaunchPad and the modified DRV8837EVM when using the included reference software.
CC3220 LAUNCHPAD | DRV8837EVM |
---|---|
P18 | nSleep (JP2) |
P16 | IN1 (TP1) |
P17 | IN2 (TP2) |
5V | VM (J1) |
GND | GND (J1) |
Further modifications of the DRV8837EVM are necessary to accurately measure the power consumption of the motor. These modifications are described in Section 3.2.