The following sequence is an example of how
the main device node establishes the
communication link with the remote device without
external signals outside of the standard communication link.
- Assert the core reset to both the FSITX
and FSIRX modules, and then deassert the resets.
- Configure the transmitter and receiver
for desired operation.
- Set up the receiver interrupts to detect
an incoming transmission.
- Begin the ping loop:
- Send the flush sequence.
- Send a ping frame with the frame tag
0000.
- Wait for some time. (determined by
application)
- If the FSIRX has received a valid
ping frame, continue; else iterate the loop again.
- If the received ping frame tag was
0001, continue; else iterate the loop again.
- Send a ping frame with the frame tag
0001.
At this point, both the main transmit and receive channels have
successfully received a frame from their remote counterparts. The link has been
established and standard application communication can begin.