Simultaneous run two USB ports on IMXRT1176-EVK

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

Simultaneous run two USB ports on IMXRT1176-EVK

Jump to solution
1,679 Views
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 Kudos
Reply
1 Solution
1,658 Views
jingpan
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
3 Replies
1,659 Views
jingpan
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
1,567 Views
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 Kudos
Reply
1,542 Views
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 Kudos
Reply