数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

UM0212 数据表(PDF) 9 Page - STMicroelectronics

部件名 UM0212
功能描述  STOTG04 USB OTG full-speed
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

UM0212 数据表(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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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