EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

LPC with external RAM

Started by r_goncalves2000 January 23, 2008
Hello all.
I'm starting a new design and I need some guidance.
My board needs NV RAM.
Since the amount of RAM is 128K or more I was thinking of using a
LPC2292 with external RAM.
My questions are:
#1
Can I connect a 8 bit RAM directly to the LPC external bus and just
read bytes or must I connect 2 RAMs of 16 bits each to read a full 32
bit word?
#2
What component can you sugest.
I thought of some FRAM but the prices are too hight (FM22L16 for
example costs 44 euros in newark).
Regards
Rui

An Engineer's Guide to the LPC2100 Series

On Wed, Jan 23, 2008 at 07:02:59PM -0000, r_goncalves2000 wrote:
> Hello all.
> I'm starting a new design and I need some guidance.
> My board needs NV RAM.
> Since the amount of RAM is 128K or more I was thinking of using a
> LPC2292 with external RAM.
> My questions are:
> #1
> Can I connect a 8 bit RAM directly to the LPC external bus and just
> read bytes or must I connect 2 RAMs of 16 bits each to read a full 32
> bit word?
Yes it supports devices of 8, 16 or 32 bits, configurable on a per bank basis.

> #2
> What component can you sugest.
> I thought of some FRAM but the prices are too hight (FM22L16 for
> example costs 44 euros in newark).
> Regards
> Rui
>
I only have one LPC2294 board and it uses Samsung K6R4016 sram chips.

Baldur
Some of them are very interesting, some are unnecessary.

_____

From: l... [mailto:l...] On Behalf Of
Baldur Gislason
Sent: Wednesday, January 23, 2008 2:02 PM
To: l...
Subject: Re: [lpc2000] LPC with external RAM

On Wed, Jan 23, 2008 at 07:02:59PM -0000, r_goncalves2000 wrote:
> Hello all.
> I'm starting a new design and I need some guidance.
> My board needs NV RAM.
> Since the amount of RAM is 128K or more I was thinking of using a
> LPC2292 with external RAM.
> My questions are:
> #1
> Can I connect a 8 bit RAM directly to the LPC external bus and just
> read bytes or must I connect 2 RAMs of 16 bits each to read a full 32
> bit word?
Yes it supports devices of 8, 16 or 32 bits, configurable on a per bank
basis.

> #2
> What component can you sugest.
> I thought of some FRAM but the prices are too hight (FM22L16 for
> example costs 44 euros in newark).
> Regards
> Rui
>
I only have one LPC2294 board and it uses Samsung K6R4016 sram chips.

Baldur
I've used FRAM in the past with good results. It can be pricey but so
are most other NV solutions. The cheapest is to use SRAM and a
Lithium battery. I like FRAM because you never have to worry about
replacing the battery, or replacing the entire module like with
Dallas parts. Simtek makes parts that don't require a battery, and
can be faster than FRAM, but they are also more expensive.

If you only need 128 KB, the part you are looking at is bigger than
you need. It is 128K x 16-bit. You can get the FM20L08-60-TG 128K x 8-
bit for about half the price of the part you were looking at.

Mark

--- In l..., "r_goncalves2000"
wrote:
>
> Hello all.
> I'm starting a new design and I need some guidance.
> My board needs NV RAM.
> Since the amount of RAM is 128K or more I was thinking of using a
> LPC2292 with external RAM.
> My questions are:
> #1
> Can I connect a 8 bit RAM directly to the LPC external bus and just
> read bytes or must I connect 2 RAMs of 16 bits each to read a full
32
> bit word?
> #2
> What component can you sugest.
> I thought of some FRAM but the prices are too hight (FM22L16 for
> example costs 44 euros in newark).
> Regards
> Rui
>
Thanks Mark.

I also prefer the FRAM.
I found the FM20L08-60-TG and it seems the ideal to me.
Lets see if I have enough budget.

I made a search for simtek parts and found 2 things:
Most parts are powered up at 3V not 3V3.
Can this lead to problems connecting to the LPC?

I couldn't found many prices on the net but by one price I found it
seems these devices are expensive than FRAM.

Regards.
Rui
--- In l..., "mehiegl" wrote:
>
> I've used FRAM in the past with good results. It can be pricey but so
> are most other NV solutions. The cheapest is to use SRAM and a
> Lithium battery. I like FRAM because you never have to worry about
> replacing the battery, or replacing the entire module like with
> Dallas parts. Simtek makes parts that don't require a battery, and
> can be faster than FRAM, but they are also more expensive.
>
> If you only need 128 KB, the part you are looking at is bigger than
> you need. It is 128K x 16-bit. You can get the FM20L08-60-TG 128K x 8-
> bit for about half the price of the part you were looking at.
>
> Mark
>
>
> --- In l..., "r_goncalves2000"
> wrote:
> >
> > Hello all.
> > I'm starting a new design and I need some guidance.
> > My board needs NV RAM.
> > Since the amount of RAM is 128K or more I was thinking of using a
> > LPC2292 with external RAM.
> > My questions are:
> > #1
> > Can I connect a 8 bit RAM directly to the LPC external bus and just
> > read bytes or must I connect 2 RAMs of 16 bits each to read a full
> 32
> > bit word?
> > #2
> > What component can you sugest.
> > I thought of some FRAM but the prices are too hight (FM22L16 for
> > example costs 44 euros in newark).
> > Regards
> > Rui
>
Thanks Baldur.

Have you connected a battery to the K6R4016? How?

Anyone knows if there are memories with one pin to connect a external
lithium battery in case of a power lost, just like some RTC?

Regards.
Rui
--- In l..., Baldur Gislason wrote:
>
> On Wed, Jan 23, 2008 at 07:02:59PM -0000, r_goncalves2000 wrote:
> > Hello all.
> > I'm starting a new design and I need some guidance.
> > My board needs NV RAM.
> > Since the amount of RAM is 128K or more I was thinking of using a
> > LPC2292 with external RAM.
> > My questions are:
> > #1
> > Can I connect a 8 bit RAM directly to the LPC external bus and just
> > read bytes or must I connect 2 RAMs of 16 bits each to read a full 32
> > bit word?
> Yes it supports devices of 8, 16 or 32 bits, configurable on a per
bank basis.
>
> > #2
> > What component can you sugest.
> > I thought of some FRAM but the prices are too hight (FM22L16 for
> > example costs 44 euros in newark).
> > Regards
> > Rui
> >
> I only have one LPC2294 board and it uses Samsung K6R4016 sram chips.
>
> Baldur
>
I haven't done that, but there are NVRAM controller chips around for
exactly that purpose.

Baldur

On Thu, Jan 24, 2008 at 10:36:41AM -0000, r_goncalves2000 wrote:
> Thanks Baldur.
>
> Have you connected a battery to the K6R4016? How?
>
> Anyone knows if there are memories with one pin to connect a external
> lithium battery in case of a power lost, just like some RTC?
>
> Regards.
> Rui
> --- In l..., Baldur Gislason wrote:
> >
> > On Wed, Jan 23, 2008 at 07:02:59PM -0000, r_goncalves2000 wrote:
> > > Hello all.
> > > I'm starting a new design and I need some guidance.
> > > My board needs NV RAM.
> > > Since the amount of RAM is 128K or more I was thinking of using a
> > > LPC2292 with external RAM.
> > > My questions are:
> > > #1
> > > Can I connect a 8 bit RAM directly to the LPC external bus and just
> > > read bytes or must I connect 2 RAMs of 16 bits each to read a full 32
> > > bit word?
> > Yes it supports devices of 8, 16 or 32 bits, configurable on a per
> bank basis.
> >
> > > #2
> > > What component can you sugest.
> > > I thought of some FRAM but the prices are too hight (FM22L16 for
> > > example costs 44 euros in newark).
> > > Regards
> > > Rui
> > >
> > I only have one LPC2294 board and it uses Samsung K6R4016 sram chips.
> >
> > Baldur
> >

The 2024 Embedded Online Conference