Power and motor wiring

The battery leads solder to the 5 × 9 mm pads on the long edges of the board (J1 BAT+, J2 BAT−), and the motor phases to the three pads on the top edge (J3 A, J4 B, J5 C). Recommended wire gauges are 12 AWG for the battery and 14 AWG for the motor. The holes in the pads are plated; use enough heat for the solder to flow through to the bottom side.

The input is for 3–6S LiPo, 25.2 V at most. Add a 470 µF 35 V low-ESR electrolytic capacitor to the battery leads, close to the ESC. The two 100 µF polymer capacitors on the board are not sized to carry the worst-case ripple current on their own.

  • Measure the battery polarity before soldering. A reversed battery permanently damages the MOSFETs and the TVS diode.
  • If the motor spins the wrong way, swap any two phase wires or reverse the direction in the AM32 settings.
  • Run the first tests without a propeller, from a current-limited supply or through a smoke stopper.

The CAN chain and JP1 termination

The ESC has two 4-pin JST-GH CAN ports (J8 and J9) wired in parallel on the board. Run the bus as a chain from the flight controller to the first ESC and on to the next; avoid star wiring and long stubs. Pin order: 1 5 V, 2 CAN_H, 3 CAN_L, 4 GND. The 5 V on pin 1 is passed between the two ports but not used by the ESC, which powers itself from the battery.

A CAN bus needs one 120 Ω termination at each end. One end is usually the flight controller (JP3 for CAN1 and JP4 for CAN2 on the FCU-6C); the other end is the last ESC in the chain. Close the JP1 (TERM) bridge on the bottom side with solder on the last ESC only, and leave it open on the ESCs in between.

  • Check: with everything powered off you should measure about 60 Ω between CAN_H and CAN_L. 120 Ω means only one end is terminated; 40 Ω or less means there is an extra termination.
  • The bus runs at 1 Mbit/s.

ArduPilot and AM32 settings

In ArduPilot, enable the CAN port for DroneCAN and tell it which servo outputs to send as ESC commands. Reboot the flight controller after changing the CAN parameters.

The ESC bootloader (AM32_L431_BOOTLOADER_PA2_CAN) is flashed through the J7 SWD pads on the bottom side: 1 3V3, 2 SWDIO, 3 SWCLK, 4 NRST, 5 GND. The hardware matches AM32's REF_L431_CAN target in pins and scaling, and that target's firmware runs without changes.

  • CAN_P1_DRIVER = 1 and CAN_D1_PROTOCOL = 1 (DroneCAN).
  • CAN_D1_UC_ESC_BM: bitmask of the outputs driven as ESCs; 15 (outputs 1–4) on a four-motor vehicle.
  • DroneCAN parameters on the ESC side (for an AT3520 KV550): MOTOR_POLES = 14, MOTOR_KV = 550, CURRENT_LIMIT = 60, TELEM_RATE = 25, REQUIRE_ARMING = 1 and a different ESC_INDEX on each ESC.
  • The ESC parameters are reached from Mission Planner's DroneCAN/UAVCAN screen. After setting ESC_INDEX, use a motor test without propellers to confirm every motor spins in the right order.

Without CAN: the DShot/PWM input

With a flight controller that does not use CAN, the ESC can be driven through the J6 signal pads: 1 SIG (DShot or PWM input), 2 TLM (KISS telemetry output), 3 GND. The pads are at 2.5 mm pitch and pad 1 is marked on the silkscreen. Always run GND together with the signal wire.

The SIG pad is also the AM32 Configurator's one-wire link, so ESC settings can be read and written through it.

    Current sensing and cooling

    Current is measured through a Kelvin-connected 0.2 mΩ shunt and an INA180A3: 20 mV/A, 164 A full scale. In AM32, MILLIVOLT_PER_AMP = 20 and CURRENT_OFFSET = 0 match this hardware, and TARGET_VOLTAGE_DIVIDER = 260 matches the bus-voltage divider. Because of the amplifier offset, a stopped motor may read typically 0.12 A and up to 0.75 A in the worst case; judge low-current readings with that in mind.

    The 50 A continuous rating assumes a heatsink and airflow. By calculation, at 50 A full throttle in prop airflow and without a heatsink the board reaches about 72 °C; in still air the temperature goes past acceptable limits even with a heatsink. The roughly 33 × 15 mm exposed copper area on the bottom side is meant for a heatsink, but that copper carries battery and phase voltage.

    • Mount the heatsink with an insulating thermal pad at least 0.5 mm thick and rated 3 W/mK or better; the calculations assume a 30 × 30 mm finned aluminium heatsink.
    • Place the ESC inside an arm or in the prop wash. The MCU is rated for 85 °C ambient at most; AM32's temperature protection is a last resort, not a design limit.