What RAM is used by ROM api's

cancel
Showing results for 
Search instead for 
Did you mean: 

What RAM is used by ROM api's

329 Views
gregwilson-lind
Contributor II

I'm using a couple of LPC15xx and I am wondering whatRAM is used by the ROM API's such as the CAN api. I've found documentation that says that the top (maybe 32 bytes) of the first RAM block is used by the on chip Flash API, but I can't find anything on any of the other ROM api's.  

The project that I'm working with has 0x120 (288) bytes reserved at the top of RAM0_4 above the top of stack, which puts the Top Of Stack at 0x02000EE0. Is this much reserved space necessary. It's also annoying because if makes combining the RAM regions to get more space difficult.

Labels (1)
0 Kudos
1 Reply

78 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Greg,

New parts like the LPC15xx does not need a specific RAM section for ROM API usage if it's not explicitly mentioned.

Normally there is a get_ram_size() function to tell the user how much RAM size is needed for ROM drivers.


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos