USB H1 not working properly on iMX6DL custom board

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

USB H1 not working properly on iMX6DL custom board

1,685 Views
PKZ
Contributor III

Hi,

 

I am having issue with USB H1 on our custome board and the behavior is as below.

 

  1. if the usb device is plugged in after the linux is already booted up, then the device is not detected/enumerated.
  2. if the device is plugged in before the unit is powered on, then the device enumerates and can be seen in the list by 'lsusb'. But when unplugged and plugged it in again, it does not enumerate (same as in (a)).

The USB H1 is works only if the device is connected at POR only.

 

However, it works fine on USB OTG port as host.

 

On SDP, plug/unplug has no impact, the device enumerates as expected.


Any input will be much appreciated.

The device tree files are attached. No modification is done in drivers.


Thanks,

Paramod

Original Attachment has been moved to: imx6dl_vtm300.dtsi.zip

Original Attachment has been moved to: imx6qdl_vtm300.dtsi.zip

Original Attachment has been moved to: imx6dl-obuvtm300.dts.zip

Original Attachment has been moved to: imx6dl-obuvtm300-common.dtsi.zip

Original Attachment has been moved to: imx6qdl-obuvtm300.dtsi.zip

0 Kudos
Reply
6 Replies

1,415 Views
igorpadykov
NXP Employee
NXP Employee

Hi PKZ

which design your board is based  on and what software used ?

What is "usb device",  does board work with ordinary USB flash ?

Do you see VBUS voltage on USB connector ?

Best regards

igor

0 Kudos
Reply

1,415 Views
PKZ
Contributor III

Hi Igor,

Thanks for your reply.

The design is based on FSL SDP and using iMX6DL.

The BSP I am customizing is based on Linux BSP L3.10.17_1.0.2 release.

I tried with mouse,keyboard or usb modem. When the plugged in before powering the board, it is detected. Removing the device and re-attaching it does not work. Or if the device is plugged in when the linux is already booted up and running, it is not detected as well.

Yes, voltage is present on VBUS (it 4.5 V).

Initially, we customized the Android 4.3 BSP and it works as expected. But having issue with linux BSP.

Thanks,

PK

0 Kudos
Reply

1,415 Views
igorpadykov
NXP Employee
NXP Employee

Hi PKZ

does it work with FSL SDP board with Demo

BSP L3.10.17_1.0.2 ?

Best regards

igor

0 Kudos
Reply

1,415 Views
PKZ
Contributor III

Hi igor,

Yes, USB H1 is ok on FSL SDP with demo image.

We have removed many HW on our board, such as no LVDS display(only HDMI), no charger, no SD card, no Ethernet, LEDs/Switches.

So, in the device tree (as attached in my first post), I have removed all those.

Regards,

PK

0 Kudos
Reply

1,415 Views
igorpadykov
NXP Employee
NXP Employee

Hi PKZ

I would check carefully 24MHz crystal and

probably try to change it.

Best regards

igor

0 Kudos
Reply

1,415 Views
PKZ
Contributor III

Hi igor,

Thanks for your input, but I do not think the issue is with crystal as the same HW works fine if I flash the android image.

Can any one review the device tree files to see if there is any dependency or configuration is missed out?

Thanks & regards,

PK

0 Kudos
Reply