My machine has this problem, too.
I've tested the magnetic hall-effect sensor in the grinder motor assembly. It's sending pulses as expected.
I've read that the controller monitors the grinder motor current to determine if it is actually grinding beans.
I haven't attempted to diagnose that...