beautypg.com

Service pin and led test – Echelon FTXL Hardware User Manual

Page 87

background image

FTXL Hardware Guide

79

• outputDataStream – To write a frame to the host, the frame is first

copied to this buffer (including the length byte), and then the length is

written to the host. The interrupt service routine writes the rest of the

data.

• uplinkReceived – TRUE when an uplink message has been received.
• unnexpectedUplink – TRUE if the uplink message does not match the

expected uplink message.

• pExpectedUplinkMsg – Pointer to the expected contents of the next

uplink message.

Figure 35 shows the signals during the Interrupt Test. On the left-hand side,

you can see the downlink transfer; on the right-hand side, you can see the uplink
transfer. At the bottom, you can see the interrupt line.

Write Downlink

Read Uplink

Transceiver

ready for

downlink data

Transceiver

has data to be

read by host

Unserviced

interrupt from

previous tests

Figure 35. Signals during the Interrupt Test

Service Pin and LED Test

The service pin, service interrupt, and service LED are all tested in a single

simple test. This test can be performed independently or in conjunction with the

other FTXL Transceiver tests.

This test is performed entirely in the service pin interrupt routine, which

illuminates the service LED each time the service pin is pressed, and clears it
each time the service pin is released.