UM2516
Connection and first execution of the electronic speed controller (ESC) program
7.
Generate on J3 connector a PWM signal at 490 Hz and duty cycle value between
1060 µs and 1860 µs, the motor starts to rotate respectively from the minimum to the
maximum speed. The ESC is not armed (no driving signals generated) if the duty cycle
is lower than 1060 µs.
Note:
In case the motor is already started, a blank time of 1500 ms on the PWM signal determines
the switch off of the system (ESC turned OFF).
6.2
Second case: daughterboard removed
In case the daughterboard is removed,
on the main board and SWD on ST-LINK/V2 (not isolated version) external programmer.
Table 6. SWD connector for MCU programming (daughterboard removed)
Pin no. in
STLINK
1
2
6
7
9
Set the SWD interface inside the IDE tool, for instance, a picture of IAR Workbench is
shown in
If the daughterboard is removed the following pad connections are available on it:
•
On the top side -> SWDIO, SWCLK
•
On the bottom side -> NRST, +10V,+5V, 5V_ESC, GND
Figure 15. PWM input signal for motor speed regulation
ST-
ST-LINK/V2
LINK/V2
connector
VAPP
Target VCC
VAPP
Target VCC
GND
-
-
SW IO
-
SW CLK
Figure
16.
Table 6
shows the relation between the SWD pinout
Target connection
function
(SWD)
MCU VDD
MCU VDD
GND
SWDIO
SWCLK
UM2516 Rev 4
Pin no. in DK B-G431B-
ESC1 (J4 pad)
3
3
4
1
2
21/29
28
Need help?
Do you have a question about the B-G431B-ESC1 and is the answer not in the manual?
Questions and answers