i.MX8MM as USB Slave device.

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

i.MX8MM as USB Slave device.

跳至解决方案
982 次查看
vignesh-baskaran
Contributor III

Hi, 

We are trying to imx8mm-evk as peripheral for PC to EVK communication.

We were unable to see the device on both PC and EVK side.

But it can able to detect pendrive.(evk as host)

 

Any suggestions on this one?

 

 

Thanks.

0 项奖励
回复
1 解答
902 次查看
dtony
Contributor III

You need gadget driver. 

here is the test of mass storage gadget test. 

The i.MX8MM evk become a storage.  boot fat partition can be read by window. rootfs ext4 cannot. 

If you connect to a Linux, you can see both partitions. 

If you want you can test usb serial(uart) gadget, usb ethernet gadget.

Untitled.png

在原帖中查看解决方案

0 项奖励
回复
3 回复数
903 次查看
dtony
Contributor III

You need gadget driver. 

here is the test of mass storage gadget test. 

The i.MX8MM evk become a storage.  boot fat partition can be read by window. rootfs ext4 cannot. 

If you connect to a Linux, you can see both partitions. 

If you want you can test usb serial(uart) gadget, usb ethernet gadget.

Untitled.png

0 项奖励
回复
884 次查看
vignesh-baskaran
Contributor III

Hi @dtony,

Thanks it works !

0 项奖励
回复
948 次查看
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @vignesh-baskaran ,

 

It make me thing that the USB1_VBUS line was not correctly asserted, could you please check it?

 

Best regards!

0 项奖励
回复