I'm seeing the same results with a clean profile.
I'm thinking that the issue may be the AM882, and something with the pulses at 200Khz.
I tried various steps/unit settings, and all exhibit the same behavior when the pulse rate is around 133-135Khz.
When UCCNC is set at 200Khz, when the pulse rate gets higher than ~135Khz, the motor starts to spin slower. It appears to accelerate until it reaches ~135Khz, then starts slowing down. The more you increase the pulsae rate, the slower the motor spins.
It's very noticable with a very slow accel setting.
If I set the steps/unit at 12800, and the velocity at 800, the motor accelerates to about 640, then slows down. When you release the jog key, it actually accelerates back up to ~640, before decelerating to a stop.
The AM882 is rated for 200Khz, so I was assuming that I couldn't use the 400Khz rating.
I decided to try the 400Khz to see if I would get the same results.
What I found was that I could duplicate the problem, but it occurred at higher speeds. I was able to get the pulse rate up to about 198Khz, before the problem became apparent.
At 12800 steps/unit, I was able to run up to 930units/min. Any faster, and it started to slow down.
So, to me, it appears that the AM882 doesn't like the pulse rate from UCCNC in 200Khz mode. Or perhaps there's a noise issue with my test setup?
I have a DMM AC servo that I just got repaired, that I'll try to wire up this weekend and do the same tests. That should tell me if the issue is with the AM882.
If it is an AM882 issue, why would it work better with 400Khz mode, than with 200Khz mode?
Now that I know it works fine in 400Khz mode, that's the mode I'll be using. 400Khz is preferable to me anyway, as I'll be using a mix of the AM882 (Z axis only) and DMM AC servos.
But I will try to check with the servo, to see if it is indeed an issue with the drive.