1 Reply Latest reply on Aug 7, 2019 4:20 AM by YashwantK_46

    How to handle CyU3PUartTransmitBytes call where the number of bytes successfully transferred is not the same as the number of bytes to be transferred?

    IzMa_4105896

      I'm using CyU3PUartTransmitBytes function to do register-based transfers on an FX3.  CyU3PUartTransmitBytes is passed a count parameter ("number of bytes to be transferred") and returns "number of bytes that are successfully transferred".  How to handle the situation where the number of bytes successfully transferred is not the same as the number of bytes to be transferred?  Will CyU3PReturnStatus_t != CY_U3P_SUCCESS if not all the data is successfully transferred?