Vbus detection issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Vbus detection issue

405 次查看
asmaa
Contributor V

Hello All,

On our custom board based on imx6ul, We are trying to use USB for charger detection. In device driver it is giving me following error "vbus not valid". My device tree seem to be correct shown as below:

&usbotg1 {
pinctrl-names = "default";
dr_mode = "peripheral";
imx6-usb-charger-detection;
srp-disable;
hnp-disable;
adp-disable;
status = "okay";
};

As suggested in charger algorithm of IMX6ULRM,  ENABLE_ILIMIT and ENABLE_LINREG is enabled and also VBUSVALID_THRESH is set to 4.4V. I measured VBUS volatage it is coming out to 4.93V.

Can someone at NXP, please help to understand what are the other parameters I need to consider?

Regards,

Asma

0 项奖励
1 回复

337 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,


Could you provide an schematic for this custom board (USB part)?

 

Thank you,

Regards,

Aldo.

0 项奖励