Could I config the IO's RC port to a duplex single wire serial?

Hi,everyone
I am trying to config the IO’s RC input to a single wire serial port in px4iofirmware(src/modules/px4iofirmware/serial.c) . However it can never send back a word. Why? Do I miss anything for that? Thank you!