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 ?
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.
I hope this helps you.
Best regards,
Felipe