| Electronic Components Datasheet Search |
|
UM0212 Datasheet(PDF) 8 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0212 Datasheet(HTML) 8 Page - STMicroelectronics |
|
8 / 13 page ![]() USB OTG demonstration software UM0212 8/13 1.5 Reset switch (SW1) 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). 2 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 I2C signals with RS-232C voltage levels via the serial port. The RS-232C PC signal levels are converted to the proper I2C signal levels by the demonstration board’s level shifter (see Chapter 1). 2.1 Launching the software The USB OTG demonstration program does not require any installation. 1. Copy the "demo.exe" file to a destination folder or C:\temp directory 2. Double-click on the "demo.exe" file to launch the PC-to-demonstration board interface window 3. Use the RS-232C 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 COM1, COM2, COM3 or COM4) 5. Select the STOTG04 address in the interface window (for example 2Ch or 2Dh). The default address is "2Dh", which is equivalent to open jumper J6 (see Section 1.3: Jumper assignments) 6. Select the correct device version (STOTG04E or STOTG04ES) 7. Connect the correct supply voltage to the demonstration board. 2.2 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. |
|
|
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 |
| 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 |