USB Suspend "simulieren"?

Hallo,

abgeschaltet werden sondern ich will im Prinzip nur eine Variable entweder auf "True" oder auf "False" setzen.

Ich bin nun schon durch diverse Beispiele durch, aber aus irgendeinem Grund bekomme ich das nicht hin. Der PC scheint mir direkt beim Anstecken ein "Suspend"-Signal zu schicken, es folgt aber kein "Wakeup" mehr.

Mich wundert ja schon das ich direkt beim Einstecken beim laufenden PC ein "Suspend" geschickt bekomme. Noch mehr wundere ich mich aber, dass ich aus diesem Zustand nicht mehr herauskomme. Muss ich irgendwie auf die Anfrage "Suspend" reagieren?

Controller ist STM32F103

Danke im Voraus

Manuel

Reply to
Manuel Reimer
Loading thread data ...

Datenleitungen ist. Ohne PC ist da AFAIK Funkstille.

Marcel

Reply to
Marcel Mueller

Als ich dein Post gestern gelesen habe, war ich noch der Meinung, dass

| It goes into suspend mode when it detects a constant idle state on | the USB data lines for more than 3.0 ms. (No Start Of Frames are | issued by the Host for more than 3.0 ms). Any bus activity keeps | the mouse out of the suspend state.

Es wird also wirklich so gemacht. Und auf was man achten muss steht da auch ("Start Of Frame").

Manuel

Reply to
Manuel Reimer

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.