Hi,
I have TRB142 with FW TRB1_R_00.07.02.4
I have python script implementation in TRB142 to communicate with m-bus master device over rs232. M-bus master device has own communication protocol to communicate.
M-Bus master device CPU wakes up when RS232 pin-1 (CD signal RS232 pin assignment specs ) is asserted (around +5-6V). Communication requires that CPU is a wake (= CD signal is asserted). As default TRB142 rs232 cd signal is deasserted (-5.6V) even the serial port is open.
My question is how I can control RS232 pin-1 state programmatically or by configuration?
I Found that there is possible to switch RS232 interface serial type to "Over IP". Then there appears true/false parameters for "CD pin indication" and "CD pin invert". When I Enable RS232 to Over IP with both parameters to be true then CD signal pin will be asserted (and m-bus master device cpu wakes up). Conclusion is that it is possible to control cd signal (pin-1) state somehow. BUT python script serial communication over RS232 is not working correctly when TRB142 serial type is set to "over ip" mode. So enabling rs232 with serial type Over IP is not the solution for this case. I only want to control CD signal state.
Thanks,
Jarkko