What is the difference between SRAM_L and SRAM_U

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

What is the difference between SRAM_L and SRAM_U

580 Views
Eden_0
Contributor I

S32K142_FLASH_ID

/* SRAM_L */
m_data (RW) : ORIGIN = 0x1FFFC000, LENGTH = 0x00004000

/* SRAM_U */
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00003000

What is the difference between the two? Is it possible to remove part of the memory allocated by SRAM_L to SRAM_U?

 

0 Kudos
Reply
3 Replies

562 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Eden_0,

These are physical SRAM memories.

SRAM_L is connected to the core code bus whereas SRAM_U is connected to core system bus

RM, Section 31.3.2 SRAM accessibility

danielmartynek_0-1716467006590.png

RM, Figure 2-1. S32K14x and S32K14xW product series block diagram

danielmartynek_1-1716467174101.png

 

Regards,

Daniel

0 Kudos
Reply

560 Views
Eden_0
Contributor I

Thank you  for your support,

 Is it possible to remove part of the memory allocated by SRAM_L to SRAM_U?

0 Kudos
Reply

549 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Please find S32K1xx_Memory_Map.xlsx attached to the RM.

The SRAM_L and SRAM_U are physical memories with defined address regions.

In the linker file, the memory allocation in that regions si up to the user.

 

Regards,

Daniel

0 Kudos
Reply