EZ-811HS Development Kit Manual - Getting Started
Page 6 Rev 1.4
Upper 32K External Memory:
Program’s Code/Xdata Memory Allocation
1. Xdata Space: 0x2000 to 0x23FF, using EZ-USB’s ISO buffer.
(size: 0x0400, 1 Kbytes)
2. Code Space1: 0x8000 to 0x9EFF, for EZ-USB’s Fw.c and host2131.c
(size: 0x1F00, 7 Kbytes)
3. Code Space2: 0xA000 to 0xDFFF, for host_811.c
(size: 0x4000, 16 Kbytes)
Monitor’s Code/Xdata Memory Allocation (Should never be used)
1. Monitor xdata Space: 0x9F00 ~ 0x9FFF
(size: 0x0100, 256 bytes)
2. Monitor Code Space: 0xE000 ~ 0xFFFF
(size: 0x2000, 8 Kbytes)
3.2 About the PC Application Software
The PC Application is used to demonstrate and exercise the EZ-811HS kit in Host mode.
Since the SL811HST demo board works on the EZ-USB development kit platform, the EZ-USB's
general purpose driver (Cypress EZ-USB Sample Device) is used. We use this driver to perform
basic control of the SL811HST in the form of a Windows-based software application program as
shown in Figure 3. With the general-purpose driver, we can communicate with the EZ-USB and
request information from slave devices that are attached on the SL811HST.
See firmware section for current device support limitations.
The software can update the devices and display USB device information like USB address,
speed type, class type, VID, PID, control and data endpoint's attributes. By changing the USB
address field, you can communicate directly with that device, requesting its device descriptor, con-
figuration descriptor, string descriptor or class descriptor. By selecting the appropriate endpoint
number and data length, the software is able to initiate data transactions to that endpoint. The
slave USB device will in turn respond with data to the host controller, the SL811HST, which will
then be transferred back to the EZ-USB's host software. You can easily add functions in the soft-
ware to help it ensure that the embedded host development is working correctly as expected.
EZ-811HS Development Kit Manual Page 7
To use this application, perform the following steps:
1. To use mode "Master+Hub" mode, set jumpers 5-6 and 7-8 on the SL811 Demo Board.
2. Connect the USB Cable from the PC to the EZ-USB Development Board.
3. Start the EZ-USB Control Panel by selecting:
Start\Programs\Cypress\USB\EZ-USB Control Panel
The EZ-USB Control Panel should open with a single device showing: "Ezusb-0".
4. Select the "Download" button and select the following file:
C:\CYPRESS\USB\ez811\bin\ Emb_Host.hex
On the SL811HST Demo Board, first the "HOST" LED will turn on, and then the "ACTIVE" LED
will turn on.
5. Start the PC application software (EZ811_DK.exe) in C:\CYPRESS\USB\ez811\bin.
6. You may now plug in a peripheral device such as a mouse to an SL811HS Demo board port
(Port1-Port4).
7. The "Downstream Poll" button is there to control the downstream polling function. It can be
turned off to allow easier analysis of USB bus traces of downstream devices.
It should be selected to allow the SL811HS to detect downstream device attach and detach.
You may use the "Refresh" button to update the "Device Info" window.
8. You may then select an interrupt endpoint (as on a mouse or keyboard) by selecting the end-
point directly in the "USB Device Info" window - the Address, EP, and type are filled in.
9. You can select "Repeat Transfer", and then move the mouse, or select a mouse button, and
see the output from the device in the "USB Data Transfers" window.
10. Deselect “Repeat Transfer” to stop transfers.
11. Press “Quit” to exit the Host Application.
EZ-811HS Development Kit Manual - Getting Started
Page 8 Rev 1.4
Figure 3. EZ-811HS Host Demo software
4.0 Slave Mode Operation
4.1 About the Slave Mode Firmware
The C:\CYPRESS\USB\ez811\firmware\slave directory contains demo code that will enumerate
the SL811HS (in Slave Mode) as a simple HID Consumer Control device. You may download this
firmware to the EZ-USB Dev Board (using the EZ-USB Control Panel, as described in
Section 3.2), which will configure the SL811HST Demo Board appropriately.
Three consumer buttons are implemented: audio mute, volume up, and volume down buttons.
The demo code will perform the necessary USB and HID-Class requests for successful enumera-
tion of the slave device.
To setup the SL811HST demo board for this example, perform the following steps:

CY3662

Mfr. #:
Manufacturer:
Cypress Semiconductor
Description:
KIT DEVELOPMENT EZ-811HS
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet