You are correct. But it looks like serial0 also depends on something from the A9 side. Perhaps there is another option to check that the serial0 is ready to send.