Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UM0212 Datasheet(PDF) 9 Page - STMicroelectronics

Part # UM0212
Description  STOTG04 USB OTG full-speed
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0212 Datasheet(HTML) 9 Page - STMicroelectronics

Back Button UM0212 Datasheet HTML 5Page - STMicroelectronics UM0212 Datasheet HTML 6Page - STMicroelectronics UM0212 Datasheet HTML 7Page - STMicroelectronics UM0212 Datasheet HTML 8Page - STMicroelectronics UM0212 Datasheet HTML 9Page - STMicroelectronics UM0212 Datasheet HTML 10Page - STMicroelectronics UM0212 Datasheet HTML 11Page - STMicroelectronics UM0212 Datasheet HTML 12Page - STMicroelectronics UM0212 Datasheet HTML 13Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 9 / 13 page
background image
UM0212
USB OTG demonstration software
9/13
2.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 (2Ch or 2Dh) registers.
Having a general knowledge of the registers may prevent certain anomalies. For example, if
the J1 jumper is shorted and the "TRANSP_EN" bit has been set by mistake, the STOTG04
stops I2C communication with the board because it is now in "Transparent I2C" mode. The
communication can be reinstated by opening J1. 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):
1.
set the VBUS_VLD bit in the "rising edge" register and the VBUS_DRV bit in "Control
Register2"
2.
Click on the "Write All" button
The register WRITE order (priority) is:
–
"Write [Rising Edge (VBUS_VLD)]" THEN
–
"Write [Control Register 2 (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 1 and the 2V7_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.
Note:
See the STOTG04 USB OTG full-speed transceiver datasheet for details.
Figure 5.
USB OTG demonstration user interface registers
Note:
These are STOTG04 register settings after the first "Read All" instruction.
Control
STOTG04
information (read-only)
STOTG04
device address
Serial port
address field Control buttons
Interrupt source,
latch, and falling/rising
edges
STOTG04
device version



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com