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

cross mob
MuKh_4408861
Level 3
Level 3
10 replies posted 10 sign-ins 5 replies posted

Hi Cypress community,
I've got math library, which consume plenty of RAM space. Multiple malloc and calloc calls for large arrays.
Internal RAM for my PSoC6 chip (256kB) is not nearly enough to fit this library even with reduced data points.


Then this idea came up. I have NOR-Flash memory 8MB on the board. It is good and fast. Size should be enough. I've already configured it in XIP mode and normal mode. Sample project configured and working well with my memory S25FL064L.

Unfortunately, I do not know what/how is best way to make it work for this library big arrays.
BTW library generated from MATLAB. I know its not the good practice to try use rough generated code, but it's fastest option.
Looking for your advise. Code examples are appreciated.

0 Likes
4 Replies