Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: lpc2292 external sram

2004-07-14 by philips_apps

Doug,

The compiler does not need to know about the width of the external 
RAM. It's all taken care by the EMC provided that the bank 
configuration registers are intialized correctly.

If you are planning to execute code from the external 16 bit bank 
then the THUMB code will give you better execution performance than 
the ARM code. Each ARM instruction will require 2 accesses to the 16 
bit bank where as Thumb instruction will require only one access.


Philips Apps.

--- In lpc2000@yahoogroups.com, "douglasbolton" <doug@c...> wrote:
> I'm putting a 128k*16 external sram onto an lpc2292. I've set the 
> external memory controller for this bank to be 16 bits wide. Does 
the 
> compiler need to know about the width of the external ram bus or 
does 
> the external memory controller look after this ?
> 
> I'm using the IAR compiler but am interested in all compiler 
> situations
> 
> Doug

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.