My struggle with MCF8315A continues!
Finally, I am (sort of) able to control it from my own software, but it never behaves as expected.
First I load a default set of registers which I set up after spending many hours with the Motor Studio and the EVM.
Then before I do anything with it, I initiate MPET and wait unti I get value 0 in register 0x190.
Then I try to run the motor at different speeds, and the result is far from my expectations. That, assuming MPET had finished (because sometimes it goes on forever until a power cycle).
The motor kicks, sometimes moves in the opposite direction or in the same direction but at different speed, then changes to some other speed, but not what I wanted. Sometimes it just vibrates with no rotation at all. Sometimes it fails to stop. It is just unpredictable.
My motor is 42BL41.010.
All I want is to give the motor a certain speed to spin at. How hard can that be with MCF8315A with all those registers in it?
Thanks!