rs485 half duplex
Posted: Mon Dec 22, 2008 11:56 am
I have the following issue and I would really appreciate if anyone could give me a tip.
I have one device connected to SB72EX port 0, using rs485 half duplex. I can perfectly read the data that comes from the device but when I answer the other device seems not to hear anything.
I tried uploading the SB72EX original firmware and to send the same information via TCP. The strange thing is that this works....
So I think there is something I am not doing well when writing to that port. I know there are some rs485 transceivers that I should toggle the ~RE bit to start writing, but I don't see that option in the API so I suppose it is done automatically...
Any tips why my code is not working? What would be the typical setup to be able to write some bytes to port 0 with rs485 half duplex?
Thanks in advance
I have one device connected to SB72EX port 0, using rs485 half duplex. I can perfectly read the data that comes from the device but when I answer the other device seems not to hear anything.
I tried uploading the SB72EX original firmware and to send the same information via TCP. The strange thing is that this works....
So I think there is something I am not doing well when writing to that port. I know there are some rs485 transceivers that I should toggle the ~RE bit to start writing, but I don't see that option in the API so I suppose it is done automatically...
Any tips why my code is not working? What would be the typical setup to be able to write some bytes to port 0 with rs485 half duplex?
Thanks in advance