About i.MX8M Mini's USB usage

cancel
Showing results for 
Search instead for 
Did you mean: 

About i.MX8M Mini's USB usage

527 Views
937556508
Contributor I

Hi,

I want to design a USB circuit using i.MX8M Mini.The circuit scheme is that USB2 as OTG, USB1 as slave, can you give me some design reference or suggestion.

I experimented on the development board, USB2 OTG can be used normally, but I can't use the USB1 OTG as a slave(USB1 OTG as a host is OK).

Additionally, after I disabled USB2 port,  USB1 OTG can be used normally. I don't know if USB1 can be used as a slave?

I am very troubled now, I hope to get your help as soon as possible.

Best wishes.

0 Kudos
7 Replies

337 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Liu,

   About I.MX8MM USB design, you can refer to the document.

https://community.nxp.com/docs/DOC-346008 

Hope the document is hlepful to you.

Have a nice day!

B.R,

weidong

0 Kudos

337 Views
937556508
Contributor I

Hi weidong,

Thank you for your reference.

In my design, a USB is a TYPEC interface.

Now I think the OTG of this typeC interface will affect the use of another USB interface as a slave,

I am using the development version of 8MMINILPD4-EVK

Can you help me check FW what is the reason?

--------------------------------------------------------------------------------------------------------

I experimented on the development board, USB2 OTG can be used normally, but I can't use the USB1 OTG as a slave(USB1 OTG as a host is OK).

Additionally, after I disabled USB2 port,  USB1 OTG can be used normally.

0 Kudos

337 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Liu,

   Let me discuss it in Chinese, if you can't understand Chinese, let me know, please!

1. USB1 / USB2 都可以配置OTG模式。 但是,开发板上的设计,USB2供电,USB1用于下载。

2. 对于 usb serial download 配置时,USB1 / USB2 只能有一个工作在device模式,用于下载image。

所以,你的测试是对的。

Have a nice day!

B.R,

Weidong

0 Kudos

337 Views
937556508
Contributor I

您好 Weidong,

谢谢您的确认。

现在我的设计是用芯片MIMX8MM5DVTLZAA,搭载两个USB电路,USB port1作为device,USB port2作为OTG,

我的这个方案是不是不可行?请帮我确认一下。

祝好!

0 Kudos

337 Views
weidong_sun
NXP TechSupport
NXP TechSupport

你的也是可行的!

一般我设计的时候是这样做的:

USB1做为OTG,既可以做device,也可以做HOST。

USB2做HOST。

伟东

0 Kudos

284 Views
937556508
Contributor I

您好 伟东,

 

我们之前设计的i.MX8M Mini搭载USB-type-c的板子已经造出来了,现在板子出现了USB无法识别的想象,非常希望能够得到您的帮助。

下图是我们的原理图(USB1_ID是NC的),及USB不识别的报告信息。

期待您的回复。

祝好!

TYPEC.PNGUSB.PNGUSB不识别.jpg

0 Kudos

337 Views
937556508
Contributor I

您好,

现在我的方案是USB port1作为slave是定死的,无论usb serial download 配置,还是Internal Boot 。

在Internal Boot 完成后,CPU正常工作时,我担心在USB port2设定为OTG的情况下,USB port1作为slave是不能够被识别的(就和开发板的情况一样)。

祝好!

0 Kudos