前の日記の続き、ハードオフで買ったジャンク 330 円スイッチ付き HUB を調べてみる。そのままでは Self Powered で使えず、High Speed の HUB tree 構造からして規格通りに使える port は Super Speed x 3 + High Speed x (3 + 1) だった。
DC in jack を取り外して周辺回路を調べてみる。この jack は戻さず center 2.1mm jack を外出して取り付ける予定だ。
VBUS line を調べてみた。DC in jack の周辺に未実装の抵抗があった。抵抗が無いので、DC in jack に AC アダプタを繋ぐと self power を上手く供給できないことが分かった。UFP の VBUS と衝突する。
DC in jack の +5V は内部回路と各ポートの VBUS スイッチに直接繋いであった。DC jack に何も繋いでいなければ、VBUS になにも影響は無い。
Jack out で P channel MOS FET を pull down して UFP からくる VBUS 電源を直通さる。Jack in で P channel MOS FET を pull up して、UFP から VBUS をダイオード経由で取り入れ、Jack からくる 5V はそのまま内部回路と VBUS スイッチへ入ってくる。
High Speed HUB contoller 周りの構成を調べる。D+, D- ペアラインを追う。
VL812 の High Speed port1 端子から FE1.1 の上流側へ入り、FE1.1 の port1 が Super Speed port1 へ戻されていた。
Super Speed と High Speed は 2 階建て構造なので 1 階部分の High Speed と 2 階部分の Super Speed はある程度独立している。もしかしたら、何事も無く動く?
調子よく使いたければ、この日記の一番初めに出した画像の通り、真ん中の Super Speed port に Super Speed device は繋がない方が良い。黒いコネクタのマウス・キーボードを繋ぐのが無難だ。あるいは、Micro B conecctor が出ている少し古めのスマホを繋いでおくのが良さそうだ。
Re:普通に使えるのは Super Speed 3 port + High Speed x (3 + 1) port かな - ハードオフジャンク 税込 330 円 スイッチ付き HUB(01/03)
Zerosquare さん
Hello Aちゃん22-san,
If I understand the schematic correctly, with your modification, the MOSFETs' gate-to-source voltage is about 2.5V when the DC jack is plugged in.
It depends on the MOSFET type, but 2.5V looks a bit low. So it is possible that the MOSFETs are not fully turned on, and it could cause voltage drop or overheating.Have you measured the RDSon?
(2021.01.04 03:50:24)
Re:普通に使えるのは Super Speed 3 port + High Speed x (3 + 1) port かな - ハードオフジャンク 税込 330 円 スイッチ付き HUB(01/03)
Zerosquare さん
Aちゃん22-san,
I think the resistor to the positive side is needed. Without it, the gate of the MOSFETs is floating when the DC jack is not plugged in, and they could turn on because of small current leakage.
I would suggest using a 47k or 100k resistor for the positive side, as it solves both problems.
(2021.01.04 12:12:18)