This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RS485 modbus

I am trying to do modbus communication with instaspin. For controlling enable pin, I need to ensure that serial transmit register as well as serial buffer are empty. Can anybody pl. let me know what bit can be polled for the same?