| 数据搜索系统,热门电子元器件搜索 |
|
AN1040 数据表(PDF) 2 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1040 数据表(HTML) 2 Page - STMicroelectronics |
|
2 / 4 page ![]() 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 |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |