Closed Marsma13 closed 3 years ago
What i would need to know are the 6 pins to the MOSFETs driver and the associated 3 comparator pins back from voltage dividers from the motor phases. Then which pin is the input and telemetry These are mostly the same between targets, it's just the order that changes. Take a look at the targets file and one might match yours already ..the mp6531 matches the wraith32 target. https://github.com/AlkaMotors/AM32-MultiRotor-ESC-firmware/blob/master/Inc/targets.h
Ok so i take multimeter in hand and do a measurement.
If the FD6288 have proper mapping situation is like this: LIN1 - PB1 HIN1 - PA10 DIV1 - PA0 LIN2 - PB0 HIN2 - PA9 DIV2 - PA4 LIN3 - PA7 HIN3 - PA8 DIV3 - PA5
TELE - PB6 INPUT - PA2
Common to all phases through resistor - PA1
As I see it is the same as TMOTOR 45A.
Cannot see the telemetry input and common input in config file is this even matter?
Above mapping is for Airbot Ori32 BLHeli32
I will do mesurements for Pyrodrone ESC tommorow.
For Pyrodrone F3 34A ESC mapping is the same as TMOTOR 55A INPUT is PB4 TELE is PB6 COMMON is PA1
And phases are: LIN1 - PB1 HIN1 - PA10 DIV1 - PA0
LIN2 - PB0 HIN2 - PA9 DIV 2 - PA4
LIN3 - PA7 HIN3 - PA8 DIV3 - PA5
Great, that is just the info we need. So far all targets use pb6 for telemetry and pa1 is common to all for the comparator virtual neutral so it's not in the config file. That's also the same as iflights pinout. The tmotor just has an extra led function.
Added to target compatibility list in wiki.
I have to ESC with fried MCU. Pyrodrone and Airbot. I know that Pyrodrone use F350 MCU but it is pin compatible with F051. I can prepare pinout for it but i have to know what exactly you need to know for being able to build FW for it. Can i help you somehow?