I am currently using the W7107SR to comunicate with another board via UART.
My application uses Ethernet to communicate with W7107SR. The W107SR converts the payload to RS232, sending via TX line to my other board.
The problem I’m having is when the payload sent by my application is a status command. The status command triggers a response from my board into the RX line of the W7107SR, so it can send to the application my board’s current status. After the w7107SR successfully sends the status response to my application, it returns in the TX line the number of bytes written in ASCII format (“10\r\n” for example). This behavior corrupts the command that follows the status command.
I thought it was a debugging feature, however using the Configuration Tool I unchecked the debugging option and it still sends the bytes written info to my board.
To test this behavior I used Hercules connecting to TCP Client:
1 - Hercules sends 3 commands in a row: reset, status, configuration
2 - W7107SR sends the reset command in TX.
3 - Board executes the reset.
4 - W7107SR sends the status command in TX.
5 - Board respond the status command.
6 - W107SR starts sending the configuration command in TX.
7 - W7107SR successfully sends the status response back to Hercules.
8 - W71707SR inserts the number of bytes written to Hercules in TX (Before finishing sending the configuration command)
9 - Board receives an invalid corrupt configuration command. (Which means, the number of bytes written to Hercules is in the middle of my command)
Is there a way to disable it? Are there any alternatives solution to my problem?
Thanks in advance