You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on #44 it turned out that, under certain conditions, a MODBUS Server releases the bus after the second to last byte. The last byte won't be sent on the bus.
The following trace shows the UART TX in D1 and the RS485 transceiver direction in D2:
The text was updated successfully, but these errors were encountered:
The problem has been identified: RM0016 22.7.1 states that the TC flag has to be cleared by first reading UART_SR and then writing UART_DR. This condition is met - by accident - after the first transmission.
I'm working on a solution that fixes the problem and also takes advantage of >REL.
While working on #44 it turned out that, under certain conditions, a MODBUS Server releases the bus after the second to last byte. The last byte won't be sent on the bus.
The following trace shows the UART TX in D1 and the RS485 transceiver direction in D2:
The text was updated successfully, but these errors were encountered: