View Issue Details

IDProjectCategoryView StatusLast Update
0003522PicoCoreBBRGB_HWUSB devicepublic2019-03-20 09:08
ReporterrautenbergAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.10 
Target Version1.20 
Summary0003522: Protective diodes for USB do not work with ID pin
Descriptionas we have just noticed, there is a problem if there is nothing plugged into the USB OTG1 socket. Then there is a "nice" interplay. 1:

The OTG1 ID pin is pulled up by the pull-up, the port is switched to device function, the OTG1 PWR is switched off. This causes VBUS and thus the REF voltage on the protective diode chip to drop to 0V. However, the protective diode of the ID pin switches through and pulls the ID pin to Low. 2.

2. the port thinks: "Oops, I am a host" and switches on OTG1_PWR. This turns VBUS to 5V and thus also the REF voltage of the protection diode chip. But now the ID pin is no longer pulled to Low and goes back to High.

3. so the port thinks: "Oops, I'm a device" and returns to step 1.

So the ID pin changes constantly between High and Low and so consequence the VBUS voltage is constantly switched on and off and the port is also reconfigured software-wise constantly between host and device.

Activities

There are no notes attached to this issue.