Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Microcontroller MSP430 as counter for on/off switch

Status
Not open for further replies.

tiger200099

Newbie level 5
Joined
Mar 8, 2013
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,336
hi everyone, i am new in microcontroller anyone can give me the idea to prorgam MSP430

the MSP430 is Off stat ( no power) but when it is On count the On stat and diplay on LCD. the MSP430 save the counter stat and not

lose it. the MSP430 work with vibration for powering the microcontroller.

thanks for help
 

doraemon

Super Moderator
Staff member
Joined
Jun 21, 2009
Messages
1,068
Helped
273
Reputation
554
Reaction score
248
Trophy points
1,343
Location
Japan
Activity points
10,597
Hello!

You have to write into the internal flash if you want some persistent data.
TI publishes some source code that does exactly what you need.
What device are you using?
Addendum: By the way, this will depend on how many times you write to
the flash. The flash itself is limited to a certain amount of write operations.
I think 100.000 times. If you need only a few bytes, you can do a trick
by changing the write location at each write and it will improve the life
of the chip, but in some cases, it might be still not good enough.

Another solution is to use the recent FRAM based chips
with the folllowing advantages:
- You can write (if I remember correctly) on a byte unit (vs block unit for flash)
- The power needed is a lot lower than for flash, which might make sense for your application
- Write operation is extremely fast (same as above, since your app is low power, writing fast
will consume less).
- No practical write limitation. I don't even remember the number of times the FRAM
can be written, wait, I'll check... TI says it can be written 10^15 times, which is 10
billion times more than FLASH.

That's it!

Dora.
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top