Measure USB1_VBUS via internal ADC?

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

Measure USB1_VBUS via internal ADC?

1,034件の閲覧回数
dav1
Contributor V

Is there a way for the LPC to measure the VBUS voltage via its own ADC? 

not sure how the "VBUS_valid" thresholds are measured internally in the chip (or usb phy?)

I found the VBUSVALID_THRESH register, but that doesn't really give me the value of VBUS unless I step through it up and down a few times, not really precise. I'm mainly after being able to read-out a 1-2digit value of what VBUS is at any given time. (ps. boards already fabbed, and no tap from vbus to an adc input pin)

ラベル(1)
0 件の賞賛
返信
1 返信

1,014件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

VBUS_valid and USB1_VBUS Threshold input level are the same. Regarding VBUS threshold, it depends on if your device is connected to a high-power or a low-power host. for example, In device mode on LPC55, our device tolerance slightly exceeded USB 2.0 spec. requirement, VBUS_valid is 4.192V.

ZhangJennie_0-1660294956346.png

 

Thus if USB module detects  USB1_VBUS  is less than 4.192. USB module can't work normally.

Hope this helps,

Jun Zhang

0 件の賞賛
返信