EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Help reg. xternal EEPROM

Started by deepak August 27, 2003
Hi,
  I am looking for a 16 bit flash mcu with JTAG support and an eeprom 
for non volatile data.
   I want to now whether an external EEPROM can be interfaced with 
MSP430f149.
   Please help

regards
Deepak Kukreja



Beginning Microcontrollers with the MSP430

Hi 
  I am looking for a 16 bit FLASH mcu with JTAG support and an EEPROM 
for non-volatile data.
  I want to know whether an external EEPROM can be interfaced with 
MSP430f149.
   Please help
regards
Deepak Kukreja


Hi

you can attach I2C serial EEPROM to a MSP430. As far as I remember,
there is an application note on this topic available somewhere on the TI
website (www.ti.com).  

Bye

Christian

On Wed, 2003-08-27 at 08:11, deepak wrote:

> Hi 
>   I am looking for a 16 bit FLASH mcu with JTAG support and an EEPROM 
> for non-volatile data.
>   I want to know whether an external EEPROM can be interfaced with 
> MSP430f149.
>    Please help
> regards
> Deepak Kukreja
> 
> 
> 
> .
> 
>  
> 
> ">http://docs.yahoo.com/info/terms/
> 







Hi again

I found the app. note:

http://focus.ti.com/lit/an/slaa115/slaa115.pdf

Bye
Christian






Hi Deepak. You can easily attach an external serial memory to the 
MSP430. I do it all the time. You can use IIC, or SPI. Memory sizes 
range from 1k bits to 64Mbits. The 64Mbit version has a parallel port 
option.

However, since the MSP430 is flashed based, and is able to write to its 
own flash memory, using it as a data store. If you only need a lowish 
amount of data storage you can use the built in flash. I do this for 
data logging all the time.

tell us a little bit more about your applicati0on and we'll be able to 
help you further.

Al

deepak wrote:

> Hi,
>   I am looking for a 16 bit flash mcu with JTAG support and an eeprom 
> for non volatile data.
>    I want to now whether an external EEPROM can be interfaced with 
> MSP430f149.
>    Please help
> 
> regards
> Deepak Kukreja
> 
> 
> 
> 
> .
> 
>  
> 
> ">http://docs.yahoo.com/info/terms/ 
> 
> 
> 


Thanks a lot chistian.I too saw the appl. note,its for intefacing an 
i2c eepom for that i will have to simulate the two wire i2c potocol 
on MSP, are ou aware of eeproms that use SPI inteface instead,since 
MSP has inbuilt SPI module.
 
Thanks once again



--- In msp430@msp4..., Christian Epp <entwicklung@b...> wrote:
> Hi again
> 
> I found the app. note:
> 
> http://focus.ti.com/lit/an/slaa115/slaa115.pdf
> 
> Bye
> Christian
> 
> 
> 
> 


Hi,
   Thanks for your help In fact I was looking fo EEPROM with an SPI 
interface as MSP has an SPI module.
   For storing data in the flash a complete segment has to be emoved 
how do you tackle this.I want to store some process variables which 
maybe altered one at a time.
    how do you tackle this problem of altering one or two variables 
without deleting the complete flash segment.

Deepak


--- In msp430@msp4..., onestone <onestone@b...> wrote:
> Hi Deepak. You can easily attach an external
serial memory to the 
> MSP430. I do it all the time. You can use IIC, or SPI. Memory sizes 
> range from 1k bits to 64Mbits. The 64Mbit version has a parallel 
port 
> option.
> 
> However, since the MSP430 is flashed based, and is able to write to 
its 
> own flash memory, using it as a data store. If you
only need a 
lowish 
> amount of data storage you can use the built in
flash. I do this 
for 
> data logging all the time.
> 
> tell us a little bit more about your applicati0on and we'll be able 
to 
> help you further.
> 
> Al
> 
> deepak wrote:
> 
> > Hi,
> >   I am looking for a 16 bit flash mcu with JTAG support and an 
eeprom 
> > for non volatile data.
> >    I want to now whether an external EEPROM can be interfaced 
with 
> > MSP430f149.
> >    Please help
> > 
> > regards
> > Deepak Kukreja
> > 
> > 
> > 
> > 
> > .
> > 
> >  
> > 
> > ">http://docs.yahoo.com/info/terms/ 
> > 
> > 
> >


We use the AT25256 EEPROM part with the SPI interface. This is 32Kx8. 
The MSP430F169 which is sampling now has an I2C option on one of the 
uart ports.
--- In msp430@msp4..., "deepak" <kuldeepakasha@y...> wrote:
> Hi,
>    Thanks for your help In fact I was looking fo EEPROM with an SPI 
> interface as MSP has an SPI module.
>    For storing data in the flash a complete segment has to be 
emoved 
> how do you tackle this.I want to store some
process variables which 
> maybe altered one at a time.
>     how do you tackle this problem of altering one or two variables 
> without deleting the complete flash segment.
> 
> Deepak
> 
> 
> --- In msp430@msp4..., onestone <onestone@b...> wrote:
> > Hi Deepak. You can easily attach an external serial memory to the 
> > MSP430. I do it all the time. You can use IIC, or SPI. Memory 
sizes 
> > range from 1k bits to 64Mbits. The 64Mbit
version has a parallel 
> port 
> > option.
> > 
> > However, since the MSP430 is flashed based, and is able to write 
to 
> its 
> > own flash memory, using it as a data store. If you only need a 
> lowish 
> > amount of data storage you can use the built in flash. I do this 
> for 
> > data logging all the time.
> > 
> > tell us a little bit more about your applicati0on and we'll be 
able 
> to 
> > help you further.
> > 
> > Al
> > 
> > deepak wrote:
> > 
> > > Hi,
> > >   I am looking for a 16 bit flash mcu with JTAG support and an 
> eeprom 
> > > for non volatile data.
> > >    I want to now whether an external EEPROM can be interfaced 
> with 
> > > MSP430f149.
> > >    Please help
> > > 
> > > regards
> > > Deepak Kukreja
> > > 
> > > 
> > > 
> > > 
> > > .
> > > 
> > >  
> > > 
> > > ">http://docs.yahoo.com/info/terms/ 
> > > 
> > > 
> > >


There are many ways to do this. It really depends on how often you want 
to change the variables, and how much spare memory you have. If you 
change them frequently, like at least once a day I would use the what I 
call the creep method. IF you update them less frequently you can use a 
variation of this. The creep method works like this:-

Allocate 1 segment per variable. In your software store the default 
value for each variable in a table. Since the flash of the 149 is all 
erased when you first program it  you can store these at the start of 
their segment.  When you need to change a variable you simply write to 
the next free (contents = -1) location. To overcome the problem of 
writing a -1 use a pre-or postfix value in the next location. At start 
up you simply scan each segment to retrieve the latest value. If the 
segment is full erase it and start over again. The second method 
allocates one segment for all variables and when one changes the entire 
block is written to the next available block of free memory. Remember 
that the MSP flash can be sequentially written, so an erased segment can 
be written one byte ata  time at any time. In fact you could even write 
1 bit at a time.

The Atmel data flash is SPI, so are flash parts fro ST, Microchip and 
many others.

deepak wrote:

> Hi,
>    Thanks for your help In fact I was looking fo EEPROM with an SPI 
> interface as MSP has an SPI module.
>    For storing data in the flash a complete segment has to be emoved 
> how do you tackle this.I want to store some process variables which 
> maybe altered one at a time.
>     how do you tackle this problem of altering one or two variables 
> without deleting the complete flash segment.
> 
> Deepak
> 
> 
> --- In msp430@msp4..., onestone <onestone@b...> wrote:
> 
>>Hi Deepak. You can easily attach an external serial memory to the 
>>MSP430. I do it all the time. You can use IIC, or SPI. Memory sizes 
>>range from 1k bits to 64Mbits. The 64Mbit version has a parallel 
> 
> port 
> 
>>option.
>>
>>However, since the MSP430 is flashed based, and is able to write to 
> 
> its 
> 
>>own flash memory, using it as a data store. If you only need a 
> 
> lowish 
> 
>>amount of data storage you can use the built in flash. I do this 
> 
> for 
> 
>>data logging all the time.
>>
>>tell us a little bit more about your applicati0on and we'll be able

> 
> to 
> 
>>help you further.
>>
>>Al
>>
>>deepak wrote:
>>
>>
>>>Hi,
>>>  I am looking for a 16 bit flash mcu with JTAG support and an 
> 
> eeprom 
> 
>>>for non volatile data.
>>>   I want to now whether an external EEPROM can be interfaced 
> 
> with 
> 
>>>MSP430f149.
>>>   Please help
>>>
>>>regards
>>>Deepak Kukreja
>>>
>>>
>>>
>>>
>>>.
>>>
>>> 
>>>
>>>">http://docs.yahoo.com/info/terms/ 
> 
>>>
>>>
> 
> 
> 
> .
> 
>  
> 
> ">http://docs.yahoo.com/info/terms/ 
> 
> 
> 


Dear onestone 
i want to know whether msp430f169 released or not. but i don't think it has
released. i did not find development tool cost/ chip cost details from website.
please clarrify my doubt
 
Venkat

mjruley <mjriley@mjri...> wrote:
We use the AT25256 EEPROM part with the SPI interface. This is 32Kx8. 
The MSP430F169 which is sampling now has an I2C option on one of the 
uart ports.
--- In msp430@msp4..., "deepak" <kuldeepakasha@y...> wrote:
> Hi,
>    Thanks for your help In fact I was looking fo EEPROM with an SPI 
> interface as MSP has an SPI module.
>    For storing data in the flash a complete segment has to be 
emoved 
> how do you tackle this.I want to store some
process variables which 
> maybe altered one at a time.
>     how do you tackle this problem of altering one or two variables 
> without deleting the complete flash segment.
> 
> Deepak
> 
> 
> --- In msp430@msp4..., onestone <onestone@b...> wrote:
> > Hi Deepak. You can easily attach an external serial memory to the 
> > MSP430. I do it all the time. You can use IIC, or SPI. Memory 
sizes 
> > range from 1k bits to 64Mbits. The 64Mbit
version has a parallel 
> port 
> > option.
> > 
> > However, since the MSP430 is flashed based, and is able to write 
to 
> its 
> > own flash memory, using it as a data store. If you only need a 
> lowish 
> > amount of data storage you can use the built in flash. I do this 
> for 
> > data logging all the time.
> > 
> > tell us a little bit more about your applicati0on and we'll be 
able 
> to 
> > help you further.
> > 
> > Al
> > 
> > deepak wrote:
> > 
> > > Hi,
> > >   I am looking for a 16 bit flash mcu with JTAG support and an 
> eeprom 
> > > for non volatile data.
> > >    I want to now whether an external EEPROM can be interfaced 
> with 
> > > MSP430f149.
> > >    Please help
> > > 
> > > regards
> > > Deepak Kukreja
> > > 
> > > 
> > > 
> > > 
> > > .
> > > 
> > >  
> > > 
> > > ">http://docs.yahoo.com/info/terms/ 
> > > 
> > > 
> > >




.



 

m Ti or not. but i diid n

Win TVs, Bikes, DVD players and more!Click onYahoo! India Promos





The 2024 Embedded Online Conference