Test-Ok eC-test-mate Hardware Reference Manual Download Page 11

Copyright © TEST-OK. All Rights Reserved.

11 / 35

Serial Channel (UART 101)

The serial channel is designed to work with signal levels up to 5V. The actual output voltage is equal to the
voltage that is configured for Digital Output Group 101 if this voltage is equal or less than 5V. For higher
Group 101 voltages, the Serial channel is fixed at 5V.
The Serial input has a fixed VIHmin of 1.7V.
The SERAL_TX pin is driven by a level shifter (SN74LVC1T45) with a series resistor of 100 Ω. This means
that the sink and source current of the output is limited.
The baud rate, parity and some other parameters can be configured via a configuration command.
Two buffers are associated with the serial channel, one for transmission and one for reception. Transmission
is initiated by sending one or more bytes to the TEST-OK Board by means of the SERIAL_TX command.
The bytes in this packet are copied to the transmit buffer and then sent over the serial interface using the
configured baud rate and parity.
Received bytes are stored in the receive buffer. These bytes can be sent to the host in two ways: either on
request of the host ('polling' mode) or when one of two configured conditions occur ('interrupt' mode): more
than <n> bytes are present in the buffer (RxThreshold) or one or more bytes are present in the buffer and no
new data is received for more than <t> milliseconds (RxTimeout).
When StxMode is enabled (see description below), then the reception of an ETX byte will also result in the
buffer contents being sent to the PC.
The interrupt method is best and guarantees that there is no unnecessary delay between the reception of
data and the availability on the host.
The RxTimeout method allows to synchronize with the stream of bytes from the target board when there is
some time between two consecutive packets.

Note 1: the naming of the connector pins is as seen from the eC-test-mate. SERIAL_TX is therefore an
output on which the data towards the UUT is provided by the EC-test-mate and SERIAL_RX is an input on
which data from the UUT is received.

Note 2: the output (transmit) driver on the eC-test-mate Type I has a 100R series resistor and may therefore
not be able to source or sink excessive loads on the UUT. For higher baud rates, this may also have an
impact on the wave forms.

Configurable parameters and their default after start-up or reset:

Parameter

Description

Default

Value

Baud rate

Baud rate of the serial channel. See the table below for information on the
error % for standard baud rates.
Non-standard baud rates are supported as well as long as they are in the
range 300..11520 baud.

9600 baud

Parity

Determines whether a parity bit is sent and whether it is even or odd

No parity

RxInterrupt

If 'on', the TEST-OK Board will send RX_RECEIVE packets without waiting for
a host request

Off

RxThreshold

Number of received bytes in the Rx buffer that will generate an 'interrupt'

32 bytes

RxTimeout

Time after which received bytes are sent to the host in the absence of new
data

100 ms

StxMode

If set, the TEST-OK firmware will put STX and ETX bytes around the packet
and DLE's will be inserted if necessary.

off

Some standard Baud Rates and their error percentage:

Baud Rate

Actual Rate

% Error

300

300

0.00

1200

1200

0.00

2400

2400

0.02

9600

9606

0.06

19200

19193

-0.03

Summary of Contents for eC-test-mate

Page 1: ...Copyright TEST OK All Rights Reserved 1 35 eC test mate Hardware Reference Manual Version 1 1 0 0 10 21 2014...

Page 2: ...Description 19 Analog Inputs 201 202 19 Digital Inputs 201 204 20 Digital Outputs Group 201 and 202 20 Bi Directional Digital I O 20 Serial Channel UART 201 20 RS485 RS485 201 21 CAN CAN 201 21 I2C I2...

Page 3: ...pter applying too high voltages may result in damage to the device Unlike the TEST OK fixture the Test Probes are connected directly to the Unit Under Test UUT hereafter without an intermediate nail b...

Page 4: ...er If the Unit Under Test UUT requires more test points then there are available on one or when the mix of required test functions is not available from a specific eC test mate type then it is possibl...

Page 5: ...ype I there are also references to the TEST OK Description Language TDL commands that can be used to control the functional blocks A block diagram of the eC test mate Type I is shown in the figure bel...

Page 6: ...pecifications Input impedance 1 8M Input range 100mV 24V Resolution 1 mV Accuracy 20mV or 0 2 Sampling rate 2kHz with digital filtering The maximum allowed input voltage that will not result in damage...

Page 7: ...rt circuit by means of a 100 series resistor Clamping diodes protect the outputs against voltages above 26V and below 0V if such voltages were inadvertently applied to the outputs All outputs are set...

Page 8: ...working input voltage is 24V Clamping diodes protect the inputs against voltages above 25V and below 0V The maximum allowed input voltage that will not result in damage is 31V Some of the inputs have...

Page 9: ...d for 5V and 24V is applied on the corresponding EC test mate pin then there will be a voltage of 18 5V across the 100R resistor which would result in 3 4W dissipation Note besides the maximum current...

Page 10: ...the input pins the open drain outputs have this series resistor as well resulting in a voltage divider This may cause unexpected behaviour is low resistance pull up resistors are present Associated te...

Page 11: ...st and guarantees that there is no unnecessary delay between the reception of data and the availability on the host The RxTimeout method allows to synchronize with the stream of bytes from the target...

Page 12: ...vantage is that the receiving software does not need to have any knowledge about the packet size If the packet contains bytes with the same value as STX and ETX then these values cannot be transmitted...

Page 13: ...rarily disconnect due to a reset of the USB circuitry Worst case voltage output accuracy is 0 25 When switched off the power supplies are disconnected from the connector Note that if a value lower tha...

Page 14: ...he pin is called BOARD_DETECT Note it is mandatory that the Board Detect pin of every eC test mate that is used in a test is connected to GND on the UUT when using the TEST TRACK or eC my test softwar...

Page 15: ...Digital Output 102 2 Input 0 24V Output Open drain 12 Digital Input 103 Digital Output 102 3 Input 0 24V Output Open drain 13 Digital Input 104 Digital Output 102 4 Input 0 24V Output Open drain 14 Di...

Page 16: ...Copyright TEST OK All Rights Reserved 16 35...

Page 17: ...Copyright TEST OK All Rights Reserved 17 35 Footprint technical drawings Type I...

Page 18: ...Copyright TEST OK All Rights Reserved 18 35...

Page 19: ...nds that can be used to control the functional blocks A block diagram of the eC test mate Type II is shown in the figure below As can be seen from the diagram the numbering of inputs outputs and other...

Page 20: ...outputs the line can be left floating by setting the output to 0 A pull up resistor shall be present on the UUT Serial Channel UART 201 The serial channel numbered as 201 is designed to work with sign...

Page 21: ...s RS485 driver will be in the high impedance state See section Serial Channel UART 101 for the configurable parameters baud rate etc Associated test command s CONFIG_RS485 TRANSMIT_RS485 RECEIVE_RS485...

Page 22: ...8V for longer periods to these test pins may damage the eC test mate Currently the SCL clock frequency is fixed at 100kHz Associated test command s I2C_START I2C_WRITE I2C_READ I2C_STOP Programmable...

Page 23: ...Digital Input 203 Digital Output 202 3 Input 0 24V Output Open drain 13 Digital Input 204 Digital Output 202 4 Input 0 24V Output Open drain 14 UART 201 VCC 0 5V typical 0 24V allowed 15 Digital Outpu...

Page 24: ...Copyright TEST OK All Rights Reserved 24 35...

Page 25: ...Copyright TEST OK All Rights Reserved 25 35 Footprint technical drawing Type II...

Page 26: ...Copyright TEST OK All Rights Reserved 26 35...

Page 27: ...s on the connectors of the eC test mate Type III there are also references to the TEST OK Description Language TDL commands that can be used to control the functional blocks A block diagram of the eC...

Page 28: ...e digital level goes from 0 to 1 at 1 5V while remains 1 until the voltage drops below 0 75V Digital Outputs Group 301 A total of seven digital outputs are provided The output voltage corresponding to...

Page 29: ...alog value in firmware 7 Analog Input 302 Digital Input 302 8 Analog Input 303 Digital Input 303 9 Analog Input 304 Digital Input 304 10 Analog Input 305 Digital Input 305 11 Analog Input 306 Digital...

Page 30: ...yright TEST OK All Rights Reserved 30 35 Max 7W or 1A when used with TEST Mate docking station Without the docking station the maximum depends on the power capabilities of the USB port 2W typical 22 G...

Page 31: ...Copyright TEST OK All Rights Reserved 31 35...

Page 32: ...Copyright TEST OK All Rights Reserved 32 35 Footprint technical drawing Type III...

Page 33: ...Copyright TEST OK All Rights Reserved 33 35...

Page 34: ...eC test mates to provide up to 7W instead of 2W when connected to a regular USB port Second eC test mates connected to the Docking Station are electrically isolated from the PC and from the mains pow...

Page 35: ...Copyright TEST OK All Rights Reserved 35 35 eC test mate Dimensions...

Reviews: