How to set USB Regulator to Standby mode?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to set USB Regulator to Standby mode?

跳至解决方案
2,933 次查看
joseph0577
Contributor III

I am wondering how to set the USB voltage regulator to standby mode on the K22FX512VMC chip. We do not need the USB on the project, and would like to save as much power as possible. The reference manual only states that the mode is controlled by 'internal power mode signals'. I use KDS with Processor Expert to program on this project.

标签 (2)
标记 (3)
0 项奖励
回复
1 解答
2,317 次查看
cutworth
NXP Employee
NXP Employee

Hi Gray,

You can disable USB regulator with SIM_SOPT1[USBREGEN] bit.

pastedImage_0.png

To allow writing to this bit, you need to write SIM_SOPT1CFG[URWE] bit first.

pastedImage_1.png

Hao

在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,317 次查看
Paul_Tian
NXP Employee
NXP Employee

Hi, Gray

In chapter USB controller configuration, you can find a note "When USB is not used in the application, it is recommended that the USB regulator VREGIN and VOUT33 pins remain floating.". There is no need to control any register for this regulator.

Best Regards

Paul

0 项奖励
回复
2,317 次查看
joseph0577
Contributor III

Also, while I do not need USB on this project, I may need it in the future, so the regulator is connected to the power supply. When a USB device is not connected to the K22, is it possible to disable the regulator without disconnecting it from the power supply?

0 项奖励
回复
2,318 次查看
cutworth
NXP Employee
NXP Employee

Hi Gray,

You can disable USB regulator with SIM_SOPT1[USBREGEN] bit.

pastedImage_0.png

To allow writing to this bit, you need to write SIM_SOPT1CFG[URWE] bit first.

pastedImage_1.png

Hao

0 项奖励
回复
2,317 次查看
joseph0577
Contributor III

Thanks!

0 项奖励
回复
2,317 次查看
joseph0577
Contributor III

Does the VREGIN pin control whether the regulator is on/off?

0 项奖励
回复