base state machine teste, open uart ok