Using EXT_VCCD in PWR_CONTROL

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello,

   

Since we are using a external voltage regulator, I need to enable EXT_VCCD in power control.  I can see 

   

#define CYFLD__EXT_VCCD__OFFSET 0x00000017u in ....\Generated_Source\PSoC4\cydevice_trm.h

   

Is a sample code available to do this?

   

 

   

Please guide, Thanks...

   

-Gitesh

0 Likes
1 Solution
Anonymous
Not applicable

Hi Gitesh,

   

The unused regulators can be disabled by setting the EXT_VCCD bit in the PWR_CONTROL register to reduce power consumption. 

   

You may use the following line of code:

   

CY_SET_REG32(CYREG_PWR_CONTROL,CY_GET_REG32(CYREG_PWR_CONTROL)|0x00800000);

   

 

   

Also refer Power Pin Connections Section in 

   

AN88619 - PSoC® 4 Hardware Design Considerations

   

(http://www.cypress.com/documentation/application-notes/an88619-psoc-41004200-hardware-design-conside...)

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

Hi Gitesh,

   

The unused regulators can be disabled by setting the EXT_VCCD bit in the PWR_CONTROL register to reduce power consumption. 

   

You may use the following line of code:

   

CY_SET_REG32(CYREG_PWR_CONTROL,CY_GET_REG32(CYREG_PWR_CONTROL)|0x00800000);

   

 

   

Also refer Power Pin Connections Section in 

   

AN88619 - PSoC® 4 Hardware Design Considerations

   

(http://www.cypress.com/documentation/application-notes/an88619-psoc-41004200-hardware-design-conside...)

0 Likes
Anonymous
Not applicable

Thanks a lot BMAH, I will try that code.

   

-Gitesh

0 Likes