LPC17xx using AHB_RAM_MEMORY for general purposes

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

LPC17xx using AHB_RAM_MEMORY for general purposes

677 Views
castle
Contributor I

Hello,

I would like to use AHB_RAM_MEMORY SRAM banks 0 and 1 as a general purpose ram. As I understand bank0 (0x2007 C000 - 0x2007 FFFF) is used for USB and bank1 (0x2008 0000 - 0x2008 3FFF) is used for Ethernet.

Can I use Bank0 if my code does not implement any USB interface? Also, if my code uses Ethernet, can I use a part of Bank1 i.e. (0x2008 2000 - 0x2008 3FFF) of less? As I see at LPC17xx user manual, Ethernet uses (0x2008 0000 - 0x2008 1FFF). Please correct me if I am wrong.

Thanks

Labels (4)
0 Kudos
3 Replies

603 Views
castle
Contributor I

Thanks. My program does not use CAN, but as I can see, there is an address with memory size 0x800

0x40038000 0x0800

Could I use these RAM for general purpose like AHB?

0 Kudos

659 Views
frank_m
Senior Contributor III

Just as a comment, you might want the review your projects's linker scripts and possible modify it to use of this RAM sections properly.

0 Kudos

666 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

SRAM is interfaced with the Advanced High-performance bus (AHB).  You can use it as generally purpose.

Have a nice day

Jun Zhang

0 Kudos