- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have an issue with the USBFS component on a PSoC5LP, consuming significant more power after being started and stopped again!
If I run the code: (From the power mgmt. hibernate sample code)
int main() { // Set all pins to analog HiZ here for(;;) { /* Make a delay for visibility */ CyDelay(1000u); /* Prepare system clocks for the Hibernate mode */ CyPmSaveClocks(); /* Switch to the Hibernate Mode */ CyPmHibernate(); /* Restore clocks' configuration */ CyPmRestoreClocks(); } }
I get a nice low consumption of ~ 1µA. But if I start and then stop the USBFS component, before hibernate I get a power consumption of ~4.5mA:
int main() { // Set all pins to analog HiZ here USBFS_Start(0, USBUART_DWR_VDDD_OPERATION); USBFS_Stop(); for(;;) { /* Make a delay for visibility */ CyDelay(1000u); /* Prepare system clocks for the Hibernate mode */ CyPmSaveClocks(); /* Switch to the Hibernate Mode */ CyPmHibernate(); /* Restore clocks' configuration */ CyPmRestoreClocks(); } }
Does anyone know what USBFS_Start()
activates, that USBFS_Stop()
does not disable?
I want to use the USB port, disable it and achieve the low power consumption at ~1µA.
Thanks in advance,
Kristoffer
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This problem is solved by Cypress. It should be eliminated in the next USBFS release (> v3.0).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might try a USBFS_Sleep()
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Bob
Thanks for your input. I have tried changing USBFS_Stop()
to USBFS_Suspend(),
(as no USBFS_Sleep()
exists in component v. 2.80)
The result is that the PSoC5LP does not hibernate at all. It runs in the loop, consuming ~35mA
The only way I can seem to achive the low 1µA power consumption, is by not starting USB at any point. Any ideas why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This problem is solved by Cypress. It should be eliminated in the next USBFS release (> v3.0).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Joachim, the issue was solved in the 3.0 USBFS release