Card controller, state machine validation improvement