2415780_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2415780_en-US

2415780_en-US

implementing usb for imx8 nano processor

trying to implement usb for imx8 nano, the eval board layout shows floating wire for Id pin. will it work for host mode? because id need to be =0 for host mode.

Re: implementing usb for imx8 nano processor

Hello @Jayesh2408 

Hope you are doing very well.


Yes, a floating ID pin will work perfectly fine for host-only mode, provided you force the controller behavior via software.

You can just change the dr_mode property in device tree from "otg" to "host":

&usbotg1 {
	dr_mode = "host";
	hnp-disable;
	srp-disable;
	adp-disable;
	usb-role-switch;
	disable-over-current;
	samsung,picophy-pre-emp-curr-control = <3>;
	samsung,picophy-dc-vol-level-adjust = <7>;
	status = "okay";

	port {
		usb1_drd_sw: endpoint {
			remote-endpoint = <&typec1_dr_sw>;
		};
	};
};

Best regards,

Salas.

Tags (1)
No ratings
Version history
Last update:
Thursday
Updated by: