background image

Hardware layout and configuration

UM2516

12/29

UM2516 Rev 4

The bottom side is mainly dedicated to the digital section. It is composed of the 
STM32G431CB microcontroller that performs a three shunt both sensorless and sensored 
FOC control and 6-step control in an LQFP 48pin package.

The STM32G431CB devices are based on the high-performance Arm

®

 Cortex

®

-M4 32-bit 

RISC core. They operate at a frequency of up to 170 MHz. The Cortex-M4 core features a 
single-precision floating-point unit (FPU), which supports all the Arm

®

 single-precision data-

processing instructions and all the data types. It also implements a full set of DSP (digital 
signal processing) instructions and a memory protection unit (MPU) which enhances the 
application's security.

The devices embed peripherals allowing mathematical/arithmetic function acceleration 
(CORDIC co-processor for trigonometric functions and FMAC unit for Filter Functions).

They offer two fast 12-bit ADCs (5 Msps), four comparators, three operational amplifiers, 
four DAC channels (2 external and 2 internal), an internal voltage reference buffer, a low-
power RTC, one general-purpose 32-bit timers, two 16-bit PWM timers dedicated to motor 
control, seven general-purpose 16-bit timers, and one 16-bit low-power timer.

Figure 7. 

B-G431B-ESC1

 bottom view

Содержание B-G431B-ESC1

Страница 1: ...This unit can be connected with an external battery LiPo type and accepts a command signal from an external unit for instance a flight control board or similar The system provides different communica...

Страница 2: ...or sensor connection Hall or encoder 15 5 5 CAN connection and configuration 15 5 6 STM32G431CB pinout for motor control 16 6 Connection and first execution of the electronic speed controller ESC prog...

Страница 3: ...6 Rev 4 3 29 UM2516 Contents 3 Appendix A Federal Communications Commission FCC and ISED Canada Compliance Statements 26 A 1 FCC Compliance Statement 26 A 2 ISED Compliance Statement 27 Revision histo...

Страница 4: ...nformation 7 Table 2 Codification explanation 7 Table 3 Truth table 16 Table 4 Main board STM32G431CB pinout for motor control 16 Table 5 Input output terminal table 18 Table 6 SWD connector for MCU p...

Страница 5: ...p view 11 Figure 7 B G431B ESC1 bottom view 12 Figure 8 B G431B ESC1 board mechanical dimensions top view 13 Figure 9 Communication programming and command interfaces 14 Figure 10 Motor sensor connect...

Страница 6: ...board Support for motor sensors Hall or encoder Supported by ST motor control software development kit SDK with ST motor profiler 3 shunt mode supported for motor current sensing L6387 High voltage h...

Страница 7: ...the codification of the Discovery kit is explained in Table 2 Table 1 Ordering information Order code Board reference Target STM32 B G431B ESC1 MB1419 STM32G431CBU6 Table 2 Codification explanation B...

Страница 8: ...his board is supported by the X CUBE MCSDK STM32Cube Expansion Package dedicated for motor control applications The source code is available and it is included and generated with this tool The B G431B...

Страница 9: ...ble an emergency procedure In the mass market a lot of ESCs are available to cover different kinds of R C models from the toy up to the professional unit with different motor current capabilities diff...

Страница 10: ...onnected boards and through a wired bus each ESC board receives or sends commands from or to an external unit for instance a flight control unit Figure 4 System structure overview The B G431B ESC1 pro...

Страница 11: ...ESC1 Discovery kit is a complete hardware platform power and control based on several ST products as shown in the following block diagram Figure 5 Block diagram with ST products The top side is mainly...

Страница 12: ...a processing instructions and all the data types It also implements a full set of DSP digital signal processing instructions and a memory protection unit MPU which enhances the application s security...

Страница 13: ...UM2516 Hardware layout and configuration 28 5 2 Board dimensions The total dimension of the B G431B ESC1 Discovery kit PCB is 30 mm x 41 mm as shown in Figure 8 Figure 8 B G431B ESC1 board mechanical...

Страница 14: ...e USB port is available to use the ST MC Workbench and Motor Profiler tool directly connected with the PC no external dongle is needed The CAN interface is provided with an onboard transceiver and a t...

Страница 15: ...32G431CB MCU The hardware circuit is based on UAVCAN standard https uavcan org so a little fuse is included to protect by overcurrent so that an accidental short circuit on the device does not bring d...

Страница 16: ...resistor H ON L OFF 1 1 High impedance Table 4 Main board STM32G431CB pinout for motor control Pin Default Signal Solder Bridge 1 VBAT 3V3 2 PC13 TAMP RTC TIM1_CH1N 3 PC14 CAN_TERM R26 4 PC15 N C 5 PF...

Страница 17: ...3 N C 27 PB14 Temperature feedback 28 PB15 TIM1_CH3N 29 PC6 STATUS 30 PA8 TIM1_CH1 31 PA9 TIM1_CH2 32 PA10 TIM1_CH3 33 PA11 CAN_RX 34 PA12 TIM1_CH2N 35 VDD6 3V3 36 PA13 SWDIO 37 PA14 SWCLK 38 PA15 PWM...

Страница 18: ...Hardware layout and configuration UM2516 18 29 UM2516 Rev 4 Table 5 Input output terminal table Main I O Terminal Function J5 J6 LiPo battery power input 3S 6S J7 3 phase motor connector...

Страница 19: ...evelopment In this case it is recommended to disconnect the power supply wires when the supply is switched off while USB is connected Some power supply types may cause board overheating in this case 6...

Страница 20: ...e PWM input and GND at J3 connector pin 4 and pin 5 The PWM input signal is either 3 3 V or 5 V the PWM is connected to a 5 V tolerant MCU input pin 6 Connect the main board with a LiPo battery or DC...

Страница 21: ...turned OFF 6 2 Second case daughterboard removed In case the daughterboard is removed Table 6 shows the relation between the SWD pinout on the main board and SWD on ST LINK V2 not isolated version ex...

Страница 22: ...Connection and first execution of the electronic speed controller ESC program UM2516 22 29 UM2516 Rev 4 Figure 16 SWD configuration on IAR tool...

Страница 23: ...es the mounting variant when several exist y is the PCB revision and zz is the assembly revision for example B01 The second line shows the board serial number used for traceability Evaluation tools ma...

Страница 24: ...2 Product identification BG431BESC1 AU2 This product identification is based on the mother board MB1419 G431CBU6 B04 It embeds the STM32G431CBU6 microcontroller with silicon revision code Y The limita...

Страница 25: ...ver lighting of the LD2 LED Revision B 04 The revision B 04 of the MB1419 board removes the limitations of the revision B01 by setting the resistor value of R8 and R9 to 470 Limitations No limitation...

Страница 26: ...tection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction...

Страница 27: ...following two conditions 1 this device may not cause interference and 2 this device must accept any interference including interference that may cause undesired operation of the device ISED Canada ICE...

Страница 28: ...021 3 Added Section 7 B G431B ESC1 Discovery kit information with updated Product marking B G431B ESC1 product history and Board revision history Class B Section Appendix A Federal Communications Comm...

Страница 29: ...selection and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to any intellectual property right is granted...

Отзывы: