PSOC RAM Retention

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

cross mob
Azlum
Level 1
Level 1
First question asked Welcome!

I am measuring the sleep current for CY8C6248BZI-S2D44. Anyone can help me how to check how much RAM is retained during sleep mode ?

0 Likes
1 Solution
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Azlum,

Here is the low-power mode and SRAM 

 

Power mode SRAM retention
Active All SRAM
Sleep All SRAM
Deep Sleep 64K bytes. Consult the TRM to determine which SRAM block is retained.
Hibernate 0 bytes
Backup 0 bytes

 

Remember if VDDD drops too low, SRAM data is not guaranteed to be reliable.

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
2 Replies
PandaS
Moderator
Moderator
Moderator
100 solutions authored 5 likes given 250 sign-ins

Hi @Azlum 

I found the following details from Low Power Application Note and Device Datasheet + Register TRM.

PSoC™ 6 MCU devices allow powering off individual SRAM banks or pages within a bank. The size of pages within a bank depends on the specific device and bank as detailed in the device datasheet. Specific devices will have one or more SRAM banks. Most devices have one bank with a smaller page size (typically 32 KB) for fine-grained control of the amount of SRAM enabled. Any unused page can be disabled by writing to the CPUSs power control registers. This technique is most useful in system deep sleep mode where retaining 64 K SRAM = 7 µA (SIDDS1) and while retaining 256 K SRAM = 9 µA (SIDDS2) as listed in the CY8C61x6 datasheet.

Consult the register TRM of the device for all power control registers.
You can check this register CPUSS_RAM0_PWR_MACRO_CTL0.

As an advanced use case, modification of the project’s linker script can be used with SRAM power down to optimize the total amount of SRAM required or allow custom data placement in support of dynamic SRAM powering.

Thanks, and regards
Sobhit

0 Likes
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Azlum,

Here is the low-power mode and SRAM 

 

Power mode SRAM retention
Active All SRAM
Sleep All SRAM
Deep Sleep 64K bytes. Consult the TRM to determine which SRAM block is retained.
Hibernate 0 bytes
Backup 0 bytes

 

Remember if VDDD drops too low, SRAM data is not guaranteed to be reliable.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes