Tool/software:
Is it okay to control the DE pin and RE pin in opposite directions by connecting the DE pin and RE pin to the OPEN collector node of the NPN TR and controlling the TR BASE through one GPIO of the MCU?
GPIO: HIGH (receive mode ON, transmit mode OFF)
GPIO: LOW (receive mode OFF, transmit mode ON)