RS485 VF50 and T20

I’m using RS485 with VF50/CE6 and with T20/CE7, with these settings

    PortDCB.BaudRate =  m_BaudRate ;
    PortDCB.StopBits = m_StopBits;
    PortDCB.Parity = m_Parity;
    PortDCB.fBinary = TRUE;                
    PortDCB.fParity = FALSE;                
    PortDCB.fOutxCtsFlow = FALSE;         
    PortDCB.fOutxDsrFlow = FALSE;         
    PortDCB.fDtrControl = DTR_CONTROL_ENABLE; 
    PortDCB.fDsrSensitivity = FALSE;      
    PortDCB.fTXContinueOnXoff = TRUE;      
    PortDCB.fOutX = FALSE;                
    PortDCB.fInX = FALSE;                
    PortDCB.fErrorChar = FALSE;            
    PortDCB.fNull = FALSE;               
    PortDCB.fRtsControl = RTS_CONTROL_TOGGLE; 
    PortDCB.fAbortOnError = FALSE;      
    PortDCB.ByteSize = 8;                 
    BOOL res=SetCommState (m_hserialport, &PortDCB);
  1. With T20 COM1 works, receiving data is correct and sending data is correct.
  2. With VF50 COM1 or COM2 and T20 COM2 receiving data is correct, but they send less data or bad data. It seems the direction not work properly, receiving is always correct but change of direction not works. (I’m using VF50 Image 1.3beta RTS is connected by not gate to RE/DE of transceiver)

Hi,

Please contact support and they will provide you test driver.

We did find some issues with latest official driver and we already fixed them. We will release them together with next version. You can follow our roadmap here → Windows Embedded Compact - VF50 / VF61 BSP Release