How to enable OTG2 to USB device mode in i.MX6 solo lite CPU ?

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

How to enable OTG2 to USB device mode in i.MX6 solo lite CPU ?

3,533 Views
Danube
Contributor IV

Hi All,

How to enable OTG2 to USB device mode in i.MX6 solo lite CPU ?

We had check with driver , OTG1 is OTG mode and OTG2 is fixed in USB Host mode.

We want to enable USB device only in OTG2

Does any patch can do it ?

Labels (4)
8 Replies

1,484 Views
SergioSolis
NXP Employee
NXP Employee

Do you have the part number of the board you are using?

0 Kudos

1,484 Views
justin_jiang
NXP Employee
NXP Employee

we are using the i.mx6 SABRESD board. You can find the detail info on www.freescale.com

0 Kudos

1,484 Views
Danube
Contributor IV

Hi Qingrong,

Could you please using MX6SLEVK to test it ?

We are using i.MX6 solo lite CPU. (13mmx13mm package)

0 Kudos

1,484 Views
justin_jiang
NXP Employee
NXP Employee

I have no MX6SLEVK board in my hand. I only have the MX6DQ board.

From the RM, it seems the OTG2 can't support device mode. Have you test the host mode for it?

1,484 Views
justin_jiang
NXP Employee
NXP Employee

Can you check attached patch to see if it can help you. It is not for SX. But it can switch USB OTG mode.

1,484 Views
MaxChou
Contributor III

11111111111111111111111.png

dear   sir.

      does it mean OTG2 could support device mode or not ?

i can't understand the decription in linux reference manual.

0 Kudos

1,484 Views
justin_jiang
NXP Employee
NXP Employee

It seems it can't support device mode due to the USB2PCI bridge connected.

1,484 Views
MaxChou
Contributor III

dear  Qingrong

thanks for your reply,

where is the USB to PCI bridge?,

it is connect to chip inside ?

0 Kudos