EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

MSP430 with extern Nand Flash

Started by Unknown January 25, 2007
Hallo I want to connect an extern Nand Flash like this NAND128-A from
StMicroelectroniks.

Is it possibile to use ist with the MSP430?

Has anybody done this before?

Have anybody C-code for this application?

Thanks Andr

Beginning Microcontrollers with the MSP430

Andre Klejan wrote:
> Hallo I want to connect an extern Nand Flash like this NAND128-A from
> StMicroelectroniks.
>
> Is it possibile to use ist with the MSP430?
>
> Has anybody done this before?
>
> Have anybody C-code for this application?
>
> Thanks Andrbr /> >

It looks like the part you mentioned has a parallel address and data
bus. You can not connect this directly to the MSP430 as the MSP430 does
not have an external memory bus. You need a flash that has a serial
interface... something like this:
http://www.st.com/stonline/products/families/memories/fl_ser/sf_data.htm
Is this a flash chip with a wide bus and control lines or SPI or I2C
controlled?

If it has a parallel bus, than your problem will likely be just
getting enough pins to it from the uC. After that, talking to a flash
is a relatively simple matter of sending commands to erase segments,
unlock the flash, etc. Most of these flash ICs use the same command
sets and you can "ask" the chip what size, model, etc., it is so your
software can adjust to it.

A Google search on "Flash driver software C" or something should get it.

What is your application? There may be better options than a big NAND
flash.

Stuart

--- In m..., Andre Klejan wrote:
>
> Hallo I want to connect an extern Nand Flash like this NAND128-A from
> StMicroelectroniks.
>
> Is it possibile to use ist with the MSP430?
>
> Has anybody done this before?
>
> Have anybody C-code for this application?
>
> Thanks Andrbr /> >
Of course you can - if you dedicate enough IO port bits to it.

see

http://www.olimex.com/dev/msp-169stk.html

David

> It looks like the part you mentioned has a parallel address and data
> bus. You can not connect this directly to the MSP430 as the MSP430
> does not have an external memory bus. You need a flash that has a
> serial interface... something like this:
> http://www.st.com/stonline/products/families/memories/fl_ser/sf_data.h
> tm
>
Thank you for your answer. It is a good Link.

Andr
Hi,

Thank you for your answer. The chip is controlles with a wide bus. I
have no problems with the pins. I only use the two SPI-Buses for other
applications and the other pins are all unused.
About my application:

I measure different things like pressure, flow, temperature, density
and humidity. The difficulty is that the energy consumption must be
very low. The data from the sensor should be store. The whole
appliaction should be a energy consumption of 50A. My data memory
should have the size of 32MByte.

If you have a better idea for my application, as the NAND Flash please
let me know.

Andr
NAND Flash is parallel, but with a multiplexed command/address/data
bus. Some devices have an 8-bit bus and some a 16-bit bus. In either
case you can connect them to GPIO's, so it's possible to connect them
to almost any MCU with enough free GPIO's (I think 15 or 16 for 8-bit
devices).

The 2024 Embedded Online Conference