RS485 Problem

  • Hello,


    I use the NetDCU10 board with the actual kernel and the following COM-Port configuration:
    COM1 (RS232): NDCUCFG
    COM2 (RS232): used by my application
    COM3 (RS485): used by my application


    After setting the registry for RS485 usage (\drivers\builtin\serial3 "RS485"=dword:1) I can receive data on the RS485 (my ReadThread can read the data without problems) but I cannot transmit data.
    The sent data appears on the RS232 output of COM3 but not on the RS485 output...


    Does anyone has a good idea for solving this?


    Best Regards
    B. Kuesters

  • Hello,


    I found the solution by myself.


    For transmitting RS485 data the RTS signal (dcb.fRtsControl) has to be set to "RTS_CONTROL_TOGGLE" to set the "DE" signal at the RS485 transceiver.


    This solves the problem.


    Best regards
    B. Kuesters