This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F2272: Determining required memory on MSP430F2272

Part Number: MSP430F2272

Hi!

I'm interfacing my MSP430F2772 micro-controller with the following devices:

Component Resolution
Temperature sensor 14-bit
Magnometer + Accelometre 14-bit
Pressure sensor 24-bit
RTC Below

And a time stamp which consists of day/month/year hour/minute/second they are all in different registers  (8-bit) from RTC chip (RV-8803-C7) so I'm assuming that the total resolution to save this is then 6 byte.

Is this assumption correct?

My main question is that I have a flash memory with size of 64 Mbit (AT45DB641E).

How many samples of these sensors can I store on this memory? 

I'm calculating like this (64*10^6/)(14+14+24+6*8)= 640k samples

Is this a correct assumption that I can save so many samples in the memory? 

  • what you have right now is exactly 100 bits per sample.
    you might find it much easier to use 104 bits per sample; use 16 bits instead of 14 for mag/acc and temp data.
    this doesnt cost you much and lets you use a reasonable record layout; you'll have an exact multiple of 8 bits for each field, and hence 13 bytes total for each record. net result: 8 Mbytes of flash space will allow for over 645000 records.

**Attention** This is a public forum