Other Parts Discussed in Thread: MCF8316A
Hello,
I'm evaluating the MCF8316A for a project. I've got a custom board on order and I'm trying to use the eval kit and web-based GUI to work out the parameters and settings in the mean time.
I keep running into the MPET_BEMF_FAULT error. The fault handling guide suggests increasing the open loop current reference and/or decreasing the open loop slew rate. I've tried both and it doesn't seem to help. It looks like MPET successfully finds the resistance (2.4ohm) and inductance (0.062mH), but stalls out before finding the BEMF constant.
I would like to bypass MPET entirely and just use manually entered values. I followed the guide on using an oscilloscope to manually find the BEMF constant, which I determined to be 3 mV/Hz (this is a custom motor with no datasheet). I entered all three values by manually editing the MTR_PARAMS register and see that they have been correctly set by reading the motor status registers. I also manually set MPET_CMD, MPET_R, MPET_L, and MPET_KE to False. I expected these settings to mean that MPET won't run at all, but when I set it to run, the algorithm state goes right to MPET_KE_MEASURE and results in the same MPET_BEMF_FAULT as before. Throughout, the motor status registers read the values that I set them to and never revert to "SELF MEASUREMENT" as they normally do when MPET runs.
Is there any way to totally disable MPET?
Thanks,
Mitcham