LPC17xx using AHB_RAM_MEMORY for general purposes

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC17xx using AHB_RAM_MEMORY for general purposes

1,646件の閲覧回数
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

ラベル(4)
0 件の賞賛
返信
3 返答(返信)

1,572件の閲覧回数
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 件の賞賛
返信

1,628件の閲覧回数
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 件の賞賛
返信

1,635件の閲覧回数
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 件の賞賛
返信