CCG3PA CYPD3175-24LQXQ: How to allocate the SRAM area, any function support this?

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

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

cross mob
HuEd_3452391
Level 3
Level 3
25 sign-ins First like received 10 sign-ins

Hello

Any way or API to allocate SRAM area for data manipulation, like malloc();

Thanks

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

malloc() call is supported in CCG3PA firmware for dynamic memory allocation.

You can use the function in the firmware in it's standard format.

You can also take a look at this KBA https://community.cypress.com/docs/DOC-9355 to understand about SRAM usage.

Best Regards,

Mallika

View solution in original post

0 Likes
1 Reply
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

malloc() call is supported in CCG3PA firmware for dynamic memory allocation.

You can use the function in the firmware in it's standard format.

You can also take a look at this KBA https://community.cypress.com/docs/DOC-9355 to understand about SRAM usage.

Best Regards,

Mallika

0 Likes