Use of AHBSRAM in LPC1768

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

Use of AHBSRAM in LPC1768

798 Views
ashokrabadiya
Contributor I

I'm working on a LPC17688.

I want to use the AHB SRAM (32 KB at 0x2000 0000, 16 KB at 0x2000 8000 and 16 KB at 0x2000 C000) to store program.

Question 1 : what are the differences between local SRAM and AHB SRAM? The AHB SRAM access time is the same as for local SRAM?

Question 2 : I want to use it to store program (no data). These areas are contiguous, aren't they ? So I just have to define one area in my scatter file (from 0x2000 0000 to 0x2000 C000) and not 3 differents ?

Labels (1)
0 Kudos
1 Reply

619 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi Ashok,

 

SRAM is interfaced with the Advanced High-performance bus (AHB). This in order to reach high speed transfers and  optimize performance. Please check below the MCU diagram and Memory map for the MCU you are working on.

pastedImage_3.png

pastedImage_4.png

I hope this helps you.

 

Best regards,

Felipe

0 Kudos