Simultaneous run two USB ports on IMXRT1176-EVK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Simultaneous run two USB ports on IMXRT1176-EVK

ソリューションへジャンプ
1,489件の閲覧回数
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,468件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
3 返答(返信)
1,469件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
1,377件の閲覧回数
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,352件の閲覧回数
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 件の賞賛
返信