- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot BMAH, I will try that code.
-Gitesh