K60 - using VREGIN pin in USB device mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

K60 - using VREGIN pin in USB device mode

ソリューションへジャンプ
3,339件の閲覧回数
panpwr
Contributor IV

Hello,

I couldn't find an explanation regarding the logical role of this pin. I understand that - electrically - it takes an input of 5V from the USB device, and outputs 3.3V through VOUT33 pin - in order to use it for powering the Kinetis circuit.

However, I already power the circuit from an external 3.3V source, so I don't need this functionality. Nevertheless, the device won't work in USB device mode (no events are triggered to SW) if this pin is not being supplied from the USB device with 5V.

Is there a way to disable the usage of this pin using SW, or I would have to connect it to the USB device's VCC line?

Thanks,

Lior.

ラベル(2)
0 件の賞賛
返信
1 解決策
1,681件の閲覧回数
florintoma
NXP Employee
NXP Employee

As Kari said, USB KHCI controller is bus powered only. If you check the RM at sub-chapter 3.9.2.2.1 fig. 3-54 the USB controller is powered only from USB Regulator which is powered from VBUS. The USB in host mode without VREGIN to VBUS, only provides VBUS power for the device conected but the USB controller will not work. I've tested myself on 2 different K60 revisions.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,681件の閲覧回数
Kari
Contributor III

Hi Lior,

VREGIN is the input for the internal USB regulator. The USB block of the kinetis powers itself from the internal regulator only.

Look at

3.9.2 Universal Serial Bus (USB) Subsystem

from the reference manual.

Regards,

Kari

1,681件の閲覧回数
jonpry
Contributor I

Is there a way this behavior could be used to detect VBUS presence for a device only setup? I don't have any gpio pins available. 

0 件の賞賛
返信
1,681件の閲覧回数
panpwr
Contributor IV

Hey Kari,

Thanks for picking this up. There is still something I don't understand:

We've operated the USB in host mode without attaching anything to this pin. How come the regulator doesn't needs to be fed in this mode, if this is the USB block's only source of power?

0 件の賞賛
返信
1,682件の閲覧回数
florintoma
NXP Employee
NXP Employee

As Kari said, USB KHCI controller is bus powered only. If you check the RM at sub-chapter 3.9.2.2.1 fig. 3-54 the USB controller is powered only from USB Regulator which is powered from VBUS. The USB in host mode without VREGIN to VBUS, only provides VBUS power for the device conected but the USB controller will not work. I've tested myself on 2 different K60 revisions.

0 件の賞賛
返信