How to setup AM32 ESCwith arduplane?

Hello,

I was wondering if I can use ESCs with AM32 firmware with Arduplane. Documentation does not mention it at all.

Since AM32 supports PWM, DShot300 and DShot600 it should work just as every other DShot300/600 ESC.

1 Like

Thanks for the reply.

How about configuring the ESCs? There is this online tool but I am not sure if I need to follow the instructions for the passthrough here or do anything else to be able to connect to the escs with this browser-app.

Finally about SERVO_DSHOT_ESC, should I set it to 1 I guess?

Since information about AM32 is sparse, I would set up the FC passthrough like for a BLHeli_32 ESC. Basically SERVO_BLH_AUTO = 1 and connect with the web-app.

SERVO_DSHOT_ESC = 1 is perfect, according to AM32’s GitHub page it supports KISS telemetry

1 Like

Did you ever get this to work with telemetry? I have a SkyStars KM55A wit AM32 with SERVO_DSHOT_ESC = 1 working on Arducopter 4.4.4 but I don’t see any telemetry data coming in (RPM, temp etc.) at all.

Sorry cant help, I continued with BLHeli32 ESC after all.

OK, thanks for the reply.

This can have multiple reasons…
Is the telemetry wire correctly connected (plugged into a serial port)?
Is this serial port configured correctly? ( SERIALx_PROTOCOL = 16)
Is SERVO_BLH_TRATE non-zero?
If nothing above worked, did you try with bi-directional DShot (bdshot)?

It’s only bdshot I’m using and it’s working fine when using Betaflight. I think it’s software related and not properly implemented jet. Thanks for the reply anyways.

We managed to configure AM32 ESC telemetry on the MatekH743 running Arducopter. The configuration process should be quite similar for Arduplane.

Just make sure you set up serial protocol accordingly.

Hello,

I would also be interested in the solution to get ESC Telemetry from an AM32 ESC.

I flashed AM32 onto a Holybro Tekko32 F4 Single ESC, set the “30ms telemetry” option, connected and configured according to

https://ardupilot.org/plane/docs/common-esc-telemetry.html

but I don’t see any non-zero numbers on the ESC1* Values, Voltage, Temperature, Current are all-zero.

I run this on a Matek F405 Wing V2 on the non-bdshot binary and I’m using regular PWM for control.

I started this endeavor to get Motor RPM for Propeller Efficiency comparism.

Are these features by any chance not compiled into the binaries? I assume it’s not common to use bdshot capable ESCs on a plane.

Even with extended telemetry using BLHeli_32 you may not see any data for those fields, RPM only.

Thanks, I have not managed with the non-bdshot binary, so I’m switching to bdshot binary and see if it works out somehow. Interesting though, BLHeliSuit32 finds the “unknown” AM32 ESC via passthrough but the AM32 ESC Config Tool does not connect at all.

You should use the bdshot target, since it should be supported. But that should make no difference in whether or not the ESCs function with DSHOT output.

Very strange that you can get some data via passthrough, but the AM32 app doesn’t find them.

Please keep us posted on progress.

Issues solved.
I made a mistake while flashing bootloader onto the ESC, flashed a 64k firmware where I should have used the 32k firmware.

Therefore it did not really enable the ESC Telemetry output and maybe had other issues as well.

I now see temperature, voltage, current and well I suppose I will see rpm when I’ll do tests later.
It comes up on the servo channel that throttle is on, so I see it on ESC3_* values, standard elevon plane setup.

I don’t know where the esc telemetry comes in currently. I run both DSHOT600 on channel3 and have connected the ESC telemetry cable to serial rx.

2 Likes

Easy to determine. Disable the serial telemetry and see if it’s still there. I do this routinely anyway to make sure ESC RPM is actually coming from Bdshot.

Just verified, everything comes via serial rx, voltage, current, temperature. maybe rpm will come from bdshot too.

You want it to, the update rate is much faster than serial. I would confirm that.

Just confirmed, that I get rpm via bdshot. Interesting though, the ESC does not work with DSHOT1200, just up to DSHOT600, so I’ll leave it at that. Maybe it’s feasible to go to DSHOT150 to lower CPU consumption or whatever is the effected resource.

Dshot1200 wasn’t stable with Ardupilot anyway. If AM32 is working with Bdshot at Dshot600 there is nothing else to wish for.

1 Like