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.
Solved! Go to Solution.
Hi @smartpavan333 ,
Yes, it's possible. There isn't demos I can see. MCUXpresso configure tool can help. You can refer to these link.
Regards,
Jing
Hi @smartpavan333 ,
Yes, it's possible. There isn't demos I can see. MCUXpresso configure tool can help. You can refer to these link.
Regards,
Jing
Hi @jingpan ,
I followed as per the document, but I am getting error like this.
Can you help me this issue?
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