Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1040 Datasheet(PDF) 2 Page - STMicroelectronics

Part # AN1040
Description  FOR USB SELF-POWERED DEVICES
PDF  4 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1040 Datasheet(HTML) 2 Page - STMicroelectronics

  AN1040 Datasheet HTML 1Page - STMicroelectronics AN1040 Datasheet HTML 2Page - STMicroelectronics AN1040 Datasheet HTML 3Page - STMicroelectronics AN1040 Datasheet HTML 4Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 2 / 4 page
background image
2/4
1 VBUS MONITORING
ST7 and ST9 microcontrollers with an embedded USB interface are equipped with an on-chip
3.3V voltage regulator that pulls up the appropriate data line with a 1.5 k
Ω ±5% resistor.
This regulator can be switched on or off by software via the PDWN (
Power Down) bit.
When the USB microcontroller is used in a self-powered application, it has to monitor the VBUS
signal to power off the 3.3 V voltage regulator if the USB cable is removed or if the VBUS is
switched off.
This can be implemented using an I/O pin configured as input CMOS.
Two monitoring schemes are possible:
1. Monitoring by polling the I/O pin in the main loop of the microcontroller program.
2. Monitoring by interrupt if the I/O pin connected to the VBUS signal has interrupt capability. If
VBUS is removed, an interrupt will be generated on the falling edge.
Figure 1. VBUS Configuration
When the VBUS signal is removed, the program must set the PDWN bit. This will power off the
3.3V on-chip voltage regulator that supplies the external pull-up resistor and the transceiver
and as a result, current will not be supplied on the data line attached to the VBUS signal.
Main Loop
Vbus
D+
D-
GND
5V
1.5KOhm
USBVCC
USBDP
USBDM
USBGND
USB
Microcontroller
USBconnector B
I/Opin
I/OPin High
Set PDWNbit of
USBCTLRregister
to power off 3.3V
voltage regulator
Main loop process
NO
YES
2



Html Pages

1 2 3 4


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