LPC54608J512ET180 Mitigations for the high memory consumption

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

LPC54608J512ET180 Mitigations for the high memory consumption

Jump to solution
373 Views
dipen-shah
Contributor I

Namaskar Community Members,

 

In our product, we are using the LPC54608J512ET180 MCU. Below are the snippets of the Memory Usage for Release and Debug Builds as observed after code compilation.

 

Release Build

 

dipenshah_0-1753713300638.png

 

 

Debug Build

 

dipenshah_1-1753713300681.png

 

 

As can be understood from the Debug Build details, the Application Code Memory and the Stack Memory have been used up to 93.21% and 97.64% respectively.

 

We have a concern about the inability to add new features to our product due to potential memory limitations.

 

Below are the questions on which I seek assistance.

 

  1. To mitigate the foreseeable situation leading to compilation errors/ warnings and/ or runtime failures due to the unavailability of the required memory, what are the possible alternatives you can recommend?

 

  1. Is there a pin-to-pin compatible MCU to the LPC54608J512ET180, with increased FLASH and/ or RAM, which can be easily replaced on our PCB board?

 

  1. In case there isn’t pin-to-pin compatible MCU, what are the suitable alternative MCUs to the LPC54608J512ET180?

 

Thanks | Regards,

Dipen Shah

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
356 Views
Pablo_Ramos
NXP Employee
NXP Employee

Hi @dipen-shah,

1. To mitigate the foreseeable situation leading to compilation errors/ warnings and/ or runtime failures due to the unavailability of the required memory, what are the possible alternatives you can recommend?

One alternative would be to use the External Memory Controller or the SPIFI interfaces to expand program memory.

You can refer to the following documents for more information on these interfaces.
AN12026 SDRAM interface to LPC546xx external memory controller
LPC546xx SPIFI Usage and Performance

2. Is there a pin-to-pin compatible MCU to the LPC54608J512ET180, with increased FLASH and/ or RAM, which can be easily replaced on our PCB board?

I apologize for the inconvenience this may cause, but we do not have a pin-to-pin compatible MCU with the LPC54608J512ET180 that offers increased Flash and/or RAM.

3. In case there isn’t pin-to-pin compatible MCU, what are the suitable alternative MCUs to the LPC54608J512ET180?

Some alternatives with higher Flash and/ or RAM would it be:

MCX N94x/54x

Up to 2 MB (2 x 1MB Bank) on chip Flash
Up to 512 KB RAM, configurable as up to 416 KB with ECC (support single bit correction two bits detection)

MCX A14,15

Single-bank Flash: Up to 1024 kB Flash with ECC (supports one bit correction and two-bits detection)
Up to 128 kB RAM, configurable for up to 8 kB with ECC (support single bit correction, two-bits detection)

Best Regards,
Pablo

View solution in original post

2 Replies
304 Views
dipen-shah
Contributor I

Namaskar @Pablo_Ramos,

 

Thank you for your prompt response. I have my answers for now.

 

I came across the below Application Note, which I thought of sharing with you and other community members.

Migration Guide from LPC546xx to LPC54(S)0xx and LPC54(S)0xxJxM

 

Thanks | Regards,

Dipen Shah

 

0 Kudos
Reply
357 Views
Pablo_Ramos
NXP Employee
NXP Employee

Hi @dipen-shah,

1. To mitigate the foreseeable situation leading to compilation errors/ warnings and/ or runtime failures due to the unavailability of the required memory, what are the possible alternatives you can recommend?

One alternative would be to use the External Memory Controller or the SPIFI interfaces to expand program memory.

You can refer to the following documents for more information on these interfaces.
AN12026 SDRAM interface to LPC546xx external memory controller
LPC546xx SPIFI Usage and Performance

2. Is there a pin-to-pin compatible MCU to the LPC54608J512ET180, with increased FLASH and/ or RAM, which can be easily replaced on our PCB board?

I apologize for the inconvenience this may cause, but we do not have a pin-to-pin compatible MCU with the LPC54608J512ET180 that offers increased Flash and/or RAM.

3. In case there isn’t pin-to-pin compatible MCU, what are the suitable alternative MCUs to the LPC54608J512ET180?

Some alternatives with higher Flash and/ or RAM would it be:

MCX N94x/54x

Up to 2 MB (2 x 1MB Bank) on chip Flash
Up to 512 KB RAM, configurable as up to 416 KB with ECC (support single bit correction two bits detection)

MCX A14,15

Single-bank Flash: Up to 1024 kB Flash with ECC (supports one bit correction and two-bits detection)
Up to 128 kB RAM, configurable for up to 8 kB with ECC (support single bit correction, two-bits detection)

Best Regards,
Pablo