Home
USBHOST Rev1r0 - e-Gizmo Mechatronix Central
Contents
1. aCe E Jw e Gizmo USB Host Kit Rev 1r p m 800502114 Joe O O es Figure 8 VNC2 USB Host Kit compo nent silkscreen layout Figure 9 VNC2 USB Host Kit copper Figure 10 VNC2 USB Host Kit copper pattern component side pattern bottom layer 2011 by e Gizmo Mechatronix Central All Rights Reserved Vinculum Vinculum II and VNC2 are all registered trademarks of Future Technology Devices International Ltd Page 9 of 9 pages e Gizmo USB Host Kit
2. ADBUS3 5V safe I O CTS 1012 0 o 1013 O12 ADBUSO 5V safe I O TXD ay a ne ADBUS1 5V safe I O RXD i ida PWR Ground GND PWR Ground 5V Power input 5V Power input Figure 2 I O Port pin out Some of the I Os de pending on the mode selected are used by the V2DAP firmware for some specific function 33 34 e Gizmo USB Host Kit Page 2 of 9 pages MODE CONFIGURATION The VNC2 USB Host kit with V2DAP firmware can be interfaced to the host microcontroller three ways oa ADAR DAF DAS by UART SPI or parallel FIFO FIFO however 3 3 3 3 is not supported in this kit when loaded with the H 2 2 g 2 O O V2DAP firmware Advanced user may create his l z ee own firmware or modify V2DAP to implement K1 K2 K1 K2 K1 K2 K1 K2 FIFO if needed UART UART SPI FIFO UART is by far the most popular interface Most Figure 3 Jumper configurable settings FIFO microcontroller supports UART interface It is is not available by default with the VDAP2 easy to use and supported by most C compilers firmware I O functions e g printf but is generally slower compared to SPI and FIFO In most applications Table 3 Jumper Settings however this is seldom an issue Note These settings are valid for V2DAP amp VNC1L SPI on the other hand is fast and is best used compatible firmware only with microcontrollers with built in SPI peripherals Not all C compilers can readily redirect I O func
3. ACBUS7 BDBUS2 47p 47p Is Hos amp a 0 5 a iu 1 oogza2555025as X SR eee 2222 28 an sa Nf ms oo of rn ay ads pono T D 4 xi C15 a 5V USB2 Go OOO OC la 100n BON a KL K2 812mhz 9 LK E a CONN_3 CONN 3 R9 30T 27P 27p 45VF MBRO530T1 veo 32 N G i B USB2DM X 02 a 2 p OR BDP veto LND ETOR 4 cs e Ra C10 E C13 pee m PORT2 a 3o0N Toba 50h vo DEBUG PORT P p 1 i penn DGND Figure 5 Schematic Diagram of the VNC2 USB Host e Gizmo USB Host Ki MICROCONTROLLER 3 3V 5V LOGIC RR C DATAACK E IDATAREQ RTS CTS TXD RXD 000000000000 IL 1T o QOoooooooooooo oo AR SEa AR st GND 5V POWER SOURCE Figure 6 UART Mode wiring example utilizing hardware handshake MICROCONTROLLER 3 3V 5V LOGIC a a DATAACK L Cu DATAREQ gt qc O00o0oooooooooo s 0 00000000000 GB 5V POWER SOURCE Figure 7 UART Mode wiring example with CTS RTS shorted together to effect a no handshake communication interface Page 7 of 9 pages e Gizmo USB Host Kit UART MODE APPLICATION EXAMPLE Two possible application wiri
4. Ip tions to SPI however In some cases users have AST to write his own code in order to transfer data via SPI Figure 3 illustrates the jumper settings correspond ing to each mode Each mode uses a set of I O for its physical interface These reserved I Os are shown in Figure 4 labeled with their assigned func tions All unused I Os are available for user defined functions 3V3 o o GND 3V3 o o GND 43V3 o o GND NC 9 9 1011 NC 9 1011 NC SPI MSS PIN1 NC 9 1010 PIN1 NC 1010 PIN1 NC SPI MMISO 108 9 IO9 108 9 IO9 SPI MCLK 9 9 SPI MMOSI 106 9 107 SPI MISO 9 SPI SS 106 9 107 104 9 105 SPI CLK 9 SPI MOSI 104 105 102 o 9 103 102 9 103 102 103 100 9 101 100 o 0 101 100 o o 101 1024 9 GND 1024 GND 1024 GND 1022 9 9 1023 1022 9 1023 1022 9 1023 TX ACTIVE 9 1021 1020 9 1021 1020 9 1021 DCD 9 RI 1018 9 1019 1018 9 1019 DTR 9 DSR 1016 9 1017 1016 9 1017 RTS 9 CTS 1014 9 1015 1014 9 9 1015 TXD 9 RXD 1012 9 1013 1012 9 1013 GND o o GND GND o GND GND GND 5V o o 5V 5V o o 5V 5V o o 5V PIN34 PIN34 PIN34 UART MODE SPI SLAVE MODE SPI MASTER MODE Figure 4 Equivalent I O pins assignment under UART and SPI Mode SPI can be configured to work as a master or a slave All other unused I Os in
5. OMs class devices will work only with USB Port2 USB Support is summarized in Table 8 Table 8 USB Slave Peripherals V2DAP Firm ware Device Type USB USB PORT1 PORT2 FTDI Periphpherals e Gizmo USB Host Kit 750mA 7 4 amp E Ss fe I peti O 45V um 1 3V3 o o a o P QA a9 108 c on eom CN dgzsuo 58 88 106 v 5VF FF 7 104 all N 78L05 az 1 a 100 v wv gt 4 sssnssdsmsuss pio 1024 cal 8 C6 Otho 1022 T m nO i M N HOO za amp aoacza 1020 100 Vt Too POWER 5555955808585855 1018 018 J 2020202200 gt Sa aa n 1016 37 ADBUS dizi gt gt Gup 1014 oein 019 38 ADBUS7 BcBUss 3 1011 ENS 39 GND BcBus2 22 1010 45V 40_ vecio BcBus4 _ 24 109 J 5v USB1 c7 020 hi ACBUSO BcBUSo l 20 08 1 0 PORT 021 42 19 07 USB EON 100N ACBUS1 TE BDBUS7 m A a Ko 022 43 J ACBUS2 BDBUS6 8 86 E 023 V2NC D3 E 44 ACBUSS vecio 7 SE pt 2 L LE2ZR3 U581DM 024 45 ACBUSA BDBUSS _ 16 EUR Ad 14 des Ril 3 am USB1DP 46 ACBUSS BDBUS4 45 104 De 100N 47 m 03 USB1 c2 c4 ACBUS6 BDBUS3 L5 pen Z 48 13 02 x 8
6. a particu lar mode are available for user applications Page 3 of 9 pages e Gizmo USB Host Kit Table 4 UART Mode I O Assignment PIN ID FUNCTION TYPE DESCRIPTION 020 t E i om a low R input RmgindestrContolinput Table 5 SPI SLAVE Mode I O Assignment PIN ID FUNCTION TYE DESCRIPTION 9 IO6 SPI MISO Output Master In Slave Out Data from slave to master Table 6 SPI MASTER Mode I O Assignment PIN ID FUNCTION TYPE DESCRIPTION s INC l6 1010 SPI MMISO Master In Slave Out Data from slave to master z jio SPI_MCLK Output Master Clock output B log SPI MMOSI Output Master Out Slave In Data from master to slave e Gizmo USB Host Kit Page 4 of 9 pages DEVELOPING YOUR OWN FIRMWARE There are several reasons why you may want to create your own firmware For example pre pack aged firmware may not readily function to some USB device you need to connect with With your firmware in control you can perform the necessary tasks to make a successful connection Further more although the VNC2 is primarily intended for USB hosting functions its powerful 16 bit MCU core can definitely do more It is possible to build a complete stand alone system without the aid of an external microcontroller Users who may like to build their own firmware may program and debug the USB host through the De bug Port The software developer s tool Vincul
7. e Gizmo vnc2 USB Host Hardware Manual Rev 1r0 hese days just about anything that can be connected to a PC do so using a USB port Be fore USB came into existence adding peripherals to a PC is a job that requires the service of a skilled technician With USB connectivity attaching new peripherals became just as easy as plugging an ap pliance into an AC outlet Any PC owner can install new USB peripherals no special skills needed Not surprisingly PC owners now have a huge selection of USB peripheral devices to choose from From basic devices such as USB mouse and keyboards to advance laboratory measuring equip ment even machines And with equally countless of USB manufacturers competing to sell you the same products prices goes as low as it can be With plentiful and sometimes dirt cheap USB devices all around the place one may expect to see DIY microcontroller experimenters using these devices in their projects But that is not what is hap pening Experienced experimenters know all too well the reasons why One is the heavy and lengthy programming code involved just to get the micro controller to talk with USB devices Layers upon layers of procedures and protocols are required Even if the programmer has the patience and all the time in the world to do the coding popular 8 bit microcontrollers simply lacks the processing power and memory capacity required to do such low level USB tasks Fortunately one company F
8. jumper configurations of the VNC2 USB Host For a more complete description please refer to the Vinculum VNC2 48 Development Module Data ce Ea eee sheet Downlink link to this document is listed in D4 USB1 P1 USB PORT1 selected page 8 of this manual TERMINALS amp INDICATORS D wwczin REMARKS 3v3 8V30UT GND DND fC Nc __ keylno connection ion Nc Wewmocomecion DEBUG PORT O g4 P1 S io ooo0oo0o0o0 USB i ca J PORT1 a i ca Pluz E J2 FH O K1 K2 1 0 PORT WIV I VININININININININININJj gt gt gt gt gt gt gt gt gt 1 N JAJJI NJj gt N ojdo o o o o mi ojl dwo o ojo m o m o USB PORT2 a 04 O a Figure 1 VNC2 USB Host component layout showing only the LED indicators USB and I O BDBUS1 5V safe I O ports plus a few more components ACBUS4 5V safe I O Pint 33 o o ae ACBUS2 5V safe I O NC O 9 Ne o e 1610 1023 ACBUSS3 5V safe I O 108 o 109 1020 ACBUSO 5V safe I O TX_Active loo 107 O21 ACBUS1 5V safe I O 104 9 105 i02 le o 103 ADBUS6 5V safe I O DCD IO0 101 ADBUS7 5V safe I O RI bd elo SVsafel O DTR AEN ADBUS4 5V safe I O DTR 1020 9 1021 ADBUSS 5V safe I O DSR 1018 s lO14 ADBUS2 5V safe I O RTS 1016 1014 lo o 1015 11015
9. ng examples in UART mode is shown in Figure 6 and 7 Hardware hand shake RTS CTS is used in Figure 6 This is the preferred configuration and is in fact necessary if you plan to use high baud rates and or where large volume of data packets needs to be transferred in between the host microcontroller and the USB Host kit Hardware handshake helps in preventing buffer overruns that will eventually lead to data loss For less critical applications you may use simpler no handshake mode by shorting the USB Host CTS and RTS line together as shown in Figure 7 You can pass data to the USB device through the USB host either by letting the USB Host talk to the USB device and get the data for you in Command Mode or directly to the USB device raw transfer in Data Mode To switch the USB Host in Data Mode drive its CTS input to GND logic 0 level The USB Host sets its DTR pin to logic 1 when it enters Data Mode There are applications that do not require the USB Host to enter the Data Mode In such cases you can simply omit the DSR and DTR connection Leaving these pins open puts the USB Host in Command Mode The default UART communication parameters of the USB host are Baud Rate 9600 Data 8 Bits Stop Bit 1 Parity None Handshake RTS CTS You can change the baud rate settings while in Command Mode Speed as high as 3Mbps is sup ported Now you see the USB Host in UART Mode is not that slow after all e Gizmo USB H
10. ost Kit UPDATING AND CHANGING FIRMWARES You don t need any special programming hardware to update or even load your own firmware in the USB Host kit Just copy the precompiled firmware in the root directory of your USB flash disk and then plug the USB flash disk in USB port2 of the USB Host kit The VNC2 will automatically copy the firmware to its internal flash MUST READ Complete hardware and firmware documentation for the VNC2 USB host can be downloaded from FDTI website Recommended must reads are listed below Vinculum Firmware User Manual Rev 2 05 http www ftdichip com Firmware Precompiled UM _ VinculumFirmware_V205 pdf V2DIP2 48 http www ftdichip com Support Documents Data Sheets Modules DS_V2DIP2 48 pdf Hardware details in this documentation applicable to the USB Host Kit More application information for users who want to know more http www ftdichip com FTSupport htm PRECOMPILED FIRMWARES V2DAP Disk and Peripheral firmware is the most general purpose firmware and supports most USB devices on Port1 and Port2 As of this time of writ ing there are two more specialized precompiled firmware V2DPS and V2F2F Disk or Peripheral Firmware Details of these firmwares are described in the Vinculum Firmware User Manual Rev 2 05 Latest VNC2 Firmware releases can be download ed from http www ftdichip com Firmware Precompiled htm Page 8 of 9 pages PCB ART GALLERY PL DEBUG I F s Locco
11. um I IDE and USB libraries can be downloaded from FTDI website at no charge registration is required FTDI VNC2 Debug Module is required The VNC2 Debug Module is sold by authorized distributors at a near bargain price The VNC2 debug module uses off the shelf FTDI components you can build one yourself if you so prefer It is even possible to change update the firmware with your compiled code using just a USB Flash Disk The VNC2 USB Host does this automatically whenever it founds an updated firmware version on your disk during device detection But there is a price to pay with out the VNC2 Debug Module you won t be able to debug your firmware while in action Table 7 P1 Debug Port PN ib Remas 1 i0 Debugger interface gram firware into the VNC2 5 JPRG s PWR SVSource Note Port layout is compatible with FTDI VNC2 Debug Module Page 5 of 9 pages SUPPORTED USB DEVICES V2DAP supports five types of generic USB De vices BOMs Bulk Only Mass Storage Example USB Flash Disk Camera FTDI Peripherals USB devices using FTDI FT232 FT245 or FT2232 as USB to serial bridge HID Generic USB Human Interface Devices Example Mouse Joystick Keyboard Printer USB Printers HUB USB port expander CDC Communication Class Devices Example MODEMs Mobile Phones Except for BOMs devices any one or two of these devices can be plugged either in USB port1 or USB port2 B
12. uture Technology Devices International FTDI finally provided an easy with the introduction of their Vinculum chip The second generation Vinculum II chip is a user pro grammable USB host chip with two integrated USB ports FTDI provides a free software developer s kit and libraries for advance users who may want to customize the VNC2 and build a dedicated func tion USB host in no time at all For the rest of us who just want an easy to use general purpose USB host FTDI has prepared a e Gizmo USB Host kit is built around FDTI Vinculum VNC2 chip and is preloaded with V2DAP firmware Features Chip VNC2 48Q USB Ports Two USB Type A sockets Interface UART SPI jumper selectable Debugger Port 1 I Os 25 Power Input 5VDC DC Power Output 3 3V 100mA Preloaded Firmware V2DAP PCB Size 51W x 51L mm general purpose USB firmware for us the Vinculum Disk and Peripherals firmware V2DAP This firm ware is preloaded with the Vinculum USB Host kit as sold by e Gizmo With this kit microcontroller experimenters can now easily incorporate USB hosts function with their circuits working with a number of USB devices such as USB flash disk BOMS devices joystick HID devices including devices using FDTI USB to serial bridge chips and CDC devices Page 1 of 9 pages e Gizmo USB Host Kit HARDWARE REFERENCE Table 1 LED Indicators The following section briefly describes the pin out comp D Description and
Download Pdf Manuals
Related Search
Related Contents
Ficha Técnica Hormiarte Print texte Francis Tuzet 2014 User`s Manual - TOMCOPY Automation Instruction manual ECoSControl Radio B.I.A. 2013 Epreuve facultative : ULM Manual Tecnico RUNNER Untitled - Quickflix NEC Express5800/1160Xd User's Guide Copyright © All rights reserved.
Failed to retrieve file