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,667 次查看
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,633 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

No, I think nothing need to aware.

 

Regards,

jing

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,654 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @Taka05 ,

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

2. yes.

 

Regards,

Jing

0 项奖励
回复
1,647 次查看
Taka05
Contributor I

Hello.

@jingpan 

> 2. yes.

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

0 项奖励
回复
1,634 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

No, I think nothing need to aware.

 

Regards,

jing

0 项奖励
回复