ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

WORKING WITH A LITTLE EE

Lessons from the Trenchesby George Martin

StartThe BasicsGetting the Routine DownDebugging Your Reads and WritesSources and PDF

Last month, I promised that I'd look at how to chart with this data-logger program, but I ran into some problems. I thought I could use Microsoft's Chart command, but I got nowhere and Microsoft offered little (no) help. I started looking for other shareware charting stuff, but I haven't had any luck there yet either. And, I didn't want to just write about my troubles, so I switched gears.

Have you ever been asked to design an embedded system that needed to remember some data or settings even after the power cycles off? How about saving calibration constants or system configuration?

If you've ever faced these or similar system requirements, you've probably considered electrically erasable (EE) memory. Certainly, a disk or battery-backed-up SRAM would do the job, but not every system is equipped with those devices.

EE memory is expensive on a per bit basis (you find 32-Kb devices for less than $2 in low volume) as compared to other memory devices and technologies. But you typically aren't storing large amounts of data in this memory. Some CPU devices now come with their own EE memory.

In this article, I'd like to present the overall picture of how you can add an external EE memory device to your design. I'll show you how to interface the device, along with the software, to support system requirements.

Let's start with the hardware interfacing details. I'll present the most involved design approach. If your hardware offers more support, you can simplify what I describe by using the delete key. I'm using Microchip's 24C32P. Figure 1 shows you the pinout for this 8-pin integrated circuit.

Figure 1—The Microchip 24C32P offers electrically erasable memory. Each chip contains three address lines that can be uniquely identified through values included in the address.

NEXT


Circuit Cellar provides up-to-date information for engineers. Visit www.circuitcellar.com for more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com or subscribe online. ęCircuit Cellar, the Magazine for Computer Applications. Posted with permission.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ