Gateway is equipped in 2 transceivers MAX481 that realize transsmision in RS485 standard on each channel independently. Similar to RGB, each channel can be enabled by SIPO shift register 74HC595BQ.

To ensure transmission in RS232 standard there is also ST3232BTR IC, which allows transmission on each channel independently.

There is possible to use only one pair of each interface at the same moment, because RS232 and RS485 use common UART pins on MCU.

Redisage provides package with demo firmwares.

RS232 Example description: https://docs.redisage.com/dpr/rs232

RS485 Example description: RS485‎