EDN Access

 

October 9, 1997


Simple circuit "feeds" CMOS devices

Luis H Loss, Iochpe-Maxion, Porto Alegre, RS, Brazil

To retain the data of CMOS devices, such as real-time clocks or setup RAM, you need to provide power to these devices while the rest of the circuit is off. The conventional solution uses a CMOS switch, such as the CD4066 or equivalent, to deliver 5V to the positive terminal and simultaneously keep the device's RD, WR, and CS pins at logic one (inactive) to guarantee data integrity and low current consumption (Figure 1).

An alternative circuit does away with the CMOS switch by floating the VSS pin instead of VDD using a transistor, a resistor, a diode, and the battery itself (Figure 2a). The RD, WR, and CS lines follow the VDD level. VDD goes to 0V at power-off but is still a logic one with respect to VSS (Figure 2b). Changing the value of the resistor adjusts the 3.6V NiCd battery's charging current.

The application created for this circuit keeps data in 128k bytes of RAM valid for a year, turning on and off every day and never losing data. (DI #2099)


Figure 1
21d20991
The conventional method to retain data in a CMOS device uses a CMOS switch to supply 5V to VDD and pull up the RD, WR, and CS lines to an inactive-high level.
Figure 2
21D20992
Instead of using a CMOS switch, this circuit protects data using a transistor, resistor, and diode to float the VSS pin (a). VDD goes to 0V but is still a logic one with respect to VSS (b).

| EDN Access | Feedback | Table of Contents |


Copyright © 1997 EDN Magazine, EDN Access. EDN is a registered trademark of Reed Properties Inc, used under license. EDN is published by Cahners Publishing Company, a unit of Reed Elsevier Inc.