Welcome to the forum.
It looks like you have SERIN mixed up with SERIN2. Take a close look at SERIN2 and SEROUT2 and use those commands.

Here is an example(s)...