Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Datasheet/Parts Requests


Datasheet/Parts Requests Request a datasheet or enquire about part equivalents and/or difficult-to-find parts here.

Reply
 
Tools
Old 17th March 2008, 11:39 AM   #31
Default

Quote:
Originally Posted by ericgibbs
hi,
If you used a 8255 PIO to connect to the 6116 SRAM, you would do the following write/read sequence.

Change the PIO's portA to output.
Set the PIO's portA to say the 8 bit data you want to write to the SRAM.
Then set the PIO's portB and portC[low nibble] to the the address [location] in the SRAM where you want the data on portA to be written.
Then set the SRAM WR and CS low and high,[using portC[high nibble] this will write the data to the addressed SRAM location.

For reading the SRAM,
Change the PIO's portA to input.
Then set the PIO's portB and portC[low] to the the address [location] in the SRAM where you want the data on portA to be read from
Then set the SRAM CS low and high, this will place the data of the addressed SRAM location onto the portA, which the program then reads.

As you can see, the write/read cycle is much longer than the 'clock' rate.

It would help if you could post a block diagram of your project.
Yes that would help a lot, I am looking for a schematic of the 8255, but it appears (from a websites description) sounds like a easy process.

Aussieproof: Yes that would also help out a lot, I PM ed you
__________________
IF YOU WANT TO HELP FINE IF NOT PLEASE DON"T PEE IN MY CHEERO'S
Krumlink is offline  
Old 17th March 2008, 03:19 PM   #32
Default

I have the datasheets for 8255 and the 6116, so it is easier to understand what you are talking about (eric). I am wondering though how I would put the SRAM in standby mode, aka hold the data (since it's static ram). What's the minimal amout of power can I feed it just so it hold's its data? The power to everything else will be off. I still want to feed it the 5V line when the entire computer turns on.

So I was thinking cannabalizing some of my 4.8V batteries (taking the plastic thing off) and making a 9.6V battery pack, that way I can put it parallel to the 12V line, so it charges the battery through a current limiting resistor, then the battery goes through a 5V regulator that will only be switched on when I am about to turn off the computer. Here's what Im thinking of in a paint schematic pain stakingly drawn
Attached Thumbnails
Hitachi HM6116ZP-4 CMOS RAM Datasheet-thebestpaintpikchur.gif  
__________________
IF YOU WANT TO HELP FINE IF NOT PLEASE DON"T PEE IN MY CHEERO'S
Krumlink is offline  
Old 17th March 2008, 03:58 PM   #33
Default

hi,
Can you get the LA version of the 6116. It is designed for data retention down to 2V with standby currents of less than 10mA.???

There are also non volatile Rams, with inbuilt battery and auto switchover at power down/up. Ref the Dallas range of ic's.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 17th March 2008, 09:17 PM   #34
Default

Quote:
Originally Posted by ericgibbs
hi,
Can you get the LA version of the 6116. It is designed for data retention down to 2V with standby currents of less than 10mA.???

There are also non volatile Rams, with inbuilt battery and auto switchover at power down/up. Ref the Dallas range of ic's.
I will see if aussie has the LA series, but I want to stick to the 6116
__________________
IF YOU WANT TO HELP FINE IF NOT PLEASE DON"T PEE IN MY CHEERO'S
Krumlink is offline  
Old 18th March 2008, 06:05 AM   #35
Default

You should be able to back the data up in a 6116LA for several years with a pair of AAA batteries because the chip typically draws VERY little current (typ 2uA) in standby mode.
__________________
Inside every little problem, is a big problem trying to get out.
kchriste is online now  
Old 18th March 2008, 11:17 AM   #36
Default

Quote:
Originally Posted by kchriste
You should be able to back the data up in a 6116LA for several years with a pair of AAA batteries because the chip typically draws VERY little current (typ 2uA) in standby mode.
I would check what's still in mine, but they haven't been powered for 20 years or so, and the backup was a NICAD, which don't last very long

It's in a Microtan65 system, plugged in the backplane, and can be page selected in place of the normal expansion RAM - so you could load programs off tape into the 6116's, then just run them from there, and they were still there the next time you powered up. I actually bought the 6116 board as a kit from the guy who designed and sold them, I can't remember where he lived now, but it wasn't too far away, and I fetched it from his house.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 19th March 2008, 03:15 AM   #37
Default

Ok, after reading what eric posted I am still having problems understanding what he is saying.

Quote:
Change the PIO's portA to output.
Set the PIO's portA to say the 8 bit data you want to write to the SRAM.
Then set the PIO's portB and portC[low nibble] to the the address [location] in the SRAM where you want the data on portA to be written.
Then set the SRAM WR and CS low and high,[using portC[high nibble] this will write the data to the addressed SRAM location.

For reading the SRAM,
Change the PIO's portA to input.
Then set the PIO's portB and portC[low] to the the address [location] in the SRAM where you want the data on portA to be read from
Then set the SRAM CS low and high, this will place the data of the addressed SRAM location onto the portA, which the program then reads.

As you can see, the write/read cycle is much longer than the 'clock' rate.

It would help if you could post a block diagram of your project.
__________________
IF YOU WANT TO HELP FINE IF NOT PLEASE DON"T PEE IN MY CHEERO'S
Krumlink is offline  
Old 19th March 2008, 04:02 AM   #38
Default

Krumlink,
You'll have more fun with a bunch of LEDs and toggle switches connected to your RAM chip than playing around with 8255s or PIO chips. The 8255 or PIO is only "helpful" if you want to control the RAM chip from a micro controller and would be a hindrance to your relay based CPU in my opinion.
Nigel,
I checked my old Z80 project which I built in 1989. I think I have changed the batteries once or twice and the RAM data is still valid today! I'm powering two 6116's with a pair of AAA batteries:
Attached Thumbnails
Hitachi HM6116ZP-4 CMOS RAM Datasheet-z80-project.jpg  
__________________
Inside every little problem, is a big problem trying to get out.
kchriste is online now  
Old 19th March 2008, 04:18 AM   #39
Default

kchriste,

Prepare to be bombarded with questions and schematic requests from Mark256.

Mike.
Pommie is online now  
Old 19th March 2008, 04:38 AM   #40
Default

I think I already provided him with diagram snippets of it a few years ago. I think Marks256 is over the Z80, but Krumlink appears to be on the way to Z80 land. But first he must pass through relay hell and fight the Back EMF wizard with his trusty diode!
__________________
Inside every little problem, is a big problem trying to get out.
kchriste is online now  
Old 19th March 2008, 05:07 AM   #41
Default

Nice work on the Z80.
Is the keyboard made of paper?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 19th March 2008, 05:38 AM   #42
Default

Thanks, it was my final year project at BCIT. Yes, the part you see is a piece of tape covered paper. The actual keyboard was one scavenged from an old calculator; the kind with metal popples on a PCB. I drew my custom buttons on a piece of paper with colored pens, covered it with clear tape for durability, and glued it on top of the popple PCB. The display was robbed from the same calculator.
__________________
Inside every little problem, is a big problem trying to get out.
kchriste is online now  
Old 19th March 2008, 10:19 AM   #43
Default

Quote:
Originally Posted by kchriste
Nigel,
I checked my old Z80 project which I built in 1989. I think I have changed the batteries once or twice and the RAM data is still valid today! I'm powering two 6116's with a pair of AAA batteries:
As far as I remember, mine used a NICAD, and the life of those is VERY limited! - I'll try and dig it out and post a picture
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 19th March 2008, 01:36 PM   #44
Default

So this is what I think:
1. Data input into the I/O lines.
2. Switch Addresses with the Address inputs with Binary, aka address line 1 in 000 0000 0001 and 37 in 000 0010 0101 correct?
3. All this will be configured with the Write enable and the Read enable stuff, which is easy. I believe I gotz it correct?

(Then to keep the chip alive I enable CS (Chip select) and GND, or so I think?
__________________
IF YOU WANT TO HELP FINE IF NOT PLEASE DON"T PEE IN MY CHEERO'S
Krumlink is offline  
Old 20th March 2008, 03:13 AM   #45
Default

Yes.
Set your address lines.
Put the data you want to load on the IO lines.
Make CS low. ( WR and OE are already high )
Make WR low and then high again.
The data is now stored at one address location.

To read the data back:
Set your address lines the same as above.
Make CS low. ( WR and OE are high )
Make OE low.
The data is now being outputted on the IO pins.
Make CS and OE high again and the chip is asleep with the data still valid inside it and the IO pins are disabled.
Note: The IO pins are typically connected to the data buss of a CPU. They are inputs when WR & CS are low and are outputs when OE & CS are low. They do nothing when CS is high and the RAM is asleep.
__________________
Inside every little problem, is a big problem trying to get out.

Last edited by kchriste; 20th March 2008 at 03:22 AM.
kchriste is online now  
Reply

Tags
cmos, datasheet, hitachi, hm6116zp4, ram

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Datasheet needed for Hitachi LCD Cymon Sez Datasheet/Parts Requests 3 26th September 2006 06:52 PM
Logic Family characteristics Styx General Electronics Chat 5 6th July 2005 08:01 AM
static rams,xilinx,rockwell, and other components for sale spencer Datasheet/Parts Requests 6 21st August 2003 07:36 AM



All times are GMT. The time now is 01:44 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker