UM0212 User manual. STOTG04 USB OTG full-speed transceiver demonstration board. Introduction

Similar documents
STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description

AN2667 Application note

AN2240 Application note

AN2470 Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features Description

AN4113 Application note

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

AN2676 Application note

AN2672 Application note

AN2474 Application note

AN2408 Application note

EV-VNQ5E050AK VNQ5E050AK evaluation board

AN2143 Application note

AN2855 Application note

AN626 Application note

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description

UM1572 User manual. STEVAL-IPE020V1: ST energy meter application based on the Android platform. Introduction

AN3996 Application Note

STTS V memory module temperature sensor. Features

AN3001 Application note

SOT23-6L ESDALCL6-2SC6

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx.

AN3279 Application Note

STM3210B-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

STM32-MP3NL/DEC. STM32 audio engine MP3 decoder library. Description. Features

EMIF01-SMIC01F2 IPAD. Single line EMI filter including ESD protection. Main application. Description. Benefits. Pin configuration (Bump side view)

Obsolete Product(s) - Obsolete Product(s)

AN2737 Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction

UM1488 User manual. STPMC1 evaluation software. Introduction

AN3354 Application note

OSPlus USB Extension. OSPlus USB 2.0 extension. Description. Features. Application. TCP/IP stack NexGenOS NexGenIP VFS. FAT Ext2 LVM Device layer

AN3250 Application note

ST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features

STM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS

EMIF02-MIC01F2 2-line IPAD, EMI filter including ESD protection Features Application Description Complies with the standards:

STEVAL-IHM028V1. 2 kw 3-phase motor control demonstration board featuring the IGBT intelligent power module STGIPS20K60. Features.

AN2825 Application Note

AN2673 Application note

AN2261 APPLICATION NOTE

STM8 I 2 C optimized examples

Main components 1 A, high efficiency adjustable single inductor dual mode buckboost DC-DC converter

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description

STM32-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

EMIF02-SPK02F2. 2-line IPAD, EMI filter and ESD protection. Features. Application. Description. Complies with the following standards

ST19NP18-TPM-I2C Trusted Platform Module (TPM) with I²C Interface Features

STLC2500D. Bluetooth V2.1 "Lisbon" + EDR. Features. Description

UM0693 User manual. 1 Introduction. STM8L101-EVAL demonstration firmware

AN3980 Application note

UM0592 User manual. STEVAL-PCC006V1, HDD bridge extension board. board for mass storage applications. Introduction

AN3965 Application note

STA bit single chip baseband controller for GPS and telematic applications. Features

AN2361 Application note

AN2734 Application note S-Touch design procedure Introduction

LD A very low drop adjustable positive voltage regulator. Description. Features

Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension

ECMF02-3F3. Common mode filter with ESD protection. Features. Description. Applications. Complies with the following standard:

AN3975 Application note

AN2202 Application note

STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect

UM1084 User manual. CR95HF development software user guide. Introduction. Reference documents

AN2936 Application note

L6460. SPI configurable stepper and DC multi motor driver. Features. Description

AN2430 Application note

SMP75. Trisil for telecom equipment protection. Features. Description. Applications. Benefits

AN2592 Application note

AN3154 Application note

Main components USB charging controller with integrated power switch

ST33F1M. Smartcard MCU with 32-bit ARM SecurCore SC300 CPU and 1.25 Mbytes high-density Flash memory. Features. Hardware features.

AN3991 Application note

AN4321 Application note

Description SPC564A-DISP. March 2014 DocID Rev 3 1/5

AN2407 Application note

UM0726 User manual STEVAL-PCC009V1, universal USB to serial communication interface (UUSCI) based on the STM32x Introduction


AN2768 Application note LIS331DL 3-axis digital MEMS accelerometer: translates finger taps into actions Introduction

EMIF03-SIM06F3. 3-line IPAD, EMI filter including ESD protection. Description. Features. Application. Complies with the following standards:

AN4440 Application note

AN2557 Application note

AN3265 Application note

ESDA25LY Automotive dual Transil array for ESD protection Features Applications Description Benefits

AN3362 Application note

UM1548 User manual. IR remote transmitter STEVAL-IHM037V1. Introduction

STBC mA Standalone linear Li-Ion Battery charger with thermal regulation. Feature summary. Description. Applications.

STM8L-PRIMER STM32-PRIMER STMPRIMER

ST21NFCB. Near field communication controller. Features. RF communications. Hardware features. Communication interfaces. Electrical characteristics

ST10F271B/E, ST10F272B/E Errata sheet

EMIF M8. 4-line IPAD low capacitance EMI filter and ESD protection in micro QFN package. Features. Applications. Description

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS

STMicroelectronics. STxP70-4 assembler. User manual Rev A. October

RN0046 Release note. 1 Introduction. SimpleMAC library for STM32W108xx kits. About this release note

SMP30. Trisil for telecom equipment protection. Features. Applications. Description. Benefits

AN4274 Application note

MEMS functional sensor: smart 3D orientation and click detection standalone device. FC30-40 to +85 LGA-14 Tray FC30TR -40 to +85 LGA-14 Tape and reel

EMIF M16. 8-line IPAD low capacitance EMI filter and ESD protection in micro QFN package. Features. Description.

UM1719 User manual. The STPM3x evaluation software. Introduction

AN3988 Application note

TN0189 Technical note

AN4308 Application note

TN0132 Technical note

Transcription:

UM0 User manual STOTG04 USB OTG full-speed transceiver demonstration board Introduction This manual explains how to use and take full advantage of the STOTG04 universal serial bus (USB) on-the-go (OTG) full-speed transceiver demonstration board, which is designed to help users evaluate their USB OTG applications. The PC board (PCB) connections make it possible to test the STOTG04 transceiver while it is connected to the USB OTG controller. Without the controller, the STOTG04 is configurable through the I C interface. The STOTG04 is fully compliant with the USB v.0 specification and the on-the-go supplement to this specification (see http://www.usb.org for details). It provides a complete physical layer (PHY) solution for any USB OTG device. When the STOTG04 is connected to a USB OTG controller, it is ideal for use with several mobile applications (such as cell phones, digital cameras, printers and PDAs). The STOTG04 transceiver is controlled by the "USB OTG Demo" software that runs on Microsoft Windows operating systems. This software enables designers to configure and monitor the transceiver s internal registers. Figure. STOTG04 demonstration board November 008 Rev /3 www.st.com

Contents UM0 Contents STOTG04 demonstration board hardware....................... 3. STOTG04 power requirements................................. 5. Connecting to a PC.......................................... 5.3 Jumper assignments......................................... 6.4 Connector assignments....................................... 7.4. CON3 pin................................................. 7.5 Reset switch (SW).......................................... 8 USB OTG demonstration software............................. 8. Launching the software....................................... 8. PC-to-demonstration board communication........................ 8.3 STOTG04 registers.......................................... 9 Appendix A STOTG04 demonstration board schematics.................. 0 Appendix B STOTG04 demonstration board bill of materials............... Revision history.................................................... /3

UM0 STOTG04 demonstration board hardware STOTG04 demonstration board hardware The demonstration board consists of six main parts (see Figure and Figure 3). Power supply pins (V BAT and V IF ) Level shifters The STOTG04 full-speed transceiver Configuration jumpers A USB OTG controller connector A reset switch (see Section.5). The STOTG04 needs two types of power supply voltages to function (see Section.). The battery supply voltage (V BAT ) supplies power to the analog functions, and the digital interface voltage (V IF ) supplies power to the digital interface. These supply voltages are connected to the demonstration board through the power pins. The board can also be controlled by a PC serial port (see Section.). The RS-3C PC signal levels are converted to I C levels by the level shifter block. The jumpers allow users to test and measure the STOTG04 characteristics without a USB OTG controller (see Section.3). The USB OTG controller header connector enables the user to connect a USB OTG controller (see CON3 pin) or any digital control system to the demonstration board. USB or USB OTG devices can be connected via the mini-ab connector (see Appendix A: STOTG04 demonstration board schematics). Figure. STOTG04 demonstration board block diagram Power Pins (V BAT, V IF ) DB-9 Serial Port Connector RS3C I C Level Shifters USB OTG Controller Header Connector I C signals INT, SUSPEND, DAT_VP, SE0_VM, RCV, VM, VP, RESET, SPEED, OE_TP_INT STOTG04 USB OTG Full-speed Transceiver V BUS, DP, DM, ID Mini-AB Connector Jumpers RESET AI879 3/3

STOTG04 demonstration board hardware UM0 Figure 3. Assembled demonstration board PCB Reset Jumpers Power pins USB OTG controller header connector Test points Jumpers Jumpers STOTG04 Transciver Test points RS-3 I C Level Shifter 4/3

UM0 STOTG04 demonstration board hardware Figure 4. Demonstration board layout. STOTG04 power requirements The recommended supply voltages of the transceiver are: V IF =.6 V to 3.6 V (V IF =.8 V, typ) V BAT =.7 V to 5.5 V (V BAT = 3.3 V, typ). The demonstration board was designed for these same voltage ranges. However, the board does not contain any voltage regulators, so if only one common supply voltage is used, the following range is recommended: V COMMON =.7 V to 3.6 V Note: Jumper J7 connecting the V BAT and V IF power supply pins has to be shorted (see Table ).. Connecting to a PC The STOTG04 demonstration board must be connected to the PC serial port via a non-crossed serial cable. The PC serial port can be selected in the USB OTG demonstration board software (see Chapter ). 5/3

STOTG04 demonstration board hardware UM0.3 Jumper assignments Table. Demonstration board jumper assignments () Jumper Related pin (s) Function J J J3 OE_TP_INT SUSPEND SPEED Short Enables the differential driver or I C mode (when TRANSP_EN Bit = ) Open Interrupt output when SUSPEND = 0 (J) and SUSPEND Bit = Short Disables power-down mode when SUSPEND Bit = Open Enables power-down mode when SUSPEND Bit = Short Open J4 V IF Short Open Enables low-speed mode operation Enables full-speed mode operation Provides power to the V IF pin. Can be used for current consumption measurement V IF pin is left floating J5 V BAT Short Open Provides power to the V BAT pin. Can be used for current consumption measurement V BAT pin is left floating J6 ADR Short Open The lsb of the I C address is '0' The lsb of the I C address is '' J7 V BAT, V IF Open V BAT V IF (use recommended V BAT and V IF ) Short V BAT = V IF (V COMMON must be 3.0 V - 3.6 V) J8 V TRM, V BAT Short Open Internal LDO regulator bypassed (usable only when the V BAT supply voltage is between 3.0 V and 3.6 V) Internal LDO regulator operational. See Figure 4. 6/3

UM0 STOTG04 demonstration board hardware.4 Connector assignments Table. Demonstration board connectors () Connector CON CON CON3 CON4 Descriptions Power supply pins (P7-P4): V BAT, V IF, and GND USB Mini-AB connector for USB/USB OTG devices Header connector for the USB OTG controller via the serial interface engine (SIE) signals (see Section.4.) DSUB-9 connector for the PC serial port used to control the transceiver through the I C bus. See Figure 4..4. CON3 pin The USB OTG controller accesses the USBOTG04 s SIE through the CON3 connector and controls the following signals (see Table 3): DAT_VP SE0_VM RCV OE_TP_INT I C bus, and other main signals used by most types of OTG controllers. Warning: The Q and Q3 transistor bases MUST be connected to GND BEFORE the demonstration board is connected to the USB OTG controller. The Q and Q3 bases are connected to the R and R3 resistors (see Appendix A: STOTG04 demonstration board schematics). Table 3. CON3 pin assignments Pin No. Description Pin no. Description GND 8 SPEED Not connected 9 VM 3 SCL (I C clock signal) 0 OE_TP_INT 4 SDA (I C data signal) RVC 5 INT VP 6 RESET 3 DAT_VP 7 SUSPEND 4 SE0_VM 7/3

USB OTG demonstration software UM0.5 Reset switch (SW) The Reset switch (see Figure 3 and Figure 4) can be used to manually reset the STOTG04 hardware. The reset pulse can also be generated by the USB OTG controller via the CON3 RESET pin (see Table 3). USB OTG demonstration software The "USB OTG Demo" software controls the STOTG04 full-speed transceiver. The application requires a PC with at least one serial port, and any Windows operating system. Note: This software has been tested on Windows XP. The software configures and monitors the STOTG04 s internal registers. It sends and receives I C signals with RS-3C voltage levels via the serial port. The RS-3C PC signal levels are converted to the proper I C signal levels by the demonstration board s level shifter (see Chapter ).. Launching the software The USB OTG demonstration program does not require any installation.. Copy the "demo.exe" file to a destination folder or C:\temp directory. Double-click on the "demo.exe" file to launch the PC-to-demonstration board interface window 3. Use the RS-3C cable to connect the board to the PC (or confirm this connection if it is already set-up) 4. Select the correct PC serial port in the interface window (for example COM, COM, COM3 or COM4) 5. Select the STOTG04 address in the interface window (for example Ch or Dh). The default address is "Dh", which is equivalent to open jumper J6 (see Section.3: Jumper assignments) 6. Select the correct device version (STOTG04E or STOTG04ES) 7. Connect the correct supply voltage to the demonstration board.. PC-to-demonstration board communication Communication is controlled by two programming buttons (see Figure 5, bottom-right): Read all Write all. These buttons enable READs or WRITEs to all of the STOTG04 registers, otherwise the program cannot communicate with the STOTG04. Note: For correct use of the application and to prevent any anomalous behavior, it is important to understand the STOTG04 registers as well as the READ/WRITE sequence of the USB OTG demonstration program when multiple registers are changing at the same time. 8/3

UM0 USB OTG demonstration software.3 STOTG04 registers The STOTG04 has four types of registers (see Figure 5). Control registers Interrupt registers (source, latch, and falling/rising edges) Information registers (vendor ID and product ID) STOTG04 device address (Ch or Dh) registers. Note: Having a general knowledge of the registers may prevent certain anomalies. For example, if the J jumper is shorted and the "TRANSP_EN" bit has been set by mistake, the STOTG04 stops I C communication with the board because it is now in "Transparent I C" mode. The communication can be reinstated by opening J. Knowing the READ and WRITE sequence is important for using the interrupt registers, especially when multiple registers are changing at the same time. In these cases, the interrupt s "falling edge" and "rising edge" registers have the highest priority. For example, to monitor the VBUS_VLD interrupt (this is usually done when the charge pump is switched ON):. set the VBUS_VLD bit in the "rising edge" register and the VBUS_DRV bit in "Control Register". Click on the "Write All" button The register WRITE order (priority) is: "Write [Rising Edge (VBUS_VLD)]" THEN "Write [Control Register (VBUS_DRV)]". The user should always monitor the "Status" field to see if READ or WRITE operations are successful. Note that the TRANSP_EN bit in the control register and the V7_EN bit in the control register 3 are enabled only when the STOTG04E device version is selected. The "VendorID" and "ProductID" registers are read-only and provide the STOTG04 s identity. See the STOTG04 USB OTG full-speed transceiver datasheet for details. Figure 5. USB OTG demonstration user interface registers Control Interrupt source, latch, and falling/rising edges STOTG04 information (read-only) STOTG04 device version STOTG04 device address Serial port address field Control buttons Note: These are STOTG04 register settings after the first "Read All" instruction. 9/3

STOTG04 demonstration board schematics UM0 0/3 Appendix A STOTG04 demonstration board schematics Figure 6. STOTG04 demonstration board schematics TIN TIN 0 RIN 3 RIN 8 C+ C- 3 C+ 4 C- 5 V+ V- 6 TOUT 4 TOUT 7 ROUT ROUT 9 GND 5 VCC 6 U ST33 VBUS D- D+ 3 ID 4 GND 5 S0 6 S 7 S 8 S3 9 CO USB VIF 4 ADR SDA SCL 3 RESET/ 4 INT/ 5 SPEED 6 SUSPEND 8 VM 0 VP RCV OE_TP_INT/ 9 SE0_VM 3 DAT_VP 4 GND 7 VBAT 0 CAP CAP VBUS 9 D- 5 D+ 6 ID 8 VTRM 7 CGND 3 U STOTG04E Q STR5 Q STR5 Q3 STR5 C9 00nF C0 00nF C 00nF C3 00nF C7 µf C 0nF C3 00nF C4 4.7µF C5 00nF C6 4.7µF C µf C8 00nF C 00nF R 47k R4 470 R5 470 R 47k R6 470 R3 47k R9 0k R7 R8 R0 0k R 0k R 47k R3 0k 3 4 5 6 7 8 9 0 3 4 CON3 USB OTG Controller 6 7 3 8 4 9 5 CON4 DB9 P4 CON P CON P6 CON P CON P3 CON P5 CON P8 CON P9 CON P0 CON P4 CON P3 CON P CON P CON P7 CON P5 CON P6 CON P7 CON P8 CON SW RESET J7 J J J3 J6 J J J4 J5 R4 0k VIF scl int/ suspend DAT_VP RCV VM sda reset/ speed oe_tp_int/ SE0_VM VP adr VBAT VIF VBUS DM DP ID VBAT VBAT VIF VBAT VIF sda scl VIF reset/ VIF DM DP ID VBUS VBAT adr sda scl reset/ int/ speed suspend VM VP RCV oe_tp_int/ SE0_VM DAT_VP VTRM VBAT-U VIF-U D- D+ DSR RTS DTR

UM0 Appendix B STOTG04 demonstration board bill of materials STOTG04 demonstration board bill of materials Table 4. STOTG04 bill of materials Part type Qty Designator Footprint ST33 U SO-6 STOTG04 U QFN-4 00 nf ±0% 8 C3, C5, C8, C9, C0, C, C, C3 0805 µf ±0%/6 V/X7R (high cap ceramic) C, C7 0805 0 nf ±0%/5 V/X7R C 0805 4,7 µf ±0%/6.3 V/X5R (high cap ceramic) C4, C6 0805 47 kω ±5% 4 R, R, R3, R 0805 470 Ω ±5% 3 R4, R5, R6 0805 Ω ±5% R7, R8 0805 0 kω ±5% 5 R9, R0, R, R3, R4 0805 Jumper 6 J, J, J3, J6, J7, J8 Thru-hole Header 8 P-P8 Thru-hole Header 7x CON3 Thru-hole DSUB-9 (male) CON4 Thru-hole Switch SW Thru-hole MINI USB-AB receptacle CON USB mini A-B STR5 3 Q, Q, Q3 SOT-3 /3

Revision history UM0 Revision history Table 5. Document revision history Date Revision Changes -Jun-006 Initial release 9-Nov-008 Modified: Figure 5 /3

UM0 Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZE REPRESENTATIVE OF ST, ST PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS, WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. 008 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 3/3