background image

 

 

12

SP338/SP339/XR34350 EVALUATION BOARD USER’S MANUAL

REV. 2.0.1 

3.0 EVALUATING THE SP338/339/XR34350 TRANSCEIVER ONLY

When evaluating just the SP338/339/XR34350, an external power supply can be used or power from a USB 
port can be used.  

3.1

External Power Supply

An ex3.3V or +5V power supply can be applied at TP2.  The USB cable should not be plugged into a 
USB port and J17 should not be installed.  Of course, there should be a common ground between the external 
power supply and the SP338/339/XR34350.

3.2

USB Powered

If using power from a USB port, select the supply voltage at J4.  A jumper across J4 pins 1 & 2 selects the 5V 
from the USB connector.  A jumper across J4 pins 2 & 3 selects the regulated 3.3V output from the SP6260.  A 
jumper across J17 pins 1& 2 will also need to be installed for power to be supplied to the SP338/339/XR34350. 
A jumper should also be installed across J2 pins 1 & 2 (or 3 & 4) to ensure that there’s a common ground 
between the USB supplied voltage and the SP338/339/XR34350.

4.0 EVALUATING THE SP338/339/XR34350 WITH THE XR21B1411

The XR21B1411 can be used to pass data through the SP338/339/XR34350.  An external power supply can be 
used or can be powered directly from the USB bus, as described above.  A jumper should also be installed 
across J2 pins 1 & 2 (or 3 & 4) to ensure that there’s a common ground between the XR21B1411 and SP338/
339/XR34350.  To enable the connection between the XR21B1411 and the SP338/339/XR34350, place the 
switches at SW3 to the ON position.  In addition, if the DB9 connector is used, place the switches at SW4 in the 
ON position. Windows, Linux and Mac drivers for the XR21B1411 can be downloaded from Exar’s website. 
For Windows, a sample USB UART test GUI is also available for download.

4.1

Loopback Mode or RS-232 Mode

The XR21B1411 can transmit and receive data through the SP338/339/XR34350 if the switches at SW3 and 
SW4 are in the ON position.  For RS-232 mode, an external null modem cable or connection is required to 
transmit and receive data.  

4.2

Half-duplex, Full-Duplex and Mixed Duplex RS-485/422 modes

Some additional jumpers are required if there is a requirement to control the DIR1 and/or DIR2 pins from the 
software driver or application.  There should not be any jumpers installed on J23 pins 3 & 4 and pins 5 & 6.

4.2.1

Controlling DIR1 pin using RTS# output pin of XR21B1411

The DIR1 pin can be controlled from the XR21B1411 using the RTS# output pin.  To enable the connection 
between the RTS# pin of the XR21B1411 and the DIR1 pin, install a jumper across J20 pins 1 & 2. If using the 
Windows 2000/XP/Vista/7/8 driver from Exar’s website, the "RS-485" mode can be enabled from the properties 
page and will be enabled if used with any standard terminal application.  Alternatively, the "RS-485" mode can 
be enabled using the sample USB UART test GUI from Exar’s website.  When transmitting data, the RTS# pin 
will be high.  While not transmitting data (receiving or idle), the RTS# pin will be low. This feature will work for 
both the half-duplex RS-485 modes and full-duplex RS-485/422 modes.

4.2.2

Controlling DIR2 pin using DTR# output pin of XR21B1411

The DIR2 pin can be controlled from the XR21B1411 using the DTR# output pin.  To enable the connection 
between the DTR# pin of the XR21B1411 and the DIR2 pin, install a jumper across J21 pins 1 & 2. There’s no 
automatic direction control feature with the DTR# pin.  However, the DTR# pin can be controlled manually from 
the software.  The DTR# can use the standard "set DTR" and "clear DTR" APIs in Windows or Linux to set/
clear the DTR# pin.  The DTR# pin can also be set/cleared by writing directly to the GPIO_SET and 
GPIO_CLEAR registers using the sample USB UART test GUI from Exar’s website.

Содержание SP338

Страница 1: ...1 REV 2 0 1 SP338 SP339 XR34350 EVALUATION BOARD USER S MANUAL Evaluation Board User s Manual SP338 SP339 XR34350EVB...

Страница 2: ...igure 1 below FIGURE 1 EVALUATION BOARD BLOCK DIAGRAM XR21B1411 SP338 SP339 XR34350 SW3 SW4 USB Connector DB9 Connector In addition to the DUT SP338 SP339 XR34350 there is an Exar XR21B1411 1 ch USB U...

Страница 3: ...38 339 XR34350 configured in the Loopback mode J23 Pins 7 8 MODE0 0 J23 Pins 9 10 MODE1 0 J23 Pins 11 12 MODE2 0 This mode can be used for diagnostic purposes FIGURE 2 LOOPBACK MODE TP4 TP6 TP8 TP10 T...

Страница 4: ...rom the factory FIGURE 3 RS 232 MODE L1 L2 L3 L4 L6 L7 L8 L9 Vcc R2 R3 R4 R6 R7 R8 R9 11 12 13 14 15 16 17 18 19 20 40 39 38 37 36 35 34 33 32 31 1 2 3 4 5 6 7 8 9 10 30 29 28 27 26 25 24 23 22 21 All...

Страница 5: ...these pins J23 Pins 11 12 MODE2 0 The RS 485 signals are also accessible at J16 FIGURE 4 HALF DUPLEX RS 485 MODE 1 TP6 TP8 TP22 TP42 TP20 TP41 Slew Dir1 Mode0 0 Mode1 1 Mode2 0 Term InvDir Enable 1 Vc...

Страница 6: ...between these pins J23 Pins 11 12 MODE2 0 The RS 485 signals are also accessible at J16 FIGURE 5 FULL DUPLEX RS 485 MODE 1 Slew Dir1 Mode0 1 Mode1 1 Mode2 0 Term InvDir Enable 1 Vcc T1 R1 R2 R3 R4 11...

Страница 7: ...also accessible at J16 FIGURE 6 FULL DUPLEX RS 485 MODE 2 TP6 TP8 TP26 TP51 TP24 TP43 TP22 TP42 TP20 TP41 Slew Dir1 Dir2 Mode0 0 Mode1 0 Mode2 1 Term InvDir Enable 1 Vcc T1 R1 T2 R2 R2 R3 R4 R6 R7 R8...

Страница 8: ...s J23 Pins 11 12 MODE2 1 jumper installed between these pins The RS 485 signals are also accessible at J16 FIGURE 7 FULL DUPLEX RS 485 MODE 3 TP6 TP8 TP26 TP51 TP20 TP41 TP34 TP55 TP30 TP53 Slew Dir1...

Страница 9: ...MODE2 1 jumper installed between these pins The RS 485 signals are also accessible at J16 FIGURE 8 HALF DUPLEX RS 485 MODE 2 R2 R3 R4 R6 R7 R8 R9 TP6 TP8 TP26 TP51 TP22 TP42 TP20 TP41 Slew Dir1 Mode0...

Страница 10: ...RS 485 signals are also accessible at J16 FIGURE 9 RS 485 422 MIXED DUPLEX MODE R2 R3 R4 R6 R7 R8 R9 TP6 TP8 TP12 TP14 TP16 TP18 TP34 TP55 TP32 TP54 TP30 TP53 TP28 TP52 TP26 TP51 TP24 TP43 TP22 TP42...

Страница 11: ...is pin install a jumper at J23 pins 5 6 2 2 3 1 Full Duplex Mode In the full duplex modes this pin enables disables the T2 differential driver A logic low disables the T2 differential driver A logic h...

Страница 12: ...d 4 1 Loopback Mode or RS 232 Mode The XR21B1411 can transmit and receive data through the SP338 339 XR34350 if the switches at SW3 and SW4 are in the ON position For RS 232 mode an external null mode...

Страница 13: ...unction of the product can reasonably be expected to cause failure of the life support system or to significantly affect its safety or effectiveness Products are not authorized for use in such applica...

Отзывы: