Simultaneous run two USB ports on IMXRT1176-EVK

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

Simultaneous run two USB ports on IMXRT1176-EVK

跳至解决方案
1,680 次查看
smartpavan333
Contributor I

Hi,

 

I am working on IMXRT1170-EVK and I took the example of "usb_device_cdc_vcom_lite".

In IMXRT1170-EVK had two USB ports.

I tested individually by changing CONTROLLER_ID. It's working fine.

#define CONTROLLER_ID kUSB_ControllerEhci0

#define CONTROLLER_ID kUSB_ControllerEhci1

 

Our requirement is to run both the USB ports simultaneously.

Q1: Is it possible to run two USB ports simultaneously?

Note:

I took another object for that structure.

usb_cdc_vcom_struct_t s_cdcVcom,s1_cdcVcom;

I modified in the handler section also.

Please find the attachment.

Q2: After initialization, USB OTG-2 App init is not working. It is returning error in this function(USB_DeviceAllocateHandle(controllerId, &deviceHandle);?

Can you help me this issue?

 

Thankyou.

 

0 项奖励
回复
1 解答
1,659 次查看
jingpan
NXP TechSupport
NXP TechSupport
0 项奖励
回复
3 回复数
1,660 次查看
jingpan
NXP TechSupport
NXP TechSupport
0 项奖励
回复
1,568 次查看
smartpavan333
Contributor I

Hi @jingpan ,

I followed as per the document, but I am getting error like this.

Can you help me this issue?

Screenshot (4).png

0 项奖励
回复
1,543 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @smartpavan333 ,

Currently the tool doesn't support adding two usb instance in a project. You must add into software by yourself. Please refer to the examples I give.

 

Regards,

Jing

0 项奖励
回复