How to use RAM1 of JN5189

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use RAM1 of JN5189

737 Views
TeddyZheng1
Contributor I

The RAM of JN5189 has two areas, RAM0 (88KB) and RAM1 (64KB), but when I compile official Demos (such as JN-AN-1244), only RAM0 is used, even if the amount of memory consumed exceeds the size of RAM0, it will not RAM1 will be used, so I want to know how to use RAM1? Or which document introduces this content? I did not find it.

Thank you very much!

0 Kudos
1 Reply

723 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

Customer can try to use second 64KB RAM partition by define variables of following way:

uint8_t temp[1024]  __attribute__ ((section(".bss.$RAM2")));

Regards,

Mario

0 Kudos