User manual
Motor Control Shield with BTN8982TA
for Arduino
Users Manual 19 V0.9, 2015-03
6: Run the software the motor will spin
1
2
3
4.2.3 Software hints
4
For hints, tutorials, software examples, a quick introduction and further information around the DAVE™ –
5
Free Development Platform for Code Generation, visit the DAVE
TM
web site.
6
The DAVE
TM
App structure of the software example H-bridge for the Motor Control Shield is shown in
7
Figure 13. The output voltage is controlled by the two PWMSP001 Apps. The ramp time is controlled by a
8
third PWMSP001 App via interrupts. The inhibit signals are software controlled by the IO004 App.
9
10
Figure 13 App structure of the example software H-bridge
11
To change the PWM frequency from 25 kHz to a different value the settings of both PWM App instances
12
PWMSP001/0 and PWMSP001/0 have to be modified. There, the PWM frequency can be easily set to different
13
values.
14
15
16