EXAR XR22804IL56-0A-EB Evaluation Board User Manual

June 5, 2024
EXAR

EXAR XR22804IL56-0A-EB Evaluation Board User Manual

EXAR XR22804IL56-0A-EB Evaluation Board.webp

Introduction

The XR22804IL56-0A-EB is an evaluation board for the XR22804IL56-F. The XR22804IL56-F is a Hi-Speed USB 2.0 compound device with an embedded hub and 7 downstream USB functions: 10/100 Ethernet controller, 4 UARTs, multi-master capable I2C controller and an Enhanced Dedicated GPIO Entity (EDGE) controller. This manual is intended to guide users
to operate these different functions of XR22804IL56-F on a windows 7 platform. The XR22804IL56-F shares common evaluation board with XR22802IL56-F The only difference between the XR22804IL56-F and the XR22802IL56-F is that the XR22802IL56-F has two UART channel whereas XR22804IL56-F has four UART channels.

Table 1: Ordering Information

FIG 1 Ordering Information.JPG

Board Layout and Outline

Evaluation Board outline
Figure 1 provides shows the topography of the board. For XR22802IL56-F serial port connectors for UART channel-C and channel-D are not installed.

FIG 2 Evaluation Board outline.JPG

Figure 1: Outline XR22804 Evaluation Board (Top View)

Evaluation Board Layout

FIG 2 Evaluation Board outline.JPG

Figure 2: XR22804 Evaluation board Top View

Software Drivers

This section provides assistance regarding installation of the drivers for the embedded hub and the downstream USB functions of the XR22804/2. The hub and the HID functions (I2C and EDGE) are supported by Windows in-box generic drivers. Therefore no custom driver need to be installed. The Windows system should automatically load drivers for these functions. The Ethernet and UART functions are CDC compliant functions. The XR22804/2IL56-0A-EB is shipped with an installation CD that contains the latest Windows Xp/7 custom drivers for Ethernet and UART devices. This drivers can also be downloaded from the XR22804/2’s product web page.

Device Enumeration
When the device is first plugged into the system the embedded hub is enumerated first. It appears in the Device Manager under the “Other devices” tab as shown in the Figure 3. In order to access the Device Manger, go to start and in the search box enter “devmgmt.msc” and hit carriage return key on the keyboard.

Figure 3: XR22804 hub enumeration

The downstream USB functions are initially enumerated as shown in Figure 4 in Device Manager under the “Other devices” tab before their drivers are installed.

FIG 4 Enumeration of USB downstream ports.JPG

Figure 4: Enumeration of USB downstream ports

Driver Installation
As mentioned previously the drivers for the embedded hub and HID functions should be installed automatically. This section provides assistance in installing custom driver for UART and Ethernet function. The example in this manual uses XR22804IL56-F but the steps are the same for XR22802IL56-F.

Driver Installation for Embedded HUB
Once the driver for the embedded hub is installed it will appear under “Universal Serial Bus Controller” tab as “Generic USB
Hub” as shown in Figure 5. The users may confirm the Hardware IDs of the “Generic USB Hub” devices to differentiate between other generic hubs attached to the system.
In order to access Hardware IDs right click on “Generic USB Hub” and select “Properties”.
In Properties page go to “Details” tab, in the Property drop-down menu select “Hardware Ids”.
The Hardware ID of that device is showed under “Value” window.
For XR22804IL56-F, the value shown in this window: USB\VID_04E2&PID_0804
For XR22802IL56-F, the value shown in this window: USB\VID_04E2&PID_0802
Where 0x04E2 is the Vendor ID(VID) of Exar and 0x0804/2 is the Product ID(PID).
The downstream functions are enumerated only after the hub driver has been successfully installed.

FIG 5 Driver Installation for Embedded HUB.JPG

Figure 5: XR22804IL56-F embedded hub in Device manager

Driver Installation for HID (I2C and EDGE) devices
Drivers for the HID devices will be installed automatically after the Hub drivers are installed and they will appear under “Human Interface devices” tab in Device Manager. To differentiate between HID devices read the Hardware IDs. The product ID for HID-I2C is 0x1100 and for HID-EDGE is 0x1200.

FIG 6 HID devices in Device Manager.JPG

Figure 6: HID devices in Device Manager

Installing Custom Driver for Ethernet Function
In the installation disc goto folder “Driver/Ethernet” and copy its contents on the hard drive. Extract all contents of the “ .zip ” folder.
Go to device Manger and right click on “Exar USB Ethernet” under the “Other devices” tab and select “Update Driver”.

FIG 7 Installing Custom Driver for Ethernet
Function.JPG

On the next wizard page select the option “Let me pick from a list of device drivers on my Computer” then click button “Have Disk…” and browse to the folder where all the driver files were extracted and select the “xrusbnet.inf” file. On successful installation of driver the device will be listed under “Network Adapters”

Driver Installation for UART
The steps for installing driver for UARTs is same as steps mentioned for Ethernet drivers except the inf file for UART is “xrusbser.inf”. The user will have to perform this task for one of the four UARTs and then re-enumerate (unplug & plug) the device. After the drivers are installed successfully the UARTs will be listed under “Ports (COM & LPT)” in the Device Manager.

Software Application and Utilities

After successful installation of drivers, the next step in the process is to operate XR22804/2IL-0A-EB. The installation disc contains various test applications for testing the various USB functions. It contains test application for UARTs, I2C and EDGE functions. The user may use a web browser for evaluating the Ethernet function.

The following screen-shots and information are provided to operate the 4 different types of embedded functions for all tests including Suspend/Resume testing. Each type of function is described separately but can/will be run simultaneously.

Ethernet 10/100 – PID 0x1300
After successful installation of Ethernet driver plug in cat-5 ethernet cable into the RJ45 ethernet jack. The device properties related to ethernet port can be modified from Device Manager. Right Click on “Exar USB Ethernet Device” instance under “Network Adapter” and select Properties. In Properties select Advanced tab as shown below in Figure 7

Figure 7: Ethernet device Properties

In this tab the user can modify various properties related to Ethernet e.g. Flow control, Remote Wake-up modes, Speed and Duplex modes etc. In Speed & Duplex property the users can select among different link speed configurations supported by XR22804IL56-F in “Speed & Duplex” property. The different speed configurations are Auto Sense, 100M Full- Auto, 100M Full- Fixed, 100M Half- Auto, 100M Half- Fixed, 10M Full- Auto, 10M Full- Fixed, 10M Half- Auto and 10M Half- Fixed. All of this mode are explained in brief below:

Table 2: Speed and Duplex Settings

FIG 10 Speed and Duplex Settings.JPG

The XR22804IL56-F supports static and dynamic IPs. Follow the steps below to configure the static IP (if the static IP is assigned):

  1. Go to the Start menu
  2. In the Search box, search for “View network connections” and hit carriage return
  3. Right click on Local Area Connection # icon of Exar USB Ethernet shown in figure below and select properties

4. On the properties page select “Internet Protocol Version 4” and click on Properties button as shown in Figure 8

Figure 8: Local Area Connection Properties window

5. Configure their static IP as shown in the figure. For DHCP select the option “Obtain the IP address automatically”.

Confirm the IP settings by following the below mentioned step:

  1. Go to Start menu and search for “cmd” and hit carriage return
  2. In the command prompt enter “ipconfig /all”
  3. It will display information for all the network adapters connected to the system. The user should look for Ethernet adapter whose description says “Exar USB Ethernet Device # ” as shown in figure below

FIG 14 Local Area Connection adapter information.jpg

Figure 9: Local Area Connection adapter information

After configuring the ethernet port based on the network requirement, it will be ready to be used. Use a web browser to verify the functionality of the Ethernet port.

UARTs – PIDs: 0x1400 (Channel A), 0x1401 (Channel B), 0x1402 (Channel C) and 0x1403 (Channel D) The installation disc contains the Serial_test_App.exe utility for evaluating the UARTs functions. The snapshot below shows the UART “Serial Test App”

FIG 15 GUI.JPG

Using this utility user can send and receive continuous data through UARTs. Each portion of the utility is described in Table below:

Table 3: GUI Description

FIG 16 GUI Description.JPG

FIG 17 GUI Description.JPG

HID-I2C – PID 0x1100
The XR22804IL56-0A-EB evaluation board provides an interface (header J7) to connect I2C slave to its I2C master interface. The installation disc contains HID-I2C utility to control this HID-I2C master function. The figure shows the snapshot of HID-I2C utility.

FIG 18 HID-I2C utility.JPG

Figure 10: HID-I2C utility

Connect I2C slave device to the XR22804IL56-0A-EB evaluation board via 4-pin header J7. The evaluation board has 47K pull-up installed on SDA and SCL pin refer to the schematic for more details. Run the HID-I2C test app. Push “Find XR2280x I2C” button. Each portion of HID-I2C utility is described in table below:

Table 4: HID I2C GUI Description

FIG 19 HID I2C GUI Description.JPG

FIG 20 HID I2C GUI Description.JPG

HID-EDGE- PID 0x1200
The XR22804IL56-0A-EVB evaluation board has LEDs installed for testing EDGE pins. The LEDs are active LOW hence they lite up when output LOW. The installation disc contains an application to control configure the EDGE pins. The user needs to confirm the jumper settings before proceeding with this test. The figure below shows the snapshot of HID-EDGE utility.

FIG 21 HID-EDGE- PID 0x1200.JPG

Figure 11: HID-EDGE Application

Table 5: HID I2C GUI Description

FIG 22 HID I2C GUI Description.JPG

FIG 23 HID I2C GUI Description.JPG

For further details on any of the above functions refer to the datasheet.

Hardware Configuration

This section describes the default board settings, when shipped from the factory, and jumper setting that are required when changing modes.

Power Configurations
When shipped from the factory, the XR22804/2 is configured for bus-powered mode and uses the 5V supplied by the USB host.

Table 6 shows the default jumper settings for power:

FIG 24 shows the default jumper settings for power.JPG

Pin Configurations
XR2280x IO pins supports multiple functions. They can be programmed to be UART pins or GPIO pins or EDGE pins. When shipped from factory, IO pins of the XR22804IL56-0A-EB are programmed to be UART pins and are connected to transceiver via jumpers. They can be connected to LED for GPIO or EDGE function testing. This selection is also made through jumpers mentioned in tables below. LED is turned ON when pin is driven LOW.

Table 7: Default Jumper Settings for UART Channel A

FIG 25 Default Jumper Settings for UART Channel A.JPG

FIG 26 Default Jumper Settings for UART Channel A.JPG

Table 8: Default Jumper Settings for UART Channel B

FIG 27 Default Jumper Settings for UART Channel B.JPG

Table 9: Default Jumper Settings for UART Channel C1

FIG 28 Default Jumper Settings for UART Channel C1

Table 10: Default Jumper Settings for UART Channel D1

FIG 29 Default Jumper Settings for UART Channel D1.JPG

Note: Not installed for XR22802

Table 11: Remote Wake up Jumper settings

FIG 30 Remote Wake up Jumper settings.JPG

Transceiver Configurations
On XR22804/2IL56-0A-EB board there’s an SP3245EEY for RS232 communication and SP3086EEN for RS485 communication for UART channel A. It also has multi protocol transceiver, SP339EER1, for RS232/485 communication for UART channel B,C1 and D1. When shipped from the factory the SP339EER1 transceiver are configured for RS232 communication. The jumper setting for this mode is shown in table below.

Table 12: SP339EER1 Settings

FIG 31 SP339EER1 Settings.JPG

1Note: Not installed for XR22802
Half-Duplex RS-485/422 mode
In the RS-485 half-duplex mode, the DIR1 pin of the SP339EER1 enables or disables the RS-485/422 line drivers. The DIR1 pin can be controlled by the XR22804/2 using the RTS# output pins. The connection between RTS# and the DIR1 pin can be made by installing a jumper between 1 & 2 of J43, J44 and J45 for UART channel B, C1 & D1 respectively. Refer to the XR22804/2 datasheet for details for selecting and enabling the Automatic Transceiver Enable feature for the RTS# pin.
1Note: Not installed for XR22802

Revision History

FIG 32 Revision History.JPG

For Further Assistance:
Email: UARTtechsupport@exar.com
Exar Technical Documentation: http://www.exar.com/techdoc/
Exar Corporation Headquarters and Sales Offices
48720 Kato Road Tel: +1 510-668-7000
Fremont, CA 95438 – USA Fax: +1 510-668-7001

NOTICE
EXAR Corporation reserves the right to make changes to the products contained in this publication in order to improve design, performance or reliability. EXAR Corporation assumes no responsibility for the use of any circuits described herein, conveys no license under any patent or other right, and makes no representation that the circuits are free of patent infringement. Charts and schedules contained herein are only for illustration purposes and may vary depending upon a user’s specific application. While the information in this publication has been carefully checked; no responsibility, however, is assumed for inaccuracies.

EXAR Corporation does not recommend the use of any of its products in life support applications where the failure or malfunction 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 applications unless EXAR Corporation receives, in writing, assurances to its satisfaction that: (a) the risk of injury or damage has been minimized; (b) the user assumes all such risks; (c) potential liability of EXAR Corporation is adequately protected under the circumstances. Reproduction, in part or whole, without the prior written consent of EXAR Corporation is prohibited.

© 2014 Exar Corporation

www.exar.com\XR22804

Read More About This Manual & Download PDF:

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals