- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In order to reduce power consumption as much as possible in a CY8C20xx7, the device will repeatedly make measurements and then enter sleep mode for a while. What hardware can be switched off while sleeping and then quickly switched on to make measurements? Specifically the control bits cleared in CSDPLUS_Stop. Also how much power is reduced and are there any issues, delays or reinitializations needed for the following components cleared in the stop function:
_`@INSTANCE_NAME`_Stop:
.....
M8C_SetBank0
; and reg[AMUXCFG], ~0ch ; Disconnect internal capacitor
and reg[`@INSTANCE_NAME`_CapSense_CR2_REG], ~`@INSTANCE_NAME`_CS_CR2_INIT ; Disable precharge switching and disconnect IDAC
and reg[`@INSTANCE_NAME`_CapSense_CR0_REG], ~08h ; Disable CSDPLUS mode
and reg[`@INSTANCE_NAME`_CapSense_CR3_REG], ~`@INSTANCE_NAME`_CS_CR3_INIT ; Power down and disconnect VRef Buffer
mov reg[`@INSTANCE_NAME`_CapSense_PRS_CR_REG], 00h `@CTAB40`; Disable PRS
RAM_EPILOGUE RAM_USE_CLASS_1
ret
- Labels:
-
PSoC 1