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.
已解决! 转到解答。
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