How to disable the OTG function of RT1062 and use it as device mode only.

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

How to disable the OTG function of RT1062 and use it as device mode only.

ソリューションへジャンプ
1,651件の閲覧回数
Taka05
Contributor I

Hello,

We want to use USB of MIMXRT1062 as device mode only.

We would like to use OTG1_PWR, OTG1_OC and OTG1_ID as GPIO because we do not use the OTG function.

The questions are

Q1. To disable OTG and enable device mode only, can I just set the CM register in  42.7.33 USB Device Mode (USB_nUSBMODE) to Device Controller?

Q2. Are there any precautions when using

USB_OTG1_PWR (GPIO_AD_B0_02, GPIO_AD_B1_01)

USB_OTG1_OC (GPIO_AD_B0_03, GPIO_AD_B1_03)

USB_OTG1_ID (GPIO_AD_B0_01, GPIO_AD_B1_02)

as GPIO?

ラベル(1)
0 件の賞賛
返信
1 解決策
1,617件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

No, I think nothing need to aware.

 

Regards,

jing

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,638件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @Taka05 ,

1. yes. Please refer to the USB device examples.

2. yes.

 

Regards,

Jing

0 件の賞賛
返信
1,631件の閲覧回数
Taka05
Contributor I

Hello.

@jingpan 

> 2. yes.

Could you tell me what to be aware of when using these pins as GPIO?

0 件の賞賛
返信
1,618件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

No, I think nothing need to aware.

 

Regards,

jing

0 件の賞賛
返信