iMX8M-EVK USB TYPE-C (J901) cannot work properly.

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX8M-EVK USB TYPE-C (J901) cannot work properly.

456 Views
Contributor II

Hello,

I'm writing VxWorks driver for iMX8M-EVK USB TYPE-C port. I found that iMX8M-EVK USB TYPE-C (J901) cannot work properly. It mounts successfully, but read/write sometimes fails.

So I want to verify the iMX8M-EVK Type-C port on Linux environment. Can you tell me which Linux version iMX8M-EVK Type-C port can work? Thanks.

Labels (1)
Tags (1)
0 Kudos
5 Replies

24 Views
NXP TechSupport
NXP TechSupport

Can you tell me which Linux version iMX8M-EVK Type-C port can work? 

> I used imx8M evk type c port to download image with 4.14.78, which works for downloading, for more detailed information, pls refer to the chapter 4.9 USB of enclosed file

0 Kudos

24 Views
Contributor II

Thanks. In i.MX_Reference_Manual.pdf, section 4.9 USB introduces CHIPIDEA USB-HS OTG controller. It is not for iMX8M. Section 4.10 USB 3.0 introduces a super-speed USB IP from Cadence for i.MX 8 and i.MX 8X families. iMX8M is using a different USB IP from i.MX 8 and i.MX 8X families. I cannot find the introduction to iMX8M USB. Can you tell me which section it is? Thanks.

0 Kudos

24 Views
NXP TechSupport
NXP TechSupport

one can refer to the imx8MQ usb3 phy driver as below:

https://lkml.org/lkml/2018/11/15/847 

0 Kudos

24 Views
Contributor II

Thanks. I have refered the imx8MQ usb3 phy driver and made the iMX8M-EVK USB TYPE-A port (J903) work. But iMX8M-EVK USB TYPE-C port (J901)  still cannot work properly. Can iMX8M-EVK USB TYPE-C port (J901)  work on uboot? 

0 Kudos

24 Views
NXP TechSupport
NXP TechSupport

one can refer to the uboot source code as below:

https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8mq_evk/imx8mq_evk.c?h=...

#ifdef CONFIG_USB_TCPCstruct tcpc_port port;struct tcpc_port_config port_config = { .i2c_bus = 0, .addr = 0x50, .port_type = TYPEC_PORT_UFP, .max_snk_mv = 20000, .max_snk_ma = 3000, .max_snk_mw = 15000, .op_snk_mv = 9000,};
0 Kudos