SLAAE27 June   2021 MSP430FR2155 , MSP430FR2155

 

  1.   Trademarks
  2. 1Introduction
  3. 2Design Description
  4. 3Software
  5. 4Test Results
    1. 4.1 Stepper Motor Output
    2. 4.2 DC Motor Output
  6. 5Summary
  7. 6References

DC Motor Output

The DRV8837C is used to drive the DC motor for iris control. The nSLEEP pin is set by MSP430FR2155 to enable DC motor drive. IN1 and IN2 pins are driven by MSP430FR2155 to control the speed and direction of the motor rotation as shown in Table 4-2.

Table 4-2 DRV8837C Device Logic
nSLEEP IN1 IN2 OUT1 OUT2 Function (DC Motor)
0 X X Z Z Coast
1 0 0 Z Z Coast
1 0 1 L H Reverse
1 1 0 H L Forward
1 1 1 L L Brake

MSP430FR2155 generates the PWM input for IN1 and IN2 to control the motor's forward or reverse rotation. Duty cycle of PWM is calculated by the software based on the motor voltage required for the DC motor operation. Direction, PWM frequency, and time-out are configurable in the software.

Figure 4-6, Figure 4-7, and Figure 4-8 show the supply voltage (VCC), nSLEEP (enable pin), and the motor drive (IN1, IN2) for forward and reverse rotation. Figure 4-9, Figure 4-10, and Figure 4-11 show the voltage and current profiles for different PWM frequencies.

GUID-735A3158-D788-4F35-8FAB-2156D6E58DEB-low.png Figure 4-6 Inputs to Motor Driver: VCC, IN1, IN2 for Reverse Direction
GUID-ED6A11BE-662C-4297-B813-AA511FE46E40-low.png Figure 4-7 Inputs to Motor Driver: VCC, IN1, IN2 for Forward Direction
GUID-38C1071A-094B-4A56-9D65-EDB29085C600-low.png Figure 4-8 Inputs to Motor Driver: nSLEEP, IN1, IN2
GUID-80C149D8-C82D-49BB-881F-4E94DD520CB9-low.png Figure 4-9 Voltage and Current, 50% Duty Cycle, 10 kHz, Reverse Direction
GUID-AE7B1574-A422-4265-A23D-E04366005422-low.png Figure 4-10 Voltage and Current, 50% Duty Cycle, 5 kHz, Reverse Direction
GUID-82921A47-B76B-436E-82CB-E72E399BF3FD-low.png Figure 4-11 Voltage and Current, 50% Duty Cycle, 2.5 kHz, Reverse Direction