AMIS-49587
http://onsemi.com
3
Chat Application
When the Chat application is chosen:
1)
Type the address of the MODEM to whom you would like
to send a message in the ‘Destination Address’ field. The
MODEM address is coded in the configuration file and
displayed in the status area.
2)
Type a message in the bottom single line text field and hit
‘Enter’.
When the first message is sent from the master window, the
slave will synchronize with the master and display the message it
received in its text frame above its text input field. Follow the log
in the main window to check if all goes well. The first message
always needs to be initiated from the master window. When the
slave is properly synchronized, messages can be transmitted from
slave to master.
Depending on the previous state of the master, the first message
may fail to deliver. Initiate the send request again.
Figure 3 Master Window, configured with chat trace
Figure 4 Slave Window with chat trace
Data Loop Application
In the data loop application a constant data frame is sent from
one node (master or slave) and is received by the addressed node.
The receiver node can be configured to send the data back to the
sending node, implementing a data loop.
To setup a data loop, make sure the configuration file is written
to the MODEMs and in one node:
1)
Check the ‘Enable loop’ checkbox to make this node into a
receiver and loop node.
In the window of the transmitter node:
2)
Enter the frame length. The maximum is 247 bytes, the
minimum is 13 bytes.
3)
Enter the number of times the data needs to be transmitted
4)
Enter the destination address
5)
Check the ‘Wait for looped data’ checkbox to make sure the
transmitter doesn’t send a new frame before receiving the
looped data.
6)
Click the start button
Figure 5 Initiator node of the data loop
The LLC layer counters indicate the number of transmitted and
received frames. The approximate bit rate is calculated at the end
of transmit and receive sequence.
Figure 6 Receiving and looping node
By clicking the ‘Update Data Counters’ button, the MAC layer
counters that are kept in the MODEM are retrieved. The number
of received frames is the total of ‘CRC OK’ and ‘CRC NOK’
frames. All counter values can be reset by clicking the ‘Reset’
button.
The current implementation of the data loop does not check for
errors in the looped data.