Great thanks. I'll do some more experiments. I'm keen to get a solution for using ev motor resolvers. Any plans for digitally interfacing a resolver to digital converter?
Got it running. Thanks for the help :) Turned out it needed a tiny bit of braking current set. I had it at zero to stop it regening into the power supply.
https://www.youtube.com/watch?v=TH14ry6TOy8
Reduced the braking currents to zero and I can now accelerate the motor in calibration mode. Drive 2 and 3 leds stay on but no matter how long i wait all the leds don't activate. Seems like calibration is not happening for some reason.
Turns out the PGA411 has a Vio pin that you can choose what I/O voltage the pins work at. I had it at 3v3 of course. Now have very nice 5v square waves at the 3 hall pins. Motor still behaves as above. Don't think I'm getting into hall calibration mode for some reason.
So trying to calibrate the hall sensor mode. Got vaild UVW signals from the PGA411 resolver to digital chip. Some noise on the signals but using 1k/1N filter on the brain board. Entering the cal mode as per the instructions. The motor tries to spin up then stops and does a big regen. Never spins...
Working! The starts in sensorless are much better now. The rotor kicks back and forth a few time then starts motoring. Please forgive my ignorance but in terms of electrical RPM I'm guessing this relates to rotor RPM by the number of poles in the stator?
Thanks:) Finally decided to check out the Lebowski. Anyway, update to 2A1 done , most of the params back in. Now when i reset I get two sets of 2 leds flashing back and forth and no pwm generation. Did the FOC calc. Found I had to do it at 20A or it produced an overflow. Hex attached.