SRAM ISSUE with CY8C29466-24PVXI IC

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

cross mob
chmoc_1567941
Level 4
Level 4

HI,

I have been using CY8C28452 and CY8C27443 till now for any project development in my company but my last project has a large numbers of global variable declaration so its not working well in this ic. so i started programming on CY8C29466 IC. Here i found something surprising Result.

when i was using CY8C28452 last time for latest project that time

Rom size was 96 % full

Ram size was 72% full,183 bytes used (does not include stack usage).

After i moved to CY8C29466. now same configuration and program write for this IC. it is giving me result is below:

Rom size was 47 % full

Ram size was 72% full,183 bytes used (does not include stack usage).

here i found Rom size is decrease but Ram size remain same.

why its happening ????

CY8C29466 has a double Ram size compare to CY8C28452 still why result is same??

Best Regards,

Chirag Modesara

0 Likes
1 Solution
LuNo_297436
Level 3
Level 3
First solution authored 10 replies posted 10 questions asked

Hi

in  Project> Project settings , select the  option Enable paging.

This enables Large Memory Model and you can work with 2 K RAM (8 pages) of the CY8C29466.

Best regards

Luis

View solution in original post

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Probably a simple misunderstanding. When the Rom size becomes larger, the percentage of used rom decreases. The number of bytes used (nearly) stays the same.

Same with sram: Your project uses the same amount of sram (183 bytes) regardless of the configuration.

Bob

0 Likes

HI,

BOB

Thanks for Your Quick Response.

I want to use more global Variable in CY8C28542 OR CY8C29466 ic. i want to  use greater than 300 byte then how can i do it???

Best Regards,

Chirag Modesara

0 Likes

"i want to  use greater than 300 byte then how can i do it???"

Consider to switch to a PSoC4 device which comes with quite a lot more resources. The prototype kits allow for debugging and have got 4 to 16KB of SRam. Start by downloading Creator 4. and learning how to handle the new IDE.

Bob

0 Likes
LuNo_297436
Level 3
Level 3
First solution authored 10 replies posted 10 questions asked

Hi

in  Project> Project settings , select the  option Enable paging.

This enables Large Memory Model and you can work with 2 K RAM (8 pages) of the CY8C29466.

Best regards

Luis

0 Likes